--- a/SimpleView.st Wed Feb 01 22:17:58 2017 +0000
+++ b/SimpleView.st Sat Feb 04 23:21:45 2017 +0000
@@ -1780,6 +1780,22 @@
helpKey := aSymbolOrNil.
!
+keyboardMap
+ "Return a KeyboardMap used to translate symbolic shortcuts to real key combinations.
+
+ By default, use my parent's map or my device's default map if view has no parent.
+
+ However, subclasses may redefine this, to return their own keyboard map (for example
+ a terminalView may want treat CTRL-C as regular key)."
+
+ superView notNil ifTrue:[
+ ^ superView keyboardMap
+ ].
+ ^ device keyboardMap
+
+ "Created: / 01-02-2017 / 23:52:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
keyboardProcessor
"return my keyboard processor.
If non-nil, that one gets a chance to intercept and deal with things like