Make a menu automatically with language triggers
Bug #241383 reported by
Yuri Malheiros
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TextFlow |
Fix Committed
|
Wishlist
|
Unassigned |
Bug Description
When a tab is changed TextFlow will show a menu with all language triggers.
For example, if a tab with a python file is selected a menu like this will appear:
Python >
Comment ctrl+/
Uncomment ctrl+shift+/
Run F5
But if a C file is selected the menu will change to:
C >
C Trigger 1 some_shortcut_here
C Trigger 2 other_shortcut_here
Changed in textflow: | |
importance: | Undecided → Wishlist |
milestone: | none → 0.3.0 |
Changed in textflow: | |
status: | New → In Progress |
Changed in textflow: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
First steps...
We need to change config.xml to config.py
Create a list for menu entries: [atriggername, anothertriggername, etc]
Create a menu according menu entries list