GH219 - Buffer for keystrokes (for CodeMirror editor and Flex editor)

issue #219