Closed liucaihe closed 7 years ago
Still seeing this in v4.12.3:
Atom: 1.21.0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: atom-easy-jsdoc package 4.12.3
Uncaught TypeError: Cannot read property 'getCursorBufferPosition' of undefined
At /Users/peeja/.atom/packages/atom-easy-jsdoc/lib/regex/jsdoc.js:29
TypeError: Cannot read property 'getCursorBufferPosition' of undefined
at continueComments (/packages/atom-easy-jsdoc/lib/regex/jsdoc.js:29:33)
at Object.newline (/packages/atom-easy-jsdoc/lib/regex/jsdoc.js:130:9)
at HTMLElement.editorNewline (/packages/atom-easy-jsdoc/lib/index.js:67:20)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:381:36)
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:100:42)
at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:3:65)
-2:57.5.0 datatip:toggle (input.hidden-input)
2x -2:57.4.0 editor:delete-to-beginning-of-word (input.hidden-input)
2x -2:56.8.0 datatip:toggle (input.hidden-input)
3x -2:52.8.0 editor:delete-to-beginning-of-word (input.hidden-input)
2x -2:52.1.0 datatip:toggle (input.hidden-input)
2x -2:48.8.0 editor:delete-to-beginning-of-word (input.hidden-input)
-2:48.3.0 datatip:toggle (input.hidden-input)
-2:46.7.0 editor:consolidate-selections (input.hidden-input)
-2:46.7.0 core:cancel (input.hidden-input)
-2:40.2.0 github:toggle-github-tab-focus (ul.list-inline.tab-bar.inset-panel)
-2:27 github:toggle-git-tab-focus (atom-pane.pane.active)
-2:19 editor:consolidate-selections (input.hidden-input)
-2:19 core:cancel (input.hidden-input)
-1:05.8.0 core:save (input.hidden-input)
8x -0:28.2.0 core:backspace (input.hidden-input)
2x -0:21.4.0 editor:newline (input.hidden-input)
atom-easy-jsdoc 4.12.3
autocomplete-modules 1.7.2
busy-signal 1.4.3
change-case 0.6.5
clojure-indent 0.4.0
expand-region 0.3.2
file-icons 2.1.12
haskell-grammar 0.4.0
highlight-line 0.12.0
highlight-selected 0.13.1
intentions 1.1.5
language-babel 2.75.1
language-graphql 0.9.0
language-ini 1.19.0
language-lua 0.9.11
language-ocaml 1.9.5
language-rust 0.4.12
language-swift 0.5.0
language-thrift 1.0.2
linter 2.2.0
linter-eslint 8.3.2
MagicPython 1.0.12
multi-cursor 2.1.5
nuclide 0.258.0
nuclide-format-js 0.0.41
prettier-atom 0.40.0
set-syntax 0.4.0
sort-lines 0.15.0
terminal-plus 0.14.5
tool-bar 1.1.0
Thanks, managed to recreate. A quick workaround is to enable the beta.
[Enter steps to reproduce:]
Atom: 1.18.0-beta0 x64 Electron: 1.3.15 OS: Mac OS X 10.12.5 Thrown From: atom-easy-jsdoc package 4.12.1
Stack Trace
Uncaught TypeError: Cannot read property 'getCursorBufferPosition' of undefined
Commands
Non-Core Packages