IDE: always add a jump point in DoJumpToOtherProcedureSection (Ctrl+Shift+Up/Down).

git-svn-id: trunk@54151 -
This commit is contained in:
ondrej 2017-02-13 23:30:16 +00:00
parent e25135a833
commit 10d7555bc9

View File

@ -9725,8 +9725,7 @@ begin
if CodeToolBoss.JumpToMethod(ActiveUnitInfo.Source,
LogCaret.X,LogCaret.Y,NewSource,NewX,NewY,NewTopLine,RevertableJump) then
begin
Flags := [jfFocusEditor];
if not RevertableJump then include(Flags, jfAddJumpPoint);
Flags := [jfFocusEditor, jfAddJumpPoint];
DoJumpToCodePosition(ActiveSrcEdit, ActiveUnitInfo,
NewSource, NewX, NewY, NewTopLine, Flags);
end else begin