15288 <https://pharo.fogbugz.com/default.asp?15288> Shortcuts in text editor are hardcoded
I think it is a good idea to commonly name those short cuts. But this does not help to make the shortcut handling really configurable. For example, how would we change the shortcut for "toggle comment" ? - we need a setting that lists all PharoShortcuts, - change the keycombination in the setting - toggleCommentOnSelectionOrLine now would return the new shortcut But how do we populate the change to all users of this shortcut? We would need to rebuild all keymaps. (And if we want to save and load this shortcuts settings (load settings at startup), we need to rebuild all keymappings on every image startup). Instead, we could define commonly named "Actions". A texteditor can register this action in its keymap and the action has a unique configurable KMKeyCombination what do you think? cheers nicolai
