mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 03:35:58 +02:00
codetools: search for ctnIndentifier with unit prefixes, bug #11577
git-svn-id: trunk@26424 -
This commit is contained in:
parent
e03811d82e
commit
4d65ff6a5d
@ -2313,10 +2313,13 @@ begin
|
||||
Result:=false;
|
||||
// search in cleaned source
|
||||
MoveCursorToCleanPos(Params.Identifier);
|
||||
if Params.ContextNode.Desc<>ctnIdentifier then
|
||||
StartPos:=-1
|
||||
else
|
||||
StartPos:=GetHybridCursorStart;
|
||||
StartPos:=-1;
|
||||
if Params.ContextNode.Desc=ctnIdentifier then begin
|
||||
if HybridCursorType=hcDirty then
|
||||
StartPos:=DirtySrc.CurPos.StartPos
|
||||
else
|
||||
StartPos:=Params.ContextNode.StartPos;
|
||||
end;
|
||||
ReadNextAtom;
|
||||
EndPos:=CurPos.EndPos;
|
||||
ReadNextAtom;
|
||||
|
Loading…
Reference in New Issue
Block a user