View Issue Details

IDProjectCategoryView StatusLast Update
0003718Far ManagerUser Menupublic2019-06-20 19:37
ReporterpepakAssigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Platformx64OSWindowsOS Version7
Product Version3.0 
Target VersionFixed in Version 
Summary0003718: Implemented: Support for includable user menus
DescriptionAttached patches provide a support for includable user menus, that is, user menus which insert the contents from some other menu in some place. This is very useful e.g. in situations where the user has a global user menu with some functions but needs to enhance this menu with new functions in a specific directory: my patch now allows to write a menu with just the new functions and then include the global menu file instead of copying the contents of the global file manually.

The functionality is very rudimentary, particularly the UI which pretty much just prevents any actions on the included menu items.

* patch1.diff - contains the core functionality (support for reading included files).
* patch2.diff - contains the UI (what of it is there).
* FarMenuDemo.ini - shows how to include the global usermenu file. Note that the exact syntax is required, there may not be any extra spaces anywhere in the #include command.

The patch files can be imported into FAR source codes by copying the files inside FAR source and running 'git apply patch1.diff' and 'git apply patch2.diff' commands.
TagsNo tags attached.
Build

Activities

pepak

2019-06-20 19:37

reporter  

files.zip (3,466 bytes)

Issue History

Date Modified Username Field Change
2019-06-20 19:37 pepak New Issue
2019-06-20 19:37 pepak File Added: files.zip