trestletech/shinyAce — pull request #16 by skranz (2014-10-07 04:07:02+00:00)
Title: Add shortcut and cursor listeners

Hi Jeff,

here is my pull request related to issue #14. You see that a shortcut event returns a quite detailed list with editorId, selection and so on. I found this detailed return very convenient, in particular when developing apps with multiple dynamically created Ace editor widgets.

It also returns a random number. This is makes it easier to check in R whether indeed a key has been pressed or an observer was just called by Shiny without a new key being pressed. (Shiny has the tendency to call observers too often when working with dynamic UI elements).

I updated the version so that different shortcuts for Windows and Mac can be defined but have not tested it on the Mac yet.

Of course you can remove my name from the description file. That is only for my own documentation.

Best wishes,
Sebastian