1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-29 10:30:36 +00:00

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.
This commit is contained in:
FellippeHeitor 2016-07-17 17:23:42 -03:00
parent 3020b7b631
commit 94d1442060

View file

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