mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 15:39:14 +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',
|
||||||
|
@ -2,20 +2,20 @@
|
|||||||
This source is only used to compile and install the package.
|
This source is only used to compile and install the package.
|
||||||
}
|
}
|
||||||
|
|
||||||
unit sqlitedslaz;
|
unit sqlitedslaz;
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
sqliteds, tableeditorform, LazarusPackageIntf;
|
sqliteds, tableeditorform, LazarusPackageIntf;
|
||||||
|
|
||||||
implementation
|
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