mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 23:19:28 +02:00
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:
parent
79ba6dbb06
commit
47408c4bff
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user