jessegrosjean / foldingtext-for-atom

Outline editor with productivity features (No longer in development)
Other
40 stars 10 forks source link

Uncaught TypeError: Cannot read property 'topListElement' of null #83

Open amamel opened 8 years ago

amamel commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.8.0 System: Mac OS X 10.10.5 Thrown From: foldingtext-for-atom package, v0.9.2

Stack Trace

Uncaught TypeError: Cannot read property 'topListElement' of null

At /Users/amamel/.atom/packages/foldingtext-for-atom/lib/editor/item-renderer.coffee:620

TypeError: Cannot read property 'topListElement' of null
    at ItemRenderer.module.exports.ItemRenderer.pick (/Users/amamel/.atom/packages/foldingtext-for-atom/lib/editor/item-renderer.coffee:620:25)
    at ft-outline-editor.module.exports.OutlineEditorElement.pick (/Users/amamel/.atom/packages/foldingtext-for-atom/lib/editor/outline-editor-element.coffee:463:19)
    at ft-outline-editor.module.exports.OutlineEditorElement.onMouseMove (/Users/amamel/.atom/packages/foldingtext-for-atom/lib/editor/outline-editor-element.coffee:573:13)
    at later (/Users/amamel/.atom/packages/foldingtext-for-atom/lib/editor/raf-debounce.coffee:12:14)

Commands

  3x -1:25 core:move-left (span.ft-body-text)
     -1:24.4.0 editor:indent (span.ft-body-text)
     -1:24.2.0 core:move-down (span.ft-body-text)
  3x -1:24 core:move-left (span.ft-body-text)
     -1:23.4.0 editor:indent (span.ft-body-text)
     -1:23.2.0 core:move-down (span.ft-body-text)
  3x -1:23.1.0 core:move-left (span.ft-body-text)
     -1:22.2.0 editor:indent (span.ft-body-text)
     -1:21.7.0 core:move-down (span.ft-body-text)
  3x -1:21.5.0 core:move-left (span.ft-body-text)
     -1:20.9.0 editor:indent (span.ft-body-text)
  2x -1:19.5.0 core:move-down (span.ft-body-text)
  2x -1:17.5.0 core:backspace (span.ft-body-text)
  3x -1:14.5.0 core:move-down (span.ft-body-text)
  2x -1:06.1.0 editor:newline (span.ft-body-text)
     -0:38.1.0 core:save-as (input.)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "duotone-dark-space-syntax"
    ]
  }
}

Installed Packages

# User
atom-beautify, v0.29.7
duotone-dark-space-syntax, v1.0.0
foldingtext-for-atom, v0.9.2
language-haml, v0.24.0
merge-conflicts, v1.4.4
minimap, v4.24.3
package-sync, v1.1.0
pigments, v0.29.1
tool-bar, v0.4.0
tool-bar-main, v0.0.9
vim-mode, v0.65.1

# Dev
No dev packages