mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-15 13:22:50 +02:00
fixed ident completion and parsed with statements
git-svn-id: trunk@3921 -
This commit is contained in:
parent
90b976fc63
commit
82453a2914
@ -4458,7 +4458,7 @@ begin
|
|||||||
Result:=FindDeepestNodeAtPos(CleanCursorPos,true);
|
Result:=FindDeepestNodeAtPos(CleanCursorPos,true);
|
||||||
if Result=nil then exit;
|
if Result=nil then exit;
|
||||||
end;
|
end;
|
||||||
if Result.Desc in AllPascalStatements then begin
|
if Result.Desc=ctnBeginBlock then begin
|
||||||
BuildSubTreeForBeginBlock(Result);
|
BuildSubTreeForBeginBlock(Result);
|
||||||
Result:=FindDeepestNodeAtPos(CleanCursorPos,true);
|
Result:=FindDeepestNodeAtPos(CleanCursorPos,true);
|
||||||
if Result=nil then exit;
|
if Result=nil then exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user