 {max} = require 'underscore-plus'
 
 module.exports = AtomHardWrap =
-  modalPanel: null
   subscriptions: null
 
   activate: (state) ->

    return wrapped

  reflowSelection: ->
    console.log 'AtomHardWrap was executed!'

    editor = atom.workspace.getActiveTextEditor()
    for range in editor.getSelectedBufferRanges()
      # selection.selectToBeginningOfLine()

      'hard-wrap:reflow-selection': => @reflowSelection()

  deactivate: ->
    @subscriptions.dispose()

  getMaxLineLength: (range, textEditor) ->
