git-svn-id: trunk@17368 -
This commit is contained in:
mattias 2008-11-13 12:10:01 +00:00
parent 372b1436d3
commit e3d9d87059

View File

@ -5533,6 +5533,7 @@ end;
Procedure TSourceNotebook.BookMarkSet(Value: Integer);
var
ActEdit, AnEdit: TSourceEditor;
Cmd: TIDEMenuCommand;
Begin
ActEdit:=GetActiveSE;
@ -5542,8 +5543,8 @@ Begin
end;
ActEdit.EditorComponent.SetBookMark(Value,
ActEdit.EditorComponent.CaretX,ActEdit.EditorComponent.CaretY);
(SrcEditSubMenuSetBookmarks[Value] as TIDEMenuCommand).Checked := true;
TIDEMenuCommand(SrcEditSubMenuGotoBookmarks[Value]).Checked:=true;
Cmd:=SrcEditSubMenuSetBookmarks[Value] as TIDEMenuCommand;
Cmd.Checked := true;
if Project1<>nil then
Project1.SessionModified:=true;
end;