Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-core-dev] ICElement line number

> 
> Hi,
> I think the CEditor relies on offsets, which will be provided by the 
> parser. 

It was one example, other modules use the information.
For example, some on the future/current work on the debugger:
- BreakpointValidation, trying to set a breakpoint on non-statement i.e #include
  empty lines .. etc..
- Run/Jump to line, validation.  Run to line should only be enable for
  line whitin the stackframe, outside it is undefine behaviour

> There will be another mechanism to convert from offsets to line numbers 
> for other modules to use. So It will be provided but only when needed and 
> not with every call to parse.

Cool.

> Maybe JohnC could elaborate some more on the effect on performance.
> 

Ok.



Back to the top