 
     @redrawMain()
 
-  hook 'resize', 0, -> @setTopNubbyStyle @nubbyHeight, @nubbyColor
+  Editor::resizeNubby = ->
+    @setTopNubbyStyle @nubbyHeight, @nubbyColor
 
   Editor::redrawMain = (opts = {}) ->
     unless @currentlyAnimating_suprressRedraw

    if changedBox
      @gutter.style.height = "#{Math.max @mainScroller.offsetHeight, treeView.totalBounds.height}px"

  hook 'resize', 0, ->
    @gutter.style.height = "#{Math.max @meltElement.offsetHeight, @view.getViewNodeFor(@tree).totalBounds?.height ? 0}px"

  Editor::setPaletteWidth = (width) ->
    @paletteWrapper.style.width = width + 'px'
    @resize()

  # COPY AND PASTE
  # ================================


  Editor::setFontSize = (fontSize) ->
    @setFontSize_raw fontSize
    @resizeBlockMode()

  # LINE MARKING SUPPORT
  # ================================
