mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-26 20:54:22 +01:00
OS X supports many simple Emacs keybindings in native text fields. (It can do this because the system UI uses Cmd instead of Ctrl as its main modifier key.) Add bindings to functions which already exist in DefaultEditorKit. I have a Ctrl-k (cut to end of line) implementation, but it is an additional static RecordableTextAction class. I have not included it.