Set default highlighting style for filetype None to get it also inverted if invert_all is set.
Reset all previously defined styles when switching filetype to None. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1378 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
9fff34a460
commit
b88cd0a597
@ -7,6 +7,11 @@
|
||||
and unreachable code).
|
||||
* src/sci_cb.c: Auto completion of multi line comments is now (again)
|
||||
configurable with the auto complete constructs option.
|
||||
* src/highlighting.c:
|
||||
Set default highlighting style for filetype None to get it also
|
||||
inverted if invert_all is set.
|
||||
Reset all previously defined styles when switching filetype to None.
|
||||
|
||||
|
||||
|
||||
2007-03-09 Nick Treleaven <nick.treleaven@btinternet.com>
|
||||
|
@ -1976,6 +1976,11 @@ void styleset_none(ScintillaObject *sci)
|
||||
SSM (sci, SCI_SETLEXER, SCLEX_NULL, 0);
|
||||
|
||||
SSM(sci, SCI_SETWORDCHARS, 0, (sptr_t) common_style_set.wordchars);
|
||||
|
||||
SSM(sci, SCI_STYLESETFORE, STYLE_DEFAULT, invert(0x000000));
|
||||
SSM(sci, SCI_STYLESETBACK, STYLE_DEFAULT, invert(0xffffff));
|
||||
|
||||
SSM(sci, SCI_STYLECLEARALL, 0, 0);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user