Don’t return Decoration objects from model to view

Preparation for LayerDecorations, in which individual decoration objects
won’t exist for every marker.
This commit is contained in:
Nathan Sobo
2015-10-26 16:29:24 -06:00
parent d46091d7e5
commit 92ed7c8b15
4 changed files with 77 additions and 96 deletions

View File

@@ -1478,6 +1478,9 @@ class TextEditor extends Model
decorationsForScreenRowRange: (startScreenRow, endScreenRow) ->
@displayBuffer.decorationsForScreenRowRange(startScreenRow, endScreenRow)
decorationStateForScreenRowRange: (startScreenRow, endScreenRow) ->
@displayBuffer.decorationStateForScreenRowRange(startScreenRow, endScreenRow)
# Extended: Get all decorations.
#
# * `propertyFilter` (optional) An {Object} containing key value pairs that