mirror of https://gitlab.com/basile.b/dexed.git
update completions on delete while comp menu opened
This commit is contained in:
parent
d6330ed0e4
commit
b5c8702cbc
|
@ -2765,8 +2765,17 @@ end;
|
||||||
|
|
||||||
procedure TCESynMemo.completionDeleteKey(sender: TObject);
|
procedure TCESynMemo.completionDeleteKey(sender: TObject);
|
||||||
begin
|
begin
|
||||||
if fCompletionMenuAutoClose and (fCompletion.CurrentString.length < 2) then
|
if fCompletionMenuAutoClose then
|
||||||
fCompletion.TheForm.Close;
|
begin
|
||||||
|
if fCompletion.CurrentString.length < 2 then
|
||||||
|
fCompletion.TheForm.Close
|
||||||
|
end
|
||||||
|
else if CaretX > 0 then
|
||||||
|
begin
|
||||||
|
caretX := CaretX - 1;
|
||||||
|
getCompletionList();
|
||||||
|
caretX := CaretX + 1;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCESynMemo.getCompletionList;
|
procedure TCESynMemo.getCompletionList;
|
||||||
|
|
Loading…
Reference in New Issue