mirror of
https://github.com/atom/atom.git
synced 2026-02-07 05:05:02 -05:00
Folding works with coffeescript
This commit is contained in:
@@ -8,6 +8,9 @@ class AceFoldAdaptor
|
||||
getLine: (bufferRow) ->
|
||||
@buffer.lineForRow(bufferRow)
|
||||
|
||||
getLength: ->
|
||||
@buffer.numLines()
|
||||
|
||||
$findClosingBracket: (bracketType, bufferPosition) ->
|
||||
@highlighter.findClosingBracket([bufferPosition.row, bufferPosition.column - 1])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user