mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-19 11:05:14 +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:
parent
e2a202084a
commit
d684b6cf05
|
@ -3058,10 +3058,10 @@ DO
|
||||||
IF block_chr(ASC(K$)) THEN GOTO specialchar
|
IF block_chr(ASC(K$)) THEN GOTO specialchar
|
||||||
ideforceinput:
|
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
|
IF ideselect AND ideautoindent = 0 THEN
|
||||||
'Block indentation code copied/adapted from block comment/uncomment:
|
'Block indentation code copied/adapted from block comment/uncomment:
|
||||||
IF KSHIFT THEN
|
IF KSHIFT OR K$ = CHR$(25) THEN
|
||||||
IdeBlockDecreaseIndent:
|
IdeBlockDecreaseIndent:
|
||||||
BlockIndentLevel = 4
|
BlockIndentLevel = 4
|
||||||
IF ideautoindentsize <> 0 THEN BlockIndentLevel = ideautoindentsize
|
IF ideautoindentsize <> 0 THEN BlockIndentLevel = ideautoindentsize
|
||||||
|
|
Loading…
Reference in a new issue