Hi Neil!
Thanks for Scintilla!
We're using annotations to display compile error messages inline, and since we want the messages indented we use ANNOTATION_BOXED. In some cases the box outline is drawn over parts of the text. See attached image where underscores in Courier New are effectively erased. (This is on windows, Scintilla 3.5.1, using GDI)
I don't think this a bug - where else would you draw the box. Instead I suggest an ANNOTATION_INDENTED display style which roughly does not do the line drawing at the end of EditView::DrawAnnotation.
What do you think? Is it worth the trouble? I don't mind doing a draft implementation.
Best,
Erik
While it would be an OK addition, you could just choose a font that doesn't place underscores so low such as Lucida Sans Unicode.
Yes, Courier New won't be our default font :) Anyhow, here is a patch.
Committed as [523ab7].
Related
Commit: [523ab7]