SF.net SVN: geany: [1392] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Tue Mar 13 17:39:10 UTC 2007
Revision: 1392
http://svn.sourceforge.net/geany/?rev=1392&view=rev
Author: eht16
Date: 2007-03-13 10:39:09 -0700 (Tue, 13 Mar 2007)
Log Message:
-----------
Init the default styles before first usage.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/highlighting.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-03-13 17:08:13 UTC (rev 1391)
+++ trunk/ChangeLog 2007-03-13 17:39:09 UTC (rev 1392)
@@ -1,6 +1,7 @@
2007-03-13 Enrico Tröger <enrico.troeger at 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 at btinternet.com>
Modified: trunk/src/highlighting.c
===================================================================
--- trunk/src/highlighting.c 2007-03-13 17:08:13 UTC (rev 1391)
+++ trunk/src/highlighting.c 2007-03-13 17:39:09 UTC (rev 1392)
@@ -1977,6 +1977,9 @@
{
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list