mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-18 11:40:44 +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',
|
||||||
|
@ -13,9 +13,9 @@ implementation
|
|||||||
|
|
||||||
procedure Register;
|
procedure Register;
|
||||||
begin
|
begin
|
||||||
RegisterUnit('tableeditorform',@tableeditorform.Register);
|
RegisterUnit('tableeditorform', @tableeditorform.Register);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
initialization
|
||||||
RegisterPackage('sqlitedslaz',@Register);
|
RegisterPackage('sqlitedslaz', @Register);
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user