Init the default styles before first usage.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1392 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
fe40f61740
commit
ff25b2770c
@ -1,6 +1,7 @@
|
||||
2007-03-13 Enrico Tröger <enrico.troeger@uvena.de>
|
||||
|
||||
* src/highlighting.c: Fixed wrong margin colours for filetype All/None.
|
||||
* src/highlighting.c: Init the default styles before first usage.
|
||||
|
||||
|
||||
2007-03-13 Nick Treleaven <nick.treleaven@btinternet.com>
|
||||
|
@ -1977,6 +1977,9 @@ void styleset_none(ScintillaObject *sci)
|
||||
{
|
||||
SSM(sci, SCI_SETLEXER, SCLEX_NULL, 0);
|
||||
|
||||
if (style_sets[GEANY_FILETYPES_ALL].styling == NULL)
|
||||
styleset_common_init();
|
||||
|
||||
set_sci_style(sci, STYLE_DEFAULT, GEANY_FILETYPES_ALL, GCS_DEFAULT);
|
||||
|
||||
styleset_common(sci, 5);
|
||||
|
Loading…
x
Reference in New Issue
Block a user