mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 09:56:12 +02:00
codetools: identifier completion: ilcfNeedsDo check for in middle of statement
git-svn-id: trunk@36992 -
This commit is contained in:
parent
15f4afc429
commit
0f2bb9b9f9
@ -2367,8 +2367,12 @@ begin
|
||||
end;
|
||||
end;
|
||||
if CurrentIdentifierList.StartUpAtomInFrontIs('WITH')
|
||||
and (CurrentIdentifierList.StartAtomBehind.Flag<>cafComma)
|
||||
and (not CurrentIdentifierList.StartUpAtomBehindIs('DO')) then
|
||||
and (not CurrentIdentifierList.StartUpAtomBehindIs('DO'))
|
||||
and (CurrentIdentifierList.StartBracketLvl=0)
|
||||
and (not (CurrentIdentifierList.StartAtomBehind.Flag in
|
||||
[cafComma,cafPoint,cafRoundBracketOpen,cafEdgedBracketOpen]))
|
||||
and (not CurrentIdentifierList.StartUpAtomBehindIs('^'))
|
||||
then
|
||||
CurrentIdentifierList.ContextFlags:=
|
||||
CurrentIdentifierList.ContextFlags+[ilcfNeedsDo];
|
||||
end else begin
|
||||
|
Loading…
Reference in New Issue
Block a user