         # So we can't use TexitEditor::getCursorBufferPosition(), fotunately,
         # symbols-view serialize buffer state initaially, we use this.
         onShow: =>
+          console.log "Shown FileView"
           editor = @getEditor()
           point  = panel.getItem().initialState?.bufferRanges[0].start
           {editor, point}
         onHide: =>
+          console.log "Hidden FileView"
           editor = @getEditor()
           point  = editor.getCursorBufferPosition()
           {editor, point}

  editorSubscriptions: null
  lastEditor: null
  locked: false

  activate: ->
    History = require './history'

    [oldEditor, oldPoint, newEditor, newPoint] = []
    panelSubscription = panel.onDidChangeVisible (visible) =>
      if visible
        @lock panel.getItem().constructor.name
        {editor: oldEditor, point: oldPoint} = onShow()
      else
        # ProjectView delayed changing cursor position after panel hidden(),
