Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed Undo with newlineAndIndent and Numbered lists

  • Loading branch information...
commit 4d67cad81bf8e5ea7fd99a837d89d31f5e8358b4 1 parent 335959e
@icebeat authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/commands.js
View
2  js/commands.js
@@ -632,7 +632,7 @@ Extend(Editor.prototype, {
var line = this.getContent(from, from);
var value = line.textContent.splice(line.selectionStart, "" , undo.del);
this.replaceLines(from.line, from.line, value);
- this.updateView(from, to);
+ this.updateView(to, to);
} else {
var from = undo.from, to = undo.to;
var line = this.getContent(from, to);
Please sign in to comment.
Something went wrong with that request. Please try again.