Call Editor.insertText directly instead of creating a TextInput event

This commit is contained in:
Corey Johnson & Nathan Sobo 2012-03-08 14:27:05 -08:00
parent 60affb5d55
commit da8d30ab98

View File

@ -13,6 +13,6 @@ describe "Editor", ->
window.shutdown() window.shutdown()
benchmark "inserting and deleting a character", -> benchmark "inserting and deleting a character", ->
editor.hiddenInput.textInput('x') editor.insertText('x')
editor.backspace() editor.backspace()