   # selectively apply classes
   @redrawGutter false
 
-Editor::getBreakpoitns = (row) ->
+Editor::getBreakpoints = (row) ->
   @aceEditor.session.getBreakpoints()
 
 Editor::setAnnotations = (annotations) ->

  # Add annotation mouseover text
  # and graphics
  if @annotations[line]?
    lineDiv.className += ' ' + @annotations[line].map((x) -> x.type).join(' ')
    lineDiv.title = @annotations[line].map((x) -> x.text).join('\n')

  # Add breakpoint graphics
  if @breakpoints[line]
    lineDiv.className += ' droplet-gutter-breakpoint'

  lineDiv.style.top = "#{treeView.bounds[line].y}px"
  lineDiv.style.paddingTop = "#{treeView.distanceToBase[line].above - @view.opts.textHeight - @fontAscent}px"

  lineDiv.style.fontSize = @fontSize + 'px'

  @lineNumberWrapper.appendChild lineDiv

getMostSevereAnnotationType = (arr) ->
  for el, i in arr
    if el.type is 'error'
      return 'error'
  return 'warning'

Editor::findLineNumberAtCoordinate = (coord) ->
  treeView = @view.getViewNodeFor @tree
