mirror of
https://github.com/atom/atom.git
synced 2026-02-16 09:35:54 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user