Renderer can place a fold placeholder directly before a soft-wrap

This commit is contained in:
Nathan Sobo
2012-03-06 18:27:06 -07:00
parent cb23fdbf92
commit fbd4b7e990
3 changed files with 15 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ class ScreenLineFragment
_.extend(this, extraFields)
splitAt: (column) ->
return [undefined, this] if column == 0
return [new ScreenLineFragment([], '', [0, 0], [0, 0]), this] if column == 0
rightTokens = _.clone(@tokens)
leftTokens = []