Page MenuHome

New context menus added to the sidebar and menu updates in the Text Editor

Authored by Peter Fog (tintwotin) on Jun 22 2019, 11:28 PM.



This update of the Text Editor UI patch D5028 adds more options to Text Editor context menu, since they where very sparse.

Before a text is opened the options are now New and Open, since there is no other context.

After a text is opened, the criteria for the functions added to the menu, is that they need to relate to the text selection or cursor position context. The functions included are:


Select line
Duplicate line 
Move line(s) up
Move line(s) down

Comment Selection
Uncomment Selection

Text Autocomplete

Before - no text opened:

After - no text opened:

Before - text is opened:

After - text is opened:

Diff Detail

Event Timeline

Peter Fog (tintwotin) edited the summary of this revision. (Show Details)Jun 22 2019, 11:32 PM
This revision is now accepted and ready to land.Jun 22 2019, 11:52 PM

Closing this, since it's just an update to D5028. Best to keep these changes together in the same differential revision.