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 'node' of undefined #92

Open senpl opened 6 years ago

senpl commented 6 years ago

[Enter steps to reproduce:]

  1. i entered shift+tab after first entry
  2. errors appears, some https://github.com/FoldingText/foldingtext-for-atom/issues/73, then this one.

Atom: 1.22.1 x64 Electron: 1.6.15 OS: Ubuntu 16.04.1 Thrown From: foldingtext-for-atom package 0.9.2

Stack Trace

Uncaught TypeError: Cannot read property 'node' of undefined

At /home/m/.atom/packages/foldingtext-for-atom/lib/editor/outline-editor-element.coffee:490

TypeError: Cannot read property 'node' of undefined
    at HTMLElement.module.exports.OutlineEditorElement.focus (/packages/foldingtext-for-atom/lib/editor/outline-editor-element.coffee:490:44)
    at /app.asar/src/pane-element.js:54:18)
    at HTMLElement.PaneElement.activated (/app.asar/src/pane-element.js:117:14)
    at Function.module.exports.Emitter.simpleDispatch (/opt/atom/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at Pane.activate (/opt/atom/resources/app/src/pane.js:1003:24)
    at NotificationElement.module.exports.NotificationElement.removeNotificationAfterTimeout (/opt/atom/resources/app/node_modules/notifications/lib/notification-element.js:294:46)
    at NotificationElement.module.exports.NotificationElement.removeNotification (/opt/atom/resources/app/node_modules/notifications/lib/notification-element.js:252:25)
    at /opt/atom/resources/app/node_modules/notifications/lib/notification-element.js:54:32
    at Function.module.exports.Emitter.simpleDispatch (/opt/atom/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at Notification.dismiss (/opt/atom/resources/app/src/notification.js:88:24)
    at NotificationElement.module.exports.NotificationElement.handleRemoveNotificationClick (/opt/atom/resources/app/node_modules/notifications/lib/notification-element.js:256:31)
    at HTMLDivElement.<anonymous> (/opt/atom/resources/app/node_modules/notifications/lib/notification-element.js:145:32)

Commands

     -5:15.6.0 core:paste (ft-outline-editor#mkgFd2CYoE.text-mode)
     -5:10 editor:move-to-beginning-of-word (span.ft-body-text)
     -5:08.1.0 core:backspace (span.ft-body-text)
  2x -5:03.7.0 core:save (span.ft-body-text)
     -4:03.7.0 tree-view:add-file (span.name.icon.icon-file-directory)
     -4:02.3.0 core:cancel (input.hidden-input)
     -3:58.6.0 tree-view:add-folder (span.name.icon.icon-file-directory)
     -3:50.6.0 core:confirm (input.hidden-input)
     -3:46.2.0 tree-view:add-file (span.name.icon.icon-file-directory)
  5x -3:43.1.0 core:backspace (input.hidden-input)
     -3:34.8.0 core:confirm (input.hidden-input)
     -0:34.1.0 editor:newline (span.ft-body-text)
     -0:32.7.0 core:save (input.)

Non-Core Packages

atom-autocomplete-php 0.25.6 
atom-beautify 0.30.9 
atom-runner 2.7.1 
atom-shell-commands 1.5.0 
autocomplete-modules 1.8.0 
busy-signal 1.4.3 
comment-down 0.1.1 
compare-files 0.8.1 
dev-tools-dark 0.5.0 
dev-tools-themes 0.1.3 
file-icons 2.1.14 
find-selection 0.16.0 
fold-comments 0.6.0 
fold-functions 0.5.0 
foldingtext-for-atom 0.9.2 
ftp-remote-edit 0.12.7 
git-clone 0.2.0 
git-control 0.9.0 
git-plus 7.10.0 
gitlab 0.1.3-7 
hyperclick 0.1.5 
intentions 1.1.5 
js-hyperclick 1.12.2 
jump-to-import 3.6.5 
jumpy 4.1.1 
language-babel 2.80.3 
language-groovy 0.7.0 
language-log 1.9.0 
linter 2.2.0 
linter-ui-default 1.6.10 
minimap 4.29.7 
mylyn-for-atom 1.0.0 
node-debugger 1.10.1 
package-cop 0.2.10 
php-debug 0.2.5 
php-server 0.8.0 
quick-log 0.3.1 
rabbitvcs-svn 0.6.0 
remote-edit 1.9.0 
script 3.17.3 
simple-drag-drop-text 0.3.6 
svn 0.0.13 
sync-settings 0.8.3 
tabs-to-spaces 1.0.3 
tasks 2.8.0 
todo-show 2.1.0 
tool-bar 1.1.0 
tool-bar-almighty 0.8.2 
tool-bar-main 0.0.10 
tool-bar-shortcuts 0.1.5 
trailing-spaces 0.4.0 
tree-view-finder 0.2.1 
turbo-javascript 1.4.0 
xml-formatter 0.11.0 
zentabs 0.8.9