another auto indent fix
This commit is contained in:
parent
fa2dd94e5c
commit
7fd6bf2e76
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ var Editor = function(renderer, doc) {
|
|||
var line = _self.doc.getLine(row);
|
||||
var end = _self.doc.insert(cursor, text);
|
||||
|
||||
if (line != _self.doc.getLine(row)) {
|
||||
if (line != _self.doc.getLine(row) && text != "\n") {
|
||||
_self.moveCursorToPosition(end);
|
||||
_self.renderer.scrollCursorIntoView();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue