mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 13:49:32 +02:00
codetools: methodjump: ignore initialization section
git-svn-id: trunk@42201 -
This commit is contained in:
parent
d88afd8de1
commit
9a19939660
@ -334,7 +334,8 @@ begin
|
||||
{$IFDEF CTDEBUG}
|
||||
DebugLn('TMethodJumpingCodeTool.FindJumpPoint START CursorPos=',dbgs(CursorPos.X),',',dbgs(CursorPos.Y));
|
||||
{$ENDIF}
|
||||
BuildTreeAndGetCleanPos(CursorPos,CleanCursorPos);
|
||||
BuildTreeAndGetCleanPos(trTillRange,lsrInitializationStart,
|
||||
CursorPos,CleanCursorPos);
|
||||
{debugln(['TMethodJumpingCodeTool.FindJumpPoint Clean Src START:']);
|
||||
debugln(DbgText(Src));
|
||||
debugln(['TMethodJumpingCodeTool.FindJumpPoint Clean Src END']);
|
||||
|
@ -236,7 +236,7 @@ type
|
||||
procedure BuildTreeAndGetCleanPos(TreeRange: TTreeRange;
|
||||
ScanRange: TLinkScannerRange;
|
||||
const CursorPos: TCodeXYPosition; out CleanCursorPos: integer;
|
||||
BuildTreeFlags: TBuildTreeFlags);
|
||||
BuildTreeFlags: TBuildTreeFlags = []);
|
||||
procedure BuildTreeAndGetCleanPos(const CursorPos: TCodeXYPosition;
|
||||
out CleanCursorPos: integer; BuildTreeFlags: TBuildTreeFlags = []);
|
||||
procedure BuildSubTreeForBeginBlock(BeginNode: TCodeTreeNode); virtual;
|
||||
|
Loading…
Reference in New Issue
Block a user