IDE, SourceEditor: implemented identifier-completion activates on typing. Forget to test for cancelled

git-svn-id: trunk@63316 -
This commit is contained in:
martin 2020-06-06 15:43:43 +00:00
parent 83ca8802cc
commit 000ea7c493

View File

@ -4008,7 +4008,8 @@ begin
inc(SourceCompletionCaretXY.x,length(AChar));
AttrName := GetCodeAttributeName(p);
ok := (FEditor.MultiCaret.CaretsCount = 0) and
ok := (FCodeCompletionState.State <> ccsCancelled) and
(FEditor.MultiCaret.CaretsCount = 0) and
(AttrName <> SYNS_XML_AttrComment) and
(AttrName <> SYNS_XML_AttrDirective) and
(AttrName <> SYNS_XML_AttrString);