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@btinternet.com + + * src/document.c: + Make backspace unindent when using spaces for indentation. + + 2007-05-08 Nick Treleaven nick.treleaven@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.