mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Call Editor.insertText directly instead of creating a TextInput event
This commit is contained in:
@@ -13,6 +13,6 @@ describe "Editor", ->
|
||||
window.shutdown()
|
||||
|
||||
benchmark "inserting and deleting a character", ->
|
||||
editor.hiddenInput.textInput('x')
|
||||
editor.insertText('x')
|
||||
editor.backspace()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user