triggerKeyEvent: function(keyEvent, selection) {
selection = selection || this.getSelection();
triggerKeyEvent: function(keyEvent, selection) {
selection = selection || this.getSelection();
/* globals window */
var selection = window.getSelection(),
anchorElement = this.canvas.getDocumentElement(selection.anchorNode),
/* globals window */
var selection = window.getSelection(),
anchorElement = this.canvas.getDocumentElement(selection.anchorNode),