   $("#rightColumn").width winSize.w - $("#leftColumn").width() - 60
   $("#rightColumn").css "max-height", (winSize.h - 25) + "px"
   setMaxPreWidth $("#output pre")
+  sourceArea.resize()
 
 selectLastOutput = ->
   (getMessage(0)).selectText()

  sourceCompiled = false
  sourceChanged = true
  history.add e
  return #unless autoCompile
  # DELAY = 700
  # lastHit = +new Date
  # setTimeout ->
  #   if +new Date() - lastHit > DELAY
  #     compileCode() unless sourceCompiled
  # , 2 * DELAY

# TODO: this is not used, it is connected to History
printHistory = ->

  "ph", -> history.print(log)
]

modes =
  CoffeeScript:
    id: "coffeescript"
