     @editor = atom.workspace.buildTextEditor(lineNumberGutterVisible: @provider.indentTextForLineHeader)
 
     providerDashName = @provider.getDashName()
-    title = providerDashName + '-' + @constructor.uiByEditor.size
+    title = providerDashName + '-' + @titleNumber
+    # console.log title
     @editor.getTitle = -> title
+      # @title ?= providerDashName + '-' + @constructor.uiByEditor.size
+      # console.log @title
+      # @title
+      # # @title ?= providerDashName + '-' + @constructor.uiByEditor.size
     @editor.onDidDestroy(@destroy.bind(this))
     @editorElement = @editor.element
     @editorElement.classList.add('narrow', 'narrow-editor', providerDashName)


    @constructor.register(this)
    @disposables.add new Disposable =>
      @constructor.unregister(this)

  start: ->

      @vmpActivateInsertMode() if @vmpIsNormalMode()

  constructor: (@provider, {@query, @activate, @pending}={}) ->
    @titleNumber = @constructor.getNextTitleNumber()
    console.log @titleNumber
    @pending ?= false
    @activate ?= true
    @disposables = new CompositeDisposable
