IDE: added check

git-svn-id: trunk@39875 -
This commit is contained in:
mattias 2013-01-17 17:40:43 +00:00
parent 55574e2a90
commit 1060abd924

View File

@ -10305,6 +10305,7 @@ begin
GetCurrentUnit(SrcEdit,ActiveUnitInfo);
if (jfAddJumpPoint in Flags) and (ActiveUnitInfo <> nil) and (SrcEdit <> nil)
and (SrcEdit.EditorComponent<>nil)
then begin
if (NewSource<>ActiveUnitInfo.Source)
or (SrcEdit.EditorComponent.CaretX<>NewX)