mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Guts on the floor, but 2 line-wise fold specs are passing and the renderer is getting there
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Range = require 'range'
|
||||
Point = require 'point'
|
||||
|
||||
module.exports =
|
||||
class Fold
|
||||
@@ -18,6 +19,9 @@ class Fold
|
||||
# new Range([@startRow, 0], @endRow)
|
||||
throw "Don't worry about this yet -- sobo"
|
||||
|
||||
getBufferDelta: ->
|
||||
new Point(@endRow - @startRow + 1, 0)
|
||||
|
||||
handleBufferChange: (event) ->
|
||||
# oldStartRow = @start.row
|
||||
|
||||
|
||||
Reference in New Issue
Block a user