Make backspace unindent when using spaces for indentation.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1517 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2007-05-09 11:23:50 +00:00
parent 2e9935303c
commit 76f03b068b
2 changed files with 9 additions and 0 deletions

View File

@ -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:

View File

@ -197,7 +197,10 @@ void document_apply_update_prefs(gint idx)
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);