 {View} = require 'atom-space-pen-views'
+{CompositeDisposable} = require 'atom'
 
 module.exports =
 class DecorationExampleView extends View


  initialize: (serializeState) ->
    @decorationsByEditorId = {}
    @toggleButtons =
      'line': @lineToggle
      'line-number': @gutterToggle

    @gutterColorCycle.on 'click', => @cycleDecorationColor('line-number')
    @highlightColorCycle.on 'click', => @cycleDecorationColor('highlight')

    disposables.add atom.workspace.onDidChangeActivePaneItem => @updateToggleButtonStates()

  ## Decoration API methods

