Rename .fold class to .folded on line numbers in gutter

Using an adjective blends in better with '.foldable'
This commit is contained in:
Nathan Sobo
2014-01-18 11:35:22 -07:00
parent 149a6825b4
commit 4db2ad53fd
4 changed files with 12 additions and 12 deletions

View File

@@ -208,8 +208,8 @@ class Gutter extends View
rowValue = (row + 1).toString()
classes = "line-number line-number-#{row}"
classes += ' fold' if editor.isFoldedAtBufferRow(row)
classes += ' foldable' if row isnt lastRow and editor.isFoldableAtBufferRow(row)
classes += ' folded' if editor.isFoldedAtBufferRow(row)
rowValuePadding = _.multiplyString(' ', maxDigits - rowValue.length)