Neil Hodgson - 2025-03-28

EOL Annotations were contributed with [#2141] as a simple clone of the Annotation feature.

While its been tried a few times, there is no good high-performance infrastructure for tracking an arbitrary set of positions in Scintilla. SCI_MARKERLINEFROMHANDLE actually scans from line 0 on every call.

You could stick an ID in the annotation text and scan for that with the current API or propose a new API that would store/retrieve/scan for a handle. An extra int in AnnotationHeader is likely OK.

 

Related

Bugs: #2141