Neil:
> Looked through your posting history and it appears you are using wxStyledTextCtrl instead of the native implementation. wxWidgets may not have implementations for translucency or may differ in the way the alpha value is interpreted: possibly making it less visible.
I indeed use wxSTC, but the interesting thing is that I can get the colors (including transparency) to work just find as long as I don't turn the buffering off.
I'm attaching three snapshots that show how it looks:
1. The first snapshot (-default) is taken when the app just starts. I disabled any explicit setting of BufferedDraw and
GetBufferedDraw reports "true", so it seems to be on. everything works/looks correctly.
2. The second snapshot is after I run SetBufferedDraw(false) (-false). Nothing is visibly changed, but if I move the cursor to those lines that have ROUNDBOX indicators, those indicators disappear. They don't reappear in any subsequent redrawing. As you can see, other indicators are still on and not affected.
3. The third snapshot is after I run SetBufferedDraw(true) (-true). Again, after the screen is refreshed, everything is back to normal.
Couple of other things. I don't see the fragment you references in the Scintilla version I have. It turned out to be 3.2.1 and the fragment that sets bufferedDraw looks like this:
case SCI_SETBUFFEREDDRAW:
bufferedDraw = wParam != 0;
break;
This is in Editor.cxx; or do I look in the wrong place?
The other thing is that the text looks a bit crispier with BufferedDraw set to false, even though I'm using a regular (not Retina) screen.
In any case, -default and -true screenshots show that there is no issue with displaying indicators with alpha properties. And yet when BufferedDraw is false, all indicators that have any alpha property disappear (whether it's ROUNDBOX or AdditionalSelection). This doesn't seem to be wxwidgets/wxSTC specific issue (at least as far as I can tell). Thank you for looking into this.
Paul.