IDE: fixed editor context menu, show bookmarks in the main pop-up. (not under "file settings")

(cherry picked from commit c4d93041c3)
This commit is contained in:
Martin 2022-04-01 17:48:20 +02:00
parent 594f4eccd3
commit ffeb0372e5

View File

@ -1721,6 +1721,7 @@ begin
{%region *** Goto Marks section ***}
SrcEditMenuSectionMarks:=RegisterIDEMenuSection(SourceEditorMenuRoot, 'Marks section');
AParent:=SrcEditMenuSectionMarks;
// register the Goto Bookmarks Submenu
SrcEditSubMenuGotoBookmarks:=RegisterIDESubMenu(AParent,
'Goto bookmarks', uemGotoBookmark,
@ -1743,6 +1744,7 @@ begin
{%endregion}
{%region *** Toggle Bookmarks Submenu ***}
AParent:=SrcEditMenuSectionMarks;
SrcEditSubMenuToggleBookmarks:=RegisterIDESubMenu(AParent,
'Toggle bookmarks', uemToggleBookmark,
nil, TNotifyProcedure(@TToolButton_ToggleBookmarks.ShowAloneMenu),