mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
This commit moves all the remaining concerns not related to decorations out of `DisplayBuffer` and into `TextEditor`. This means the `DisplayBuffer` is now free to be renamed to `DecorationManager`.
13 lines
318 B
CoffeeScript
13 lines
318 B
CoffeeScript
module.exports =
|
|
class MarkerObservationWindow
|
|
constructor: (@decorationManager, @bufferWindow) ->
|
|
|
|
setScreenRange: (range) ->
|
|
@bufferWindow.setRange(@decorationManager.bufferRangeForScreenRange(range))
|
|
|
|
setBufferRange: (range) ->
|
|
@bufferWindow.setRange(range)
|
|
|
|
destroy: ->
|
|
@bufferWindow.destroy()
|