Skip to main content

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

> https://bugs.eclipse.org/bugs/show_bug.cgi?id=36379
>  
> hamer@xxxxxxxxxx changed:
>  
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |jcamelon@xxxxxxxxxx
>              Status|NEW                         |RESOLVED
>          Resolution|                            |FIXED
>  
>  
>  
> ------- Additional Comments From hamer@xxxxxxxxxx  2003-08-22 11:01 -------
> It has been decided that line numbers would not be provided by the parser
> while parsing to build CModel Elements for performance reasons.
>  
> Question: Should we remove fStartLine and fEndLine from CElement?
>  


This is quite major.  For example The CEditor uses this for selected elements
it allows to edit only a region,  This is very practical when editing large files.

Also other modules rely on this.

I can not comment on the "performance reasons" did not follow the code.
But see lot of implications of not having this.




Back to the top