SF.net SVN: geany: [1517] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Wed May 9 11:23:50 UTC 2007
Revision: 1517
http://svn.sourceforge.net/geany/?rev=1517&view=rev
Author: ntrel
Date: 2007-05-09 04:23:50 -0700 (Wed, 09 May 2007)
Log Message:
-----------
Make backspace unindent when using spaces for indentation.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/document.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-05-08 17:45:54 UTC (rev 1516)
+++ trunk/ChangeLog 2007-05-09 11:23:50 UTC (rev 1517)
@@ -1,3 +1,9 @@
+2007-05-09 Nick Treleaven <nick.treleaven at btinternet.com>
+
+ * src/document.c:
+ Make backspace unindent when using spaces for indentation.
+
+
2007-05-08 Nick Treleaven <nick.treleaven at btinternet.com>
* src/sci_cb.c:
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2007-05-08 17:45:54 UTC (rev 1516)
+++ trunk/src/document.c 2007-05-09 11:23:50 UTC (rev 1517)
@@ -197,7 +197,10 @@
sci_set_mark_long_lines(sci, app->long_line_type, app->long_line_column, app->long_line_color);
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
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.
More information about the Commits
mailing list