Revision: 1537
http://svn.sourceforge.net/geany/?rev=1537&view=rev
Author: ntrel
Date: 2007-05-15 09:04:37 -0700 (Tue, 15 May 2007)
Log Message:
-----------
Show fold line by default (so it's clearer there are hidden lines).
Modified Paths:
--------------
trunk/ChangeLog
trunk/data/filetypes.common
trunk/src/highlighting.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-05-15 15:39:26 UTC (rev 1536)
+++ trunk/ChangeLog 2007-05-15 16:04:37 UTC (rev 1537)
@@ -1,3 +1,9 @@
+2007-05-15 Nick Treleaven <nick.treleaven(a)btinternet.com>
+
+ * src/highlighting.c, data/filetypes.common:
+ Show fold line by default (so it's clearer there are hidden lines).
+
+
2007-05-15 Enrico Tröger <enrico.troeger(a)uvena.de>
* scintilla/ScintillaGTK.cxx:
Modified: trunk/data/filetypes.common
===================================================================
--- trunk/data/filetypes.common 2007-05-15 15:39:26 UTC (rev 1536)
+++ trunk/data/filetypes.common 2007-05-15 16:04:37 UTC (rev 1537)
@@ -43,7 +43,7 @@
# 0 to disable
# 1 to draw the line above folded text
# 2 to draw the line below folded text
-folding_horiz_line=0;0;false;false
+folding_horiz_line=2;0;false;false
# only first argument is interpreted, sets whether all defined colours should be inverted
invert_all=0;0;false;false
Modified: trunk/src/highlighting.c
===================================================================
--- trunk/src/highlighting.c 2007-05-15 15:39:26 UTC (rev 1536)
+++ trunk/src/highlighting.c 2007-05-15 16:04:37 UTC (rev 1537)
@@ -394,7 +394,7 @@
0, 0, &tmp_style);
common_style_set.invert_all = tmp_style.foreground;
get_keyfile_int(config, config_home, "styling", "folding_horiz_line",
- 0, 0, &tmp_style);
+ 2, 0, &tmp_style);
common_style_set.folding_style.draw_line = tmp_style.foreground;
get_keyfile_int(config, config_home, "styling", "caret_width",
1, 0, &tmp_style);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
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(a)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.
Revision: 1531
http://svn.sourceforge.net/geany/?rev=1531&view=rev
Author: ntrel
Date: 2007-05-14 06:06:18 -0700 (Mon, 14 May 2007)
Log Message:
-----------
Fix removing indent spaces after switching back to tab indenting.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/document.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-05-14 12:55:55 UTC (rev 1530)
+++ trunk/ChangeLog 2007-05-14 13:06:18 UTC (rev 1531)
@@ -3,6 +3,8 @@
* src/filetypes.c, src/filetypes.h:
Add some menu separators to group filetype menu items.
Reorder Haskell, O-Matrix, VHDL filetypes.
+ * src/document.c:
+ Fix removing indent spaces after switching back to tab indenting.
2007-05-12 Nick Treleaven <nick.treleaven(a)btinternet.com>
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2007-05-14 12:55:55 UTC (rev 1530)
+++ trunk/src/document.c 2007-05-14 13:06:18 UTC (rev 1531)
@@ -199,8 +199,8 @@
sci_set_tab_width(sci, app->pref_editor_tab_width);
sci_set_use_tabs(sci, app->pref_editor_use_tabs);
- if (! app->pref_editor_use_tabs)
- SSM(sci, SCI_SETBACKSPACEUNINDENTS, TRUE, 0); // remove indent spaces on backspace
+ // remove indent spaces on backspace, if using spaces to indent
+ SSM(sci, SCI_SETBACKSPACEUNINDENTS, ! app->pref_editor_use_tabs, 0);
sci_set_autoc_max_height(sci, app->autocompletion_max_height);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.