mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Set caret colour to foreground colour in scintilla
This commit is contained in:
@@ -255,6 +255,8 @@ void ConfigureSyntax(ScintillaEdit *scintilla, int language)
|
||||
scintilla->styleSetBack(STYLE_DEFAULT, SC_COL(base));
|
||||
scintilla->styleSetFore(STYLE_DEFAULT, SC_COL(text));
|
||||
|
||||
scintilla->setCaretFore(SC_COL(text));
|
||||
|
||||
// default all lexer styles up to STYLE_DEFAULT as the same, then override per-colour below
|
||||
for(sptr_t i = 0; i < STYLE_DEFAULT; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user