mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-27 23:03:44 +02:00
IDE: fixed identifier completion not adding semicolon if next char is semicolon, bug #12108
git-svn-id: trunk@16512 -
This commit is contained in:
parent
45553cc34d
commit
8aeaa048e1
@ -419,7 +419,7 @@ begin
|
||||
ValueType:=icvIdentifier;
|
||||
Index:=aCompletion.Position;
|
||||
IdentList:=CodeToolBoss.IdentifierList;
|
||||
CanAddSemicolon:=CodeToolsOpts.IdentComplAddSemicolon;
|
||||
CanAddSemicolon:=CodeToolsOpts.IdentComplAddSemicolon and (AddChar<>';');
|
||||
|
||||
IdentItem:=IdentList.FilteredItems[Index];
|
||||
if IdentItem=nil then exit;
|
||||
|
Loading…
Reference in New Issue
Block a user