mirror of https://gitlab.com/basile.b/dexed.git
Also prevent brace auto closing with ctrl when invoked directly
This commit is contained in:
parent
ef2ca016ff
commit
32e03e9a9b
|
@ -3458,7 +3458,8 @@ begin
|
||||||
autoClosePair(autoCloseSquareBracket);
|
autoClosePair(autoCloseSquareBracket);
|
||||||
'(': showCallTips(false);
|
'(': showCallTips(false);
|
||||||
')': if fCallTipWin.Visible then decCallTipsLvl;
|
')': if fCallTipWin.Visible then decCallTipsLvl;
|
||||||
'{':
|
'{': if GetKeyShiftState <> [ssShift] then
|
||||||
|
begin
|
||||||
case fAutoCloseCurlyBrace of
|
case fAutoCloseCurlyBrace of
|
||||||
autoCloseAlways:
|
autoCloseAlways:
|
||||||
curlyBraceCloseAndIndent;
|
curlyBraceCloseAndIndent;
|
||||||
|
@ -3473,6 +3474,7 @@ begin
|
||||||
curlyBraceCloseAndIndent;
|
curlyBraceCloseAndIndent;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
if fCompletion.IsActive then
|
if fCompletion.IsActive then
|
||||||
fCompletion.CurrentString:=GetWordAtRowCol(LogicalCaretXY);
|
fCompletion.CurrentString:=GetWordAtRowCol(LogicalCaretXY);
|
||||||
|
|
Loading…
Reference in New Issue