From 94d144206099e4b041a9bbf232e64af1fb5e1605 Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Sun, 17 Jul 2016 17:23:42 -0300 Subject: [PATCH] Expand block indentation with TAB/Shift+TAB. Block indentation is now allowed even with auto-indentation is on. A bit useless at first, as the IDE will override any custom indentation attempt while ideautoindent is on, but at least now TAB doesn't inadvertedly delete selection contents anymore. --- source/ide/ide_methods.bas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index c230e952a..2614ed9e1 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -3277,7 +3277,7 @@ DO ideforceinput: IF K$ = CHR$(9) OR (K$ = CHR$(25) AND INSTR(_OS$, "MAC") > 0) THEN - IF ideselect AND ideautoindent = 0 THEN + IF ideselect THEN 'Block indentation code copied/adapted from block comment/uncomment: IF KSHIFT OR K$ = CHR$(25) THEN IdeBlockDecreaseIndent: