This commit is contained in:
Ben Ogle & Nathan Sobo
2013-07-17 11:12:18 -07:00
parent f32e1fc643
commit 461e331f58

View File

@@ -43,15 +43,9 @@ class EditSession
{tabLength, softTabs, @softWrap} = @state.toObject()
@buffer = project.bufferForId(@state.get('bufferId'))
console.log @buffer.getMarkers().map (m) -> m.getAttributes()
@displayBuffer = new DisplayBuffer(@buffer, { tabLength })
console.log "looking for", @getSelectionMarkerAttributes()
for marker in @findMarkers(@getSelectionMarkerAttributes())
console.log marker
@addSelection(marker)
@setScrollTop(@state.get('scrollTop'))
@setScrollLeft(@state.get('scrollLeft'))