mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
Update signature of calls to TextBuffer::transact
This commit is contained in:
@@ -458,9 +458,8 @@ TextEditorComponent = React.createClass
|
||||
selectedLength = inputNode.selectionEnd - inputNode.selectionStart
|
||||
editor.selectLeft() if selectedLength is 1
|
||||
|
||||
insertedRange = editor.transact(->
|
||||
insertedRange = editor.transact @constructor.groupingInterval, ->
|
||||
editor.insertText(event.data)
|
||||
, @constructor.groupingInterval)
|
||||
inputNode.value = event.data if insertedRange
|
||||
|
||||
onVerticalScroll: (scrollTop) ->
|
||||
|
||||
Reference in New Issue
Block a user