Open hvcloud opened 7 years ago
Same here:
Atom: 1.35.1 x64 Electron: 2.0.18 OS: Mac OS X 10.14.4 Thrown From: snippet-generator package 0.3.2
Uncaught TypeError: Cannot read property 'getSelectedText' of undefined
At /Users/avatec/.atom/packages/snippet-generator/lib/snippet-generator.js:22
TypeError: Cannot read property 'getSelectedText' of undefined
at HTMLElement.snippetGeneratorGenerate (/packages/snippet-generator/lib/snippet-generator.js:22:23)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:350017)
at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:348492)
at AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:694296)
at EventEmitter.t (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:701680)
at emitThree (events.js:136:13)
at EventEmitter.emit (events.js:217:7)
-2:00.9.0 editor:select-to-end-of-line (input.hidden-input)
-2:00.2.0 core:copy (input.hidden-input)
-1:55.7.0 core:paste (input.hidden-input)
-1:55.5.0 core:save (input.hidden-input)
4x -1:34.4.0 editor:newline (input.hidden-input)
4x -1:28.9.0 core:move-up (input.hidden-input)
2x -1:28.2.0 editor:newline (input.hidden-input)
-1:24.5.0 core:backspace (input.hidden-input)
3x -1:24.4.0 editor:newline (input.hidden-input)
3x -1:20.2.0 core:backspace (input.hidden-input)
-1:15.8.0 editor:newline (input.hidden-input)
6x -1:14 core:backspace (input.hidden-input)
-1:12 core:move-up (input.hidden-input)
-1:06.6.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
-0:52.4.0 snippets:show (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
-0:45.6.0 snippet-generator:generate (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
aligner-css 1.2.1
animate-css 0.1.4
atom-minify 0.8.0
atom-twig 4.2.0
busy-signal 2.0.1
css-helper-snippets 0.3.0
css-in-js 1.4.0
css-specificity 0.2.2
css-spy 0.6.0
ftp-remote-edit 0.14.1
html-to-css 0.2.2
ide-css 0.3.2
intentions 1.1.5
language-smarty 1.8.0
php-twig 4.0.0
platformio-ide-terminal 2.9.1
sass 0.5.0
sass-autocompile 0.13.5
scss-media-queries 0.4.0
scss-snippets 0.6.0
ScssBundle 0.5.0
snippet-generator 0.3.2
[Enter steps to reproduce below:]
Atom Version: 1.13.1 Electron Version: 1.3.13 System: Mac OS X 10.12.3 Thrown From: snippet-generator package, v0.3.2 User: root
Stack Trace
Uncaught TypeError: Cannot read property 'getSelectedText' of undefined
Commands
Config
Installed Packages