     @editor = @editorView.getEditor()
     @paneView = @editorView.getPane()
 
+    @paneView.addClass('with-minimap')
+
     super
 
     @computeScale()

      @miniEditorView.forceUpdate()

  destroy: ->
    @off()
    @obsPane.dispose()
    @unsubscribe()

  # MINIMAP DISPLAY MANAGEMENT

  attachToPaneView: ->
    @paneView.append(this)
    @adjustTopPosition()

  detachFromPaneView: ->
    @detach()

  minimapIsAttached: -> @paneView.find('.minimap').length is 1
