mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 19:09:19 +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;
|
Result:=false;
|
||||||
// search in cleaned source
|
// search in cleaned source
|
||||||
MoveCursorToCleanPos(Params.Identifier);
|
MoveCursorToCleanPos(Params.Identifier);
|
||||||
if Params.ContextNode.Desc<>ctnIdentifier then
|
StartPos:=-1;
|
||||||
StartPos:=-1
|
if Params.ContextNode.Desc=ctnIdentifier then begin
|
||||||
|
if HybridCursorType=hcDirty then
|
||||||
|
StartPos:=DirtySrc.CurPos.StartPos
|
||||||
else
|
else
|
||||||
StartPos:=GetHybridCursorStart;
|
StartPos:=Params.ContextNode.StartPos;
|
||||||
|
end;
|
||||||
ReadNextAtom;
|
ReadNextAtom;
|
||||||
EndPos:=CurPos.EndPos;
|
EndPos:=CurPos.EndPos;
|
||||||
ReadNextAtom;
|
ReadNextAtom;
|
||||||
|
Loading…
Reference in New Issue
Block a user