mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +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()
|
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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user