Martin Frb wrote:
You should be able to copy the entire class TSourceLazSynSurfaceManager = class(TLazSynSurfaceManager) (It is in the IDE, but check the svn logs / blame, if no one else but me changed it then consider it lgpl+except)

TopLineCount sets how much space you get on top.

TSourceLazSynSurfaceManager(FPaintArea).ExtraManager.DisplayView

set a source for the text you want to paint. If you do NOT forward to the textbuffer, then it will not come via the highlighter, and be highlightfree. But you can add your own.

Is my understanding of what you're saying correct that there would be dead space to the left of the extra top line stuff if line numbers were displayed (which is what I want)?

I'll take a look at the logs presently to work out what went in when. My older code, relying on stacked synedits, is good for the GTKv1 era.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to