Paul K:
> I have three margins (line number, symbol, and folds). Whenever I set the background color of the line number margin, it also changes the color of the symbol margin: editor:StyleSetBackground(wxstc.wxSTC_STYLE_LINENUMBER, wx.wxColour(0, 255, 0)). I don't see a separate style for symbol margins.
There is no separate style for symbol margins.
> How do I set different background colors for line number and symbol margins? Am I missing something obvious?
You can choose SC_MARGIN_BACK or SC_MARGIN_FORE to use colours from STYLE_DEFAULT.
Neil