mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 23:38:02 +02:00
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:
parent
594f4eccd3
commit
ffeb0372e5
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user