selected: Uncaught TypeError: Cannot read property 'onDidDestroy' of undefined
[Enter steps to reproduce:]
- …
- …
Atom: 1.28.1 x64 Electron: 2.0.4 OS: Mac OS X 10.13.4 Thrown From: highlight-selected package 0.14.0
Stack Trace
Uncaught TypeError: Cannot read property ‘onDidDestroy’ of undefined
At /Applications/Atom.app/Contents/Resources/app/src/layer-decoration.js:17
TypeError: Cannot read property 'onDidDestroy' of undefined
at new LayerDecoration (/Applications/Atom.app/Contents/Resources/app/src/layer-decoration.js:17:68)
at DecorationManager.decorateMarkerLayer (/Applications/Atom.app/Contents/Resources/app/src/decoration-manager.js:214:30)
at TextEditor.decorateMarkerLayer (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:2317:41)
at HighlightedAreaView.module.exports.HighlightedAreaView.highlightSelectionInEditor (/packages/highlight-selected/lib/highlighted-area-view.coffee:198:12)
at /packages/highlight-selected/lib/highlighted-area-view.coffee:159:10
at Array.forEach (<anonymous>)
at HighlightedAreaView.module.exports.HighlightedAreaView.handleSelection (/packages/highlight-selected/lib/highlighted-area-view.coffee:158:27)
at HighlightedAreaView.handleSelection (/packages/highlight-selected/lib/highlighted-area-view.coffee:1:1)
at /packages/highlight-selected/lib/highlighted-area-view.coffee:88:8
Commands
-1:17.9.0 core:paste (input.hidden-input)
-1:17.5.0 editor:newline (input.hidden-input)
3x -1:13.7.0 core:backspace (input.hidden-input)
-1:08.6.0 snippets:previous-tab-stop (input.hidden-input)
-1:08.6.0 editor:outdent-selected-rows (input.hidden-input)
-0:43.7.0 core:paste (input.hidden-input)
-0:41 snippets:next-tab-stop (input.hidden-input)
-0:41 snippets:expand (input.hidden-input)
-0:41 editor:indent (input.hidden-input)
-0:38.2.0 core:save (input.hidden-input)
-0:33 core:copy (input.hidden-input)
-0:26.7.0 core:paste (input.hidden-input)
2x -0:25.6.0 core:save (input.hidden-input)
-0:06.1.0 core:undo (input.hidden-input)
2x -0:03.5.0 core:backspace (input.hidden-input)
-0:02.9.0 core:save (input.hidden-input)
Non-Core Packages
atom-beautify 0.32.5
autoclose-html 0.23.0
busy-signal 1.4.3
highlight-selected 0.14.0
intentions 1.1.5
language-vue 0.23.1
linter 2.2.0
linter-htmlhint 1.4.0
linter-php 1.5.1
linter-ui-default 1.7.1
minimap 4.29.8
monokai-seti 0.9.0
php-cs-fixer 4.1.1
pigments 0.40.2
project-viewer 1.3.1
seti-icons 1.5.4
seti-ui 1.10.0
About this issue
- Original URL
- State: open
- Created 6 years ago
- Reactions: 10
- Comments: 23 (6 by maintainers)
@jdawgzim Should be something like
apm install highlight-selected@0.13.1@jtamlin I have no luck… After updating to Atom 1.29.0 still have the issue. And I do not have project-manager or project-viewer installed.
After that, I do the suggested apm install highlight-selected@0.13.1 seems to have fixed it for me too.
@richrace the suggested
apm install highlight-selected@0.13.1seems to have fixed it for me too.I also do not have project-viewer installed and have been experiencing this very same issue
Uncaught TypeError: Cannot read property ‘onDidDestroy’ of undefined The error was thrown from the highlight-selected package. This issue has already been reported.
Atom: 1.28.2 x64 Electron: 2.0.5 OS: Mac OS X 10.13.2 Thrown From: highlight-selected package 0.14.0
steps to reproduce:
[Enter steps to reproduce:]
this seems to be a problem with project-viewer. because , ctrl + f, search function either not work.