Try to unfold it. Sometimes it works, sometimes it errors. I've gotten this with JS and CSS code, even though I don't have linting for CSS.
a. It sometimes also causes glitches in the UI when it does fold / unfold
Atom: 1.19.0-beta0 x64
Electron: 1.6.9
OS: Mac OS X 10.12.5
Thrown From: linter-ui-default package 1.6.1
Stack Trace
Uncaught TypeError: Cannot read property 'length' of undefined
At /Applications/Atom Beta.app/Contents/Resources/app/src/text-editor-component.js:2250
TypeError: Cannot read property 'length' of undefined
at TextEditorComponent.screenPositionForPixelPosition (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor-component.js:2250:33)
at getBufferPositionFromMouseEvent (/packages/linter-ui-default/lib/editor/helpers.js:9:50)
at /packages/linter-ui-default/lib/editor/index.js:163:29)
at later (/packages/linter/node_modules/sb-debounce/index.js:9:14)
[Enter steps to reproduce:]
Try to unfold it. Sometimes it works, sometimes it errors. I've gotten this with JS and CSS code, even though I don't have linting for CSS. a. It sometimes also causes glitches in the UI when it does fold / unfold
I think this is related https://github.com/atom/atom/issues/7305, as I seem to get both errors at the same time.
Atom: 1.19.0-beta0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.5 Thrown From: linter-ui-default package 1.6.1
Stack Trace
Uncaught TypeError: Cannot read property 'length' of undefined
Commands
Non-Core Packages