mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 16:00:16 +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
|
end
|
||||||
else
|
else
|
||||||
if CodeToolsOpts.IdentComplAutoInvokeOnType and
|
if CodeToolsOpts.IdentComplAutoInvokeOnType and
|
||||||
( IsIdent or (AChar='.') )
|
( IsIdent or (AChar='.') ) and
|
||||||
|
(ActiveEditorMacro = nil)
|
||||||
then begin
|
then begin
|
||||||
// store caret position to detect caret changes // add the char
|
// store caret position to detect caret changes // add the char
|
||||||
p := FEditor.LogicalCaretXY;
|
p := FEditor.LogicalCaretXY;
|
||||||
@ -4041,7 +4042,7 @@ begin
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
if CodeToolsOpts.IdentComplAutoStartAfterPoint and
|
if CodeToolsOpts.IdentComplAutoStartAfterPoint and
|
||||||
(AChar='.')
|
(AChar='.') and (ActiveEditorMacro = nil)
|
||||||
then begin
|
then begin
|
||||||
// store caret position to detect caret changes // add the char
|
// store caret position to detect caret changes // add the char
|
||||||
SourceCompletionCaretXY:=FEditor.LogicalCaretXY;
|
SourceCompletionCaretXY:=FEditor.LogicalCaretXY;
|
||||||
|
Loading…
Reference in New Issue
Block a user