SF.net SVN: geany:[5700] trunk
colombanw at users.sourceforge.net
colombanw at xxxxx
Fri Apr 8 01:35:59 UTC 2011
Revision: 5700
http://geany.svn.sourceforge.net/geany/?rev=5700&view=rev
Author: colombanw
Date: 2011-04-08 01:35:58 +0000 (Fri, 08 Apr 2011)
Log Message:
-----------
Don't set font twice for line numbers and braces
No need to set the font for some specific styles that are set up anyway
when we set the font for all styles from 0 to STYLE_MAX.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/editor.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2011-04-08 00:14:06 UTC (rev 5699)
+++ trunk/ChangeLog 2011-04-08 01:35:58 UTC (rev 5700)
@@ -10,6 +10,8 @@
Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes.
* data/filetypes.Genie.conf:
Copy C styling rather than redefining the styles.
+ * src/editor.c:
+ Don't set font twice for line numbers and braces.
2011-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c 2011-04-08 00:14:06 UTC (rev 5699)
+++ trunk/src/editor.c 2011-04-08 01:35:58 UTC (rev 5700)
@@ -4481,10 +4481,6 @@
for (style = 0; style <= STYLE_MAX; style++)
sci_set_font(editor->sci, style, font_name, size);
- /* line number and braces */
- sci_set_font(editor->sci, STYLE_LINENUMBER, font_name, size);
- sci_set_font(editor->sci, STYLE_BRACELIGHT, font_name, size);
- sci_set_font(editor->sci, STYLE_BRACEBAD, font_name, size);
g_free(font_name);
/* zoom to 100% to prevent confusion */
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