This commit is contained in:
Fabian Jakobs 2012-04-04 20:35:29 +02:00
commit ca1645e06b
15 changed files with 15 additions and 15 deletions

View file

@ -1812,7 +1812,7 @@ var Document = function(text) {
position = this.$clipPosition(position);
if (this.getLength() <= 1)
if (this.getLength() >= 1)
this.$detectNewLine(text);
var lines = this.$split(text);