From cda109f74bfd357eb6916cf9fbb61f15268dabc5 Mon Sep 17 00:00:00 2001 From: regs01 Date: Mon, 30 Oct 2023 00:35:36 +0000 Subject: [PATCH] Avoid firing on pure number --- ide/sourceeditor.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ide/sourceeditor.pp b/ide/sourceeditor.pp index 5cd445ed86..ad0635067b 100644 --- a/ide/sourceeditor.pp +++ b/ide/sourceeditor.pp @@ -11656,7 +11656,8 @@ procedure TSourceEditorManager.SourceCompletionTimer(Sender: TObject); Exit; if (CodeAttribute = SYNS_XML_AttrComment) or - (CodeAttribute = SYNS_XML_AttrString) + (CodeAttribute = SYNS_XML_AttrString) or + (CodeAttribute = SYNS_XML_AttrNumber) then Exit;