Re: Setting background colour of the Line Number margin
Andrew Truckle <[email protected]>
| Newsgroups | gmane.comp.lib.scintilla.devel |
|---|---|
| Message-ID | <[email protected]> |
I had a look at the Scintilla sources again, so I am now trying this: SetAStyle(static_cast<int>(Scintilla::StylesCommon::LineNumber), RGB(0, 0, 0), RGB(211, 211, 211)); But it still does not work. On Thursday 25 April 2024 at 09:10:44 UTC+1 Andrew Truckle wrote: > Thanks. I can't seem to find the equivalent in the CScintillaCtrl > wrapper. I tried: > > m_edit.SetMarginBackN(0, RGB(0, 255, 0)); > > On Wednesday 24 April 2024 at 23:25:14 UTC+1 Neil Hodgson wrote: > >> AJ: >> >> The line numbers margin is visible, but how do I change the background >> colour to be subtly different to what it is now? At the moment it is the >> same as my dialog background, where the control resides. >> >> >> STYLE_LINENUMBER >> >> Neil >> > -- You received this message because you are subscribed to the Google Groups "scintilla-interest" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/scintilla-interest/44885db7-943b-49bb-87cc-66345eec2f88n%40googlegroups.com.