mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 07:28:08 +03:00
Call Editor.insertText directly instead of creating a TextInput event
This commit is contained in:
parent
60affb5d55
commit
da8d30ab98
@ -13,6 +13,6 @@ describe "Editor", ->
|
||||
window.shutdown()
|
||||
|
||||
benchmark "inserting and deleting a character", ->
|
||||
editor.hiddenInput.textInput('x')
|
||||
editor.insertText('x')
|
||||
editor.backspace()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user