1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-29 09:20:38 +00:00

Fix Shift-TAB to decrease block indent on OS X.

In Linux, the option remains available only through Edit or contextual menu (right click).
This commit is contained in:
FellippeHeitor 2016-01-14 14:59:42 -02:00
parent e2a202084a
commit d684b6cf05

View file

@ -3058,10 +3058,10 @@ DO
IF block_chr(ASC(K$)) THEN GOTO specialchar
ideforceinput:
IF K$ = CHR$(9) THEN
IF K$ = CHR$(9) OR (K$ = CHR$(25) AND INSTR(_OS$, "MAC") > 0) THEN
IF ideselect AND ideautoindent = 0 THEN
'Block indentation code copied/adapted from block comment/uncomment:
IF KSHIFT THEN
IF KSHIFT OR K$ = CHR$(25) THEN
IdeBlockDecreaseIndent:
BlockIndentLevel = 4
IF ideautoindentsize <> 0 THEN BlockIndentLevel = ideautoindentsize