Atom: 1.23.1 x64
Electron: 1.6.15
OS: Mac OS X 10.13.2
Thrown From: pigments package 0.40.2
Stack Trace
Uncaught TypeError: Cannot match against 'undefined' or 'null'.
At /Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:2408
TypeError: Cannot match against 'undefined' or 'null'.
at TextEditorComponent.screenPositionForPixelPosition (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:2408:65)
at HTMLElement.screenPositionForPixelPosition (/app.asar/src/text-editor-element.js:247:32)
at HTMLElement.ColorBufferElement.screenPositionForMouseEvent (/packages/pigments/lib/color-buffer-element.coffee:429:22)
at HTMLElement.ColorBufferElement.colorMarkerForMouseEvent (/packages/pigments/lib/color-buffer-element.coffee:415:17)
at Object.colorMarkerForMouseEvent (/packages/pigments/lib/pigments.coffee:221:25)
at Object.shouldDisplayContextMenu (/packages/pigments/lib/pigments.coffee:215:5)
at /packages/pigments/lib/pigments.coffee:111:36)
at ContextMenuManager.module.exports.ContextMenuManager.cloneItemForEvent (/Applications/Atom.app/Contents/Resources/app/src/context-menu-manager.js:167:25)
at ContextMenuManager.module.exports.ContextMenuManager.templateForEvent (/Applications/Atom.app/Contents/Resources/app/src/context-menu-manager.js:100:39)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (/Applications/Atom.app/Contents/Resources/app/src/context-menu-manager.js:189:33)
at WindowEventHandler.handleDocumentContextmenu (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:251:44)
[Enter steps to reproduce:]
Atom: 1.23.1 x64 Electron: 1.6.15 OS: Mac OS X 10.13.2 Thrown From: pigments package 0.40.2
Stack Trace
Uncaught TypeError: Cannot match against 'undefined' or 'null'.
Commands
Non-Core Packages