Open bradicus1036 opened 7 years ago
I can't really debug an issue when I don't know the steps you took leading up to the error...
Did you have a file open? Was it upon launching Atom? Hovering over the collapse element?
It seems that it might be an issue with a change in editor setting. I got the same error on a fresh install of Atom that I just set up.
Steps to reproduce:
Also works when toggling any other "Editor" setting (soft tabs, soft wrap, show line numbers, etc.) or even installing plugins while the file is open. Temporarily switching to another file in the pane "fixes" it (until next toggle).
Atom: 1.25.1 ia32 Electron: 1.7.11 OS: Microsoft Windows 10 Home Thrown From: folded-code-preview package 0.2.5
Uncaught TypeError: Cannot read property 'element' of undefined
At C:\Users\prime\Downloads\AtomPortable_1.25.1\Data\atom\packages\folded-code-preview\lib\folded-code-preview.js:50
TypeError: Cannot read property 'element' of undefined
at /packages/folded-code-preview/lib/folded-code-preview.js:50:73)
at HTMLSpanElement.handle (/packages/folded-code-preview/node_modules/jquery/dist/jquery.js:5536:29)
at HTMLBodyElement.dispatch (/packages/folded-code-preview/node_modules/jquery/dist/jquery.js:5183:27)
at HTMLBodyElement.elemData.handle (/packages/folded-code-preview/node_modules/jquery/dist/jquery.js:4991:28)
4x -5:34.7.0 core:move-left (input.hidden-input)
-5:19.5.0 core:backspace (input.hidden-input)
4x -5:12.3.0 editor:newline (input.hidden-input)
-5:06.8.0 core:backspace (input.hidden-input)
3x -5:06.0 core:delete (input.hidden-input)
-4:49.7.0 editor:toggle-soft-wrap (input.hidden-input)
-4:22.6.0 core:move-left (input.hidden-input)
16x -4:22.2.0 editor:newline (input.hidden-input)
22x -4:14.7.0 core:backspace (input.hidden-input)
-4:13.2.0 core:delete (input.hidden-input)
-4:03.9.0 editor:newline (input.hidden-input)
-3:49.1.0 editor:toggle-soft-wrap (input.hidden-input)
-3:40.1.0 editor:newline (input.hidden-input)
-3:39.5.0 core:move-up (input.hidden-input)
-3:35.2.0 editor:newline (input.hidden-input)
-3:06.9.0 editor:toggle-soft-wrap (input.hidden-input)
folded-code-preview 0.2.5
[Enter steps to reproduce:]
Atom: 1.21.1 ia32 Electron: 1.6.15 OS: Microsoft Windows 7 Professional Thrown From: folded-code-preview package 0.2.4
Stack Trace
Uncaught TypeError: Cannot read property 'element' of undefined
Commands
Non-Core Packages