mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:19:37 +02:00
codetools: fixed MoveToLastIdentifierThroughDots from Ondrej
git-svn-id: trunk@49868 -
This commit is contained in:
parent
43bbbdf2d0
commit
2e36d4e2c3
@ -2677,6 +2677,8 @@ function TFindDeclarationTool.GetSmartHint(Node: TCodeTreeNode;
|
||||
begin
|
||||
LastPos := ExtTool.CurPos;
|
||||
ExtTool.ReadNextAtom;
|
||||
if ExtTool.CurPos.Flag = cafWord then
|
||||
ExtTool.ReadNextAtom;
|
||||
while ExtTool.CurPos.Flag = cafPoint do
|
||||
begin
|
||||
ExtTool.ReadNextAtom;
|
||||
@ -2790,7 +2792,6 @@ begin
|
||||
ReadNextAtom;
|
||||
if ReadNextUpAtomIs('OF') then
|
||||
begin
|
||||
ReadNextAtom;
|
||||
if (Length(Result) > 0) and (Result[Length(Result)] = ';') then//delete last ";" from set
|
||||
Delete(Result, Length(Result), 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user