WIP: Start converting cursor and selection to be based on markers

This commit is contained in:
Nathan Sobo
2013-01-30 22:47:29 -07:00
parent 074c1815d0
commit 2df0b9fa19
3 changed files with 38 additions and 33 deletions

View File

@@ -1086,7 +1086,7 @@ class Editor extends View
if fold = screenLine.fold
lineAttributes = { class: 'fold line', 'fold-id': fold.id }
else
lineAttributes = { class: 'line' }
lineAttributes = { class: 'line' }
attributePairs = []
attributePairs.push "#{attributeName}=\"#{value}\"" for attributeName, value of lineAttributes
@@ -1117,7 +1117,7 @@ class Editor extends View
if invisibles.eol
line.push("<span class='invisible'>#{invisibles.eol}</span>")
line.push("<span class='fold-marker'/>") if fold
# line.push("<span class='fold-marker'/>") if fold
line.push('</pre>')
line.join('')