mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 06:09:14 +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
|
begin
|
||||||
LastPos := ExtTool.CurPos;
|
LastPos := ExtTool.CurPos;
|
||||||
ExtTool.ReadNextAtom;
|
ExtTool.ReadNextAtom;
|
||||||
|
if ExtTool.CurPos.Flag = cafWord then
|
||||||
|
ExtTool.ReadNextAtom;
|
||||||
while ExtTool.CurPos.Flag = cafPoint do
|
while ExtTool.CurPos.Flag = cafPoint do
|
||||||
begin
|
begin
|
||||||
ExtTool.ReadNextAtom;
|
ExtTool.ReadNextAtom;
|
||||||
@ -2790,7 +2792,6 @@ begin
|
|||||||
ReadNextAtom;
|
ReadNextAtom;
|
||||||
if ReadNextUpAtomIs('OF') then
|
if ReadNextUpAtomIs('OF') then
|
||||||
begin
|
begin
|
||||||
ReadNextAtom;
|
|
||||||
if (Length(Result) > 0) and (Result[Length(Result)] = ';') then//delete last ";" from set
|
if (Length(Result) > 0) and (Result[Length(Result)] = ';') then//delete last ";" from set
|
||||||
Delete(Result, Length(Result), 1);
|
Delete(Result, Length(Result), 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user