mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Get TextEditorComponent specs passing
Signed-off-by: Nathan Sobo <nathan@github.com>
This commit is contained in:
committed by
Nathan Sobo
parent
caab1dda63
commit
dfb48aa8da
@@ -235,7 +235,7 @@ stopEventPropagationAndGroupUndo = (config, commandListeners) ->
|
||||
newCommandListeners[commandName] = (event) ->
|
||||
event.stopPropagation()
|
||||
model = @getModel()
|
||||
model.transact config.get('editor.undoGroupingInterval'), ->
|
||||
model.transact model.getUndoGroupingInterval(), ->
|
||||
commandListener.call(model, event)
|
||||
newCommandListeners
|
||||
|
||||
|
||||
Reference in New Issue
Block a user