Merge pull request #607 from fourplusone/fix/list-removal
Fix list removal
This commit is contained in:
commit
2435003403
|
@ -132,9 +132,7 @@ AttributeManager.prototype = _(AttributeManager.prototype).extend({
|
|||
var hasMarker = this.lineHasMarker(lineNum);
|
||||
|
||||
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]));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue