-{Range, Disposable, CompositeDisposable} = require 'atom'
+{Disposable} = require 'atom'
 _ = require 'underscore-plus'
 
 getAdjacentPaneForPane = (pane) ->

      flashDisposable = null
  marker

getVisibleBufferRange = (editor) ->
  [startRow, endRow] = editor.element.getVisibleRowRange()
  return null unless (startRow? and endRow?)
  startRow = editor.bufferRowForScreenRow(startRow)
  endRow = editor.bufferRowForScreenRow(endRow)
  new Range([startRow, 0], [endRow, Infinity])

smartScrollToBufferPosition = (editor, point) ->
  editorElement = editor.element
  editorAreaHeight = editor.getLineHeightInPixels() * (editor.getRowsPerPage() - 1)


module.exports = {
  getAdjacentPaneForPane
  openItemInAdjacentPaneForPane
  decorateRange
  smartScrollToBufferPosition
