[Lazarus] RFC : "Resolved View"

Martin Frb lazarus at mfriebe.de
Fri Feb 12 02:41:22 CET 2016


On 11/02/2016 23:54, Michael Van Canneyt wrote:
>
>
> By this I mean a view of a unit as the compiler will see it:
> - Correct include files included

This has been long on the list. But still no in the doing.

Ignoring:
- any high/low-light or other markup to indicate the fact that the text 
comes from a different file
- probably also ignoring line numbering

this should actually be relatively easy.

There are already "views" wrapped around the textbuffer. All that it 
needs is to wrap another view around it, that combines 2 real textbuffers.

This could even be editable. Except it needs to prevent joining lines 
accross file bound.

There is work on the IDE side (outside SynEdit) to ensure it knows the 
file is open. Could be resolved by pretending it is open in its own 
editor (which is simply hidden)

> - IFDefs properly resolved. 
lowlight exists.

Actual hiding is more work, because it needs to shift x positions in 
some line. Probably needs big changes. Though readonly may be doable.





More information about the Lazarus mailing list