     else
       textEditor.setScrollTop(scrollTop)
 
+  # Internal: A method that relays the `mousewheel` events received by
+  # the {MinimapElement} to the {TextEditorElement}.
+  #
+  # e - The {Event} object.
   relayMousewheelEvent: (e) =>
     editorElement = atom.views.getView(@minimap.textEditor)
 

  #    ##     ## ##        ##     ## ##     ##    ##    ##
  #     #######  ##        ########  ##     ##    ##    ########

  requestUpdate: ->
    return if @frameRequested


          else
            @quickSettingsElement.style.left = (left - @quickSettingsElement.clientWidth) + 'px'

  # Disposes the quick settings openener div when the
  # `displayPluginsControls` setting is disabled.
  disposeOpenQuickSettings: ->
    return unless @openQuickSettings?
    @controls.removeChild(@openQuickSettings)
    @openQuickSettingSubscription.dispose()
    @openQuickSettings = undefined

  # Returns the target {TextEditor} of the {Minimap}.
  #
  # Returns a {TextEditor}.
  getTextEditor: -> @minimap.getTextEditor()

  # Returns the {TextEditorElement} for the {Minimap}'s {TextEditor}.
  #
  # Returns a {TextEditorElement}.
  getTextEditorElement: ->
    @editorElement ?= atom.views.getView(@getTextEditor())

  # Internal: Returns the root of the {TextEditorElement} content.
  # This method is mostly used to ensure compatibility with the `shadowDom`
  # setting.
  #
  # Returns an {HTMLElement}.
  getTextEditorElementRoot: ->
    editorElement = @getTextEditorElement()

    editorElement.shadowRoot ? editorElement

  # Internal: Returns the root where to inject the dummy node used to read
  # DOM styles.
  #
  # Returns an {HTMLElement}.
  getDummyDOMRoot: (shadowRoot) ->
    if shadowRoot
      @getTextEditorElementRoot()
