Fixing bug where lists get deleted when pressing enter

This commit is contained in:
Matthias Bartelmeß 2012-04-07 03:42:05 +02:00
parent 23cda77b65
commit 18dc111010
1 changed files with 1 additions and 3 deletions

View File

@ -83,9 +83,7 @@ AttributeManager.prototype = _(AttributeManager.prototype).extend({
// TODO
if(hasMarker){
ChangesetUtils.buildKeepRange(this.rep, builder, loc, (loc = [lineNum, 0]), [
[attributeName, attributeValue]
], this.rep.apool);
ChangesetUtils.buildKeepRange(this.rep, builder, loc, (loc = [lineNum, 0]));
ChangesetUtils.buildRemoveRange(this.rep, builder, loc, (loc = [lineNum, 1]));
}