 # displayed after the end of the last line contained in `range`, whereas
 # block-`Result`s will be displayed below it and span the whole width of
 # the current editor.
+# - `getButtons`: Function that will be called to get a button specification to
+# be displayed in the toolbar above an inline result. Needs to return an array
+# of `Button`s, where a `Button` is specified by
+#   - `icon`: octicon class, e.g. `icon-x`
+#   - `onclick`: Function to be called when clicking the button.
 
 metrics = ->
   if id = localStorage.getItem 'metrics.userId'

    @disposables = new CompositeDisposable
    opts.fade ?= not Result.removeLines @editor, @start, @end
    opts.loading ?= not opts.content
    @createView opts
    @initMarker()
    @text = @getText()

          @remove()
          @tb?.hide()
      }
    ].concat @getCustomButtons()

  toolbar: ->
    bg = document.createElement 'div'
