SF.net SVN: geany: [1536] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Tue May 15 15:39:27 UTC 2007
Revision: 1536
http://svn.sourceforge.net/geany/?rev=1536&view=rev
Author: eht16
Date: 2007-05-15 08:39:26 -0700 (Tue, 15 May 2007)
Log Message:
-----------
Applied patch from Michal Kurgan to disable separately use of global white space foreground and background colours (thanks).
Modified Paths:
--------------
trunk/ChangeLog
trunk/data/filetypes.common
trunk/doc/geany.docbook
trunk/src/highlighting.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-05-15 15:16:16 UTC (rev 1535)
+++ trunk/ChangeLog 2007-05-15 15:39:26 UTC (rev 1536)
@@ -9,6 +9,9 @@
src/keybindings.c, src/project.c, src/symbols.c, src/tools.c,
src/ui_utils.c: Added many widget names to different dialogs for use
with custom styles. Menu items still don't work.
+ * data/filetypes.common, doc/geany.docbook, src/highlighting.c:
+ Applied patch from Michal Kurgan to disable separately use of global
+ white space foreground and background colours (thanks).
2007-05-14 Nick Treleaven <nick.treleaven at btinternet.com>
Modified: trunk/data/filetypes.common
===================================================================
--- trunk/data/filetypes.common 2007-05-15 15:16:16 UTC (rev 1535)
+++ trunk/data/filetypes.common 2007-05-15 15:39:26 UTC (rev 1536)
@@ -30,8 +30,9 @@
# set foreground and background colour of indentation guides
indent_guide=0xc0c0c0;0xffffff;false;false
-# the third argument defines whether to use these values or use the default values defined by the filetypes
-white_space=0xc0c0c0;0xffffff;true;false
+# the third argument defines whether to use the foreground colour or use the default value defined by the filetypes
+# the fourth argument defines whether to use the background colour or use the default value defined by the filetypes
+white_space=0xc0c0c0;0xffffff;true;true
# style of folding icons, only first and second arguments are used, valid values are:
# first argument: 1 for boxes, 2 for circles
Modified: trunk/doc/geany.docbook
===================================================================
--- trunk/doc/geany.docbook 2007-05-15 15:16:16 UTC (rev 1535)
+++ trunk/doc/geany.docbook 2007-05-15 15:39:26 UTC (rev 1536)
@@ -2190,10 +2190,12 @@
<entry>The style for colouring the white space if it is shown.
The first both arguments define the foreground and
background colours, the third argument sets whether to use
- the defined colours or to use the colours defined by each
- filetype for the white space.
+ the defined foreground colour or to use the colour
+ defined by each filetype for the white space.
+ The fourth argument defines whether to use the background
+ colour.
</entry>
- <entry>white_space=0xc0c0c0;0xffffff;true;false</entry>
+ <entry>white_space=0xc0c0c0;0xffffff;true;true</entry>
</row>
<row>
<entry>folding_style</entry>
Modified: trunk/src/highlighting.c
===================================================================
--- trunk/src/highlighting.c 2007-05-15 15:16:16 UTC (rev 1535)
+++ trunk/src/highlighting.c 2007-05-15 15:39:26 UTC (rev 1536)
@@ -556,7 +556,7 @@
// bold = common whitespace settings enabled
SSM(sci, SCI_SETWHITESPACEFORE, common_style_set.styling[GCS_WHITE_SPACE].bold,
invert(common_style_set.styling[GCS_WHITE_SPACE].foreground));
- SSM(sci, SCI_SETWHITESPACEBACK, common_style_set.styling[GCS_WHITE_SPACE].bold,
+ SSM(sci, SCI_SETWHITESPACEBACK, common_style_set.styling[GCS_WHITE_SPACE].italic,
invert(common_style_set.styling[GCS_WHITE_SPACE].background));
}
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