Marks in scintilla scrollbar?
Frage
Does it possible to mark search results/breakpoints/bookmarks in scrollbar of scintilla control? Like it done in Google Chrome or JetBrains IDEs.
Lösung
Yes it is possible.
First you have to know which lines to mark. After your search (using scintilla search engine or your own) you can loop call SCI_MARKERADD and pass those lines as arguments + the marker type you want to use.
More info: http://www.scintilla.org/ScintillaDoc.html#SCI_MARKERADD
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow