Fix removing indent spaces after switching back to tab indenting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1531 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
cc3d26df71
commit
f8eddeb70a
@ -3,6 +3,8 @@
|
|||||||
* src/filetypes.c, src/filetypes.h:
|
* src/filetypes.c, src/filetypes.h:
|
||||||
Add some menu separators to group filetype menu items.
|
Add some menu separators to group filetype menu items.
|
||||||
Reorder Haskell, O-Matrix, VHDL filetypes.
|
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@btinternet.com>
|
2007-05-12 Nick Treleaven <nick.treleaven@btinternet.com>
|
||||||
|
@ -199,8 +199,8 @@ void document_apply_update_prefs(gint idx)
|
|||||||
sci_set_tab_width(sci, app->pref_editor_tab_width);
|
sci_set_tab_width(sci, app->pref_editor_tab_width);
|
||||||
|
|
||||||
sci_set_use_tabs(sci, app->pref_editor_use_tabs);
|
sci_set_use_tabs(sci, app->pref_editor_use_tabs);
|
||||||
if (! app->pref_editor_use_tabs)
|
// remove indent spaces on backspace, if using spaces to indent
|
||||||
SSM(sci, SCI_SETBACKSPACEUNINDENTS, TRUE, 0); // remove indent spaces on backspace
|
SSM(sci, SCI_SETBACKSPACEUNINDENTS, ! app->pref_editor_use_tabs, 0);
|
||||||
|
|
||||||
sci_set_autoc_max_height(sci, app->autocompletion_max_height);
|
sci_set_autoc_max_height(sci, app->autocompletion_max_height);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user