 
   scrollCursorIntoProminentView = -> # approximately to 1/3 of editor height; this might not work near the top or bottom
     h = $e.height(); {left, top} = cm.cursorCoords true, 'local'
-    cm.scrollIntoView left: left, right: left, top: top - h / 3, bottom: top + 2 * h / 3
-    return
-
-  updateSize: -> cm.setSize $e.width(), $e.parent().height() - $e.position().top - 28
+    cm.scrollIntoView left: left, right: left, top: top - h / 3, bottom: top + 2 * h / 3; return
+
+  updateSize: -> cm.setSize $e.width(), $e.parent().height() - $e.position().top - 28; return
   open: (ee) ->
-    cm.setValue originalValue = ee.text; cm.focus()
+    cm.setValue originalText = ee.text; cm.focus()
     line = ee.currentRow; col = ee.currentColumn || 0; if line == col == 0 && ee.text.indexOf('\n') < 0 then col = ee.text.length
     cm.setCursor line, col; cm.scrollIntoView null, $e.height() / 2
     breakpoints = ee.lineAttributes.stop[..]

  ###

  createBreakpointElement = -> $('<div class="breakpoint">●</div>')[0]
  breakpoints = []
  cm.on 'gutterClick', (cm, l) ->
    if breakpoints.indexOf(l) >= 0 then breakpoints.splice l, 1; cm.setGutterMarker l, 'breakpoints', null
    else breakpoints.push l; cm.setGutterMarker l, 'breakpoints', createBreakpointElement()

      Tab: -> c = cm.getCursor(); opts.autocomplete cm.getLine(c.line), c.ch; return
      Down: ->
        l = cm.getCursor().line
        if l != cm.lineCount() - 1 || /^\s*$/.test cm.getLine l then cm.execCommand 'goLineDown'
        else cm.execCommand 'goDocEnd'; cm.execCommand 'newlineAndIndent'; volatileLine = l + 1
        return

  cm.on 'cursorActivity', ->
