mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 11:19:31 +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;
|
||||||
end;
|
end;
|
||||||
if CurrentIdentifierList.StartUpAtomInFrontIs('WITH')
|
if CurrentIdentifierList.StartUpAtomInFrontIs('WITH')
|
||||||
and (CurrentIdentifierList.StartAtomBehind.Flag<>cafComma)
|
and (not CurrentIdentifierList.StartUpAtomBehindIs('DO'))
|
||||||
and (not CurrentIdentifierList.StartUpAtomBehindIs('DO')) then
|
and (CurrentIdentifierList.StartBracketLvl=0)
|
||||||
|
and (not (CurrentIdentifierList.StartAtomBehind.Flag in
|
||||||
|
[cafComma,cafPoint,cafRoundBracketOpen,cafEdgedBracketOpen]))
|
||||||
|
and (not CurrentIdentifierList.StartUpAtomBehindIs('^'))
|
||||||
|
then
|
||||||
CurrentIdentifierList.ContextFlags:=
|
CurrentIdentifierList.ContextFlags:=
|
||||||
CurrentIdentifierList.ContextFlags+[ilcfNeedsDo];
|
CurrentIdentifierList.ContextFlags+[ilcfNeedsDo];
|
||||||
end else begin
|
end else begin
|
||||||
|
Loading…
Reference in New Issue
Block a user