 
   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[..]

        cm.setSelection cm.posFromIndex(j), cm.posFromIndex j + q.length; scrollCursorIntoProminentView()
    false

  originalValue = null # remember it so that on <esc> we can detect if anything changed
  originalBreakpoints = '' # comma-separated string

  hll = null # currently highlighted line


    SC: -> $tb.find('.tb-search:visible').focus(); return # Search
    EP: -> # Exit (and save changes)
      v = cm.getValue()
      if v != originalText || breakpoints.join() != originalBreakpoints
        for l in breakpoints then cm.setGutterMarker l, 'breakpoint', null
        opts.save cm.getValue(), breakpoints[..].sort (x, y) -> x - y
      else
