Closed nightblade9 closed 3 years ago
Thing is you can't nest MenuItems within 2nd level MenuItem(i.e. <MenuItem Text="&Save" />
in your example). Hence I decided not to add autocomplete in the MyraPad.
Though there are plans to add multilevel nested MenuItems.
Nested menu items actually does work, as it shows in my screenshot - it just took a lot of trial and error to figure out. But, OK, if you're not planning to add auto-complete, I can just close this.
I figured out how to make a proper menu with multiple top-level options (File, Edit, etc.) each with their own sub-options when clicked.
It took me about 30 minutes of messing with MyraPad and reading through some of the code to figure out how this works; apparently, you can nest
MenuItem
objects within otherMenuItem
objects:Produces this output:
It would be great if:
<MenuItem></MenuItem>
in MyraPad, and add a new line in the middle, and type<
, you get an auto-complete item suggesting that you can add anotherMenuItem
element.