     | Ctrl-Shift-R | Command-Shift-Option-F | replace all |
     | Ctrl-Down | Command-Down | scroll line down |
     | Ctrl-Up |  | scroll line up |
-    |  | Option-PageDown | scroll page down |
-    |  | Option-PageUp | scroll page up |
     | Ctrl-A | Command-A | select all |
     | Ctrl-Shift-L | Ctrl-Shift-L | select all from multi-selection |
     | Shift-Down | Shift-Down | select down |

    | Alt-Shift-0 | Command-Option-Shift-0 | unfold all |
    | Ctrl-Enter | Command-Enter | enter full screen |
    """
    options.title    = "Editor Key Bindings"
    options.width    = 760
    options.content  = KD.utils.applyMarkdown keyBindings
    options.cssClass = "key-bindings"

    super options, data






class EditorMacroView extends KDModalView
  # we copy paste that markdown from https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts
  # if we want to update keybindings, just change the keyBindings markdown content.
  keyBindings = """
    | PC (Windows/Linux)             | Mac                            | Action                         |
    |:-------------------------------|:-------------------------------|:-------------------------------|
    | Ctrl-S | Command-Save | save file |
    | Ctrl-Shift-S | Command-Shift-S | save As... |
    | Ctrl-Alt-S | Command-Option-S | save All |
    | Ctrl-W | Ctrl-W, | close file |
    | Ctrl-Alt-Up | Ctrl-Option-Up | add multi-cursor above |
    | Ctrl-Alt-Down | Ctrl-Option-Down | add multi-cursor below |
    | Ctrl-Alt-Right | Ctrl-Option-Right | add next occurrence to multi-selection |
    | Ctrl-Alt-Left | Ctrl-Option-Left | add previous occurrence to multi-selection |
    | Ctrl-Shift-U | Ctrl-Shift-U | change to lower case |
    | Ctrl-U | Ctrl-U | change to upper case |
    | Alt-Shift-Down | Command-Option-Down | copy lines down |
