|
@@ -220,6 +220,8 @@ define [
|
|
|
rejectChangeIds: (change_ids) ->
|
|
rejectChangeIds: (change_ids) ->
|
|
|
changes = @rangesTracker.getChanges(change_ids)
|
|
changes = @rangesTracker.getChanges(change_ids)
|
|
|
return if changes.length == 0
|
|
return if changes.length == 0
|
|
|
|
|
+ changes.sort((a, b) -> b.op.p - a.op.p)
|
|
|
|
|
+
|
|
|
session = @editor.getSession()
|
|
session = @editor.getSession()
|
|
|
for change in changes
|
|
for change in changes
|
|
|
if change.op.d?
|
|
if change.op.d?
|