   PALETTE_LEFT_MARGIN = 5
   DEFAULT_INDENT_DEPTH = '  '
   ANIMATION_FRAME_RATE = 60
-  TOP_TAB_HEIGHT = 10
   DISCOURAGE_DROP_TIMEOUT = 1000
   MAX_DROP_DISTANCE = 100
 

    else
      @mainCtx.clearRect @scrollOffsets.main.x, @scrollOffsets.main.y, @mainCanvas.width, @mainCanvas.height

  Editor::setTopNubbyStyle = (height = TOP_TAB_HEIGHT, color = '#EBEBEB') ->
    @nubbyHeight = Math.max(0, height); @nubbyColor = color

    @topNubbyPath = new @draw.Path()


  Editor::determineCursorPosition = ->
    if @cursor? and @cursor.parent?
      @view.getViewNodeFor(@tree).layout 0, @nubbyHeight

      head = @cursor; line = 0
      until head is @cursor.parent.start
