SF.net SVN: geany: [1378] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Fri Mar 9 15:38:34 UTC 2007
Revision: 1378
http://svn.sourceforge.net/geany/?rev=1378&view=rev
Author: eht16
Date: 2007-03-09 07:38:31 -0800 (Fri, 09 Mar 2007)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/highlighting.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-03-09 14:06:20 UTC (rev 1377)
+++ trunk/ChangeLog 2007-03-09 15:38:31 UTC (rev 1378)
@@ -7,8 +7,13 @@
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 at btinternet.com>
* src/interface.c, doc/geany.docbook, data/filetypes.*, geany.glade:
Modified: trunk/src/highlighting.c
===================================================================
--- trunk/src/highlighting.c 2007-03-09 14:06:20 UTC (rev 1377)
+++ trunk/src/highlighting.c 2007-03-09 15:38:31 UTC (rev 1378)
@@ -1976,6 +1976,11 @@
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);
}
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