allow folds with empty placeholder

This commit is contained in:
nightwing 2012-10-12 15:28:02 +04:00
commit e1697c2dfd
4 changed files with 6 additions and 10 deletions

View file

@ -616,7 +616,7 @@ var Text = function(parentEl) {
var tokens = session.getTokens(row);
foldLine.walk(function(placeholder, row, column, lastColumn, isNewRow) {
if (placeholder) {
if (placeholder != null) {
renderTokens.push({
type: "fold",
value: placeholder