IDE, SourceEditor: prevent automatic identifier completion while editor-macros are recorded/playing. The macro would not wait for the timer, and the macro would not know the order of completion proposals.

git-svn-id: trunk@63323 -
This commit is contained in:
martin 2020-06-07 12:48:09 +00:00
parent 79ba6dbb06
commit 47408c4bff

View File

@ -4002,7 +4002,8 @@ begin
end
else
if CodeToolsOpts.IdentComplAutoInvokeOnType and
( IsIdent or (AChar='.') )
( IsIdent or (AChar='.') ) and
(ActiveEditorMacro = nil)
then begin
// store caret position to detect caret changes // add the char
p := FEditor.LogicalCaretXY;
@ -4041,7 +4042,7 @@ begin
end
else
if CodeToolsOpts.IdentComplAutoStartAfterPoint and
(AChar='.')
(AChar='.') and (ActiveEditorMacro = nil)
then begin
// store caret position to detect caret changes // add the char
SourceCompletionCaretXY:=FEditor.LogicalCaretXY;