mirror of
https://github.com/atom/atom.git
synced 2026-02-10 14:45:11 -05:00
Sometimes there is no ace folding mode
This commit is contained in:
@@ -7,4 +7,4 @@ class FoldSuggester
|
||||
@aceFoldAdaptor = new AceFoldAdaptor(@buffer)
|
||||
|
||||
isBufferRowFoldable: (bufferRow) ->
|
||||
@aceFoldMode.getFoldWidget(@aceFoldAdaptor, null, bufferRow) == "start"
|
||||
@aceFoldMode?.getFoldWidget(@aceFoldAdaptor, null, bufferRow) == "start"
|
||||
|
||||
Reference in New Issue
Block a user