| [news.eclipse.platform] Re: keybinding to TextViewer |
I'm not sure how far off I am on building my editor. I have an editor that contains a StyledText widget from a TextViewer.
From which class does your editor inherit?
I want to add a right click context menu to the widget. I implemented that from an example to create a popup menu using a listener.
Now I want to add a keybinding when the widget has focus. When I entry CTRL+U, I want the text to all change to uppercase. I want this also on the option on the context menu.
How is the best way to implement this?