jacobslusser / ScintillaNET

A Windows Forms control, wrapper, and bindings for the Scintilla text editor.
MIT License
964 stars 242 forks source link

Is there any way to highlight BETWEEN characters? #529

Open dspwhite opened 1 year ago

dspwhite commented 1 year ago

I can highlight individual characters using myScintillaBox.IndicatorFillRange(start, length);, but is there a way to highlight in between two characters - just with an approx 2 pixel width highlight? I'm creating an ultra sugary Regex wrapper program, and I'd love to highlight the zero-width matches it finds.

A related issue is to highlight carriage returns, again with a very narrow highlight.