Get TextEditorComponent specs passing

Signed-off-by: Nathan Sobo <nathan@github.com>
This commit is contained in:
Max Brunsfeld
2016-07-26 16:04:09 -07:00
committed by Nathan Sobo
parent caab1dda63
commit dfb48aa8da
2 changed files with 14 additions and 202 deletions

View File

@@ -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