On Oct 28, 2015, at 5:58 PM, Nicolai Hess <nicolaihess@gmail.com> wrote:adding a custom shortcut for a Rubric-TextMorph is easy:
| window text |
text := RubWorkspaceExample new newScrolledText.
"define a custom shortcut"text on:$t command do:[
text setText: text text asString reverse].
window := StandardWindow new.
window addMorph: text fullFrame: (0@0 corner: 1@1) asLayoutFrame.
window title: 'Example'.
window openInWorld.