mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-15 05:20:16 +02:00
fixed identifier completion in with variables
git-svn-id: trunk@7525 -
This commit is contained in:
parent
6991d94081
commit
6516ac7baa
@ -873,6 +873,8 @@ begin
|
|||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
GatherContext:=CreateFindContext(Self,CursorNode);
|
GatherContext:=CreateFindContext(Self,CursorNode);
|
||||||
ContextExprStartPos:=GetContextExprStartPos(IdentStartPos,CursorNode);
|
ContextExprStartPos:=GetContextExprStartPos(IdentStartPos,CursorNode);
|
||||||
|
if GatherContext.Node.Desc=ctnWithVariable then
|
||||||
|
GatherContext.Node:=GatherContext.Node.Parent;
|
||||||
|
|
||||||
{$IFDEF CTDEBUG}
|
{$IFDEF CTDEBUG}
|
||||||
DebugLn('TIdentCompletionTool.GatherIdentifiers C',
|
DebugLn('TIdentCompletionTool.GatherIdentifiers C',
|
||||||
|
Loading…
Reference in New Issue
Block a user