abe33 / atom-pigments

An Atom package to display colors in project and files.
MIT License
522 stars 68 forks source link

Uncaught TypeError: Cannot destructure property `textNodes` of 'undefined' or 'null'. #416

Open fishcharlie opened 5 years ago

fishcharlie commented 5 years ago

Atom: 1.33.0 x64 Electron: 2.0.11 OS: Mac OS X 10.14.2 Thrown From: pigments package 0.40.2

Stack Trace

Uncaught TypeError: Cannot destructure property textNodes of 'undefined' or 'null'.

At /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11

TypeError: Cannot destructure property `textNodes` of 'undefined' or 'null'.
    at TextEditorComponent.screenPositionForPixelPosition (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:107558)
    at HTMLElement.screenPositionForPixelPosition (/app.asar/src/text-editor-element.js:250: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.t.exports.ContextMenuManager.cloneItemForEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:400400)
    at ContextMenuManager.t.exports.ContextMenuManager.templateForEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:399280)
    at ContextMenuManager.t.exports.ContextMenuManager.showForEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:400723)
    at WindowEventHandler.handleDocumentContextmenu (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:287614)

Commands

  3x -2:13.2.0 core:backspace (input.hidden-input)
     -2:10.8.0 core:save (input.hidden-input)
     -2:10 core:copy (input.hidden-input)
     -2:09.1.0 core:paste (input.hidden-input)
     -2:08.8.0 core:save (input.hidden-input)
  3x -2:06.5.0 core:backspace (input.hidden-input)
  2x -2:05.5.0 core:save (input.hidden-input)
  2x -1:39.4.0 core:backspace (input.hidden-input)
     -1:36.1.0 core:save (input.hidden-input)
     -0:32.7.0 core:copy (input.hidden-input)
  2x -0:32 editor:newline (input.hidden-input)
     -0:31.7.0 core:paste (input.hidden-input)
     -0:31.4.0 core:backspace (input.hidden-input)
  2x -0:31.1.0 core:save (input.hidden-input)
  6x -0:14.6.0 core:backspace (input.hidden-input)
     -0:09.7.0 core:save (input.hidden-input)

Non-Core Packages

atom-abbreviation 2.5.0 
atom-beautify 0.33.4 
atom-clock 0.1.16 
atom-handlebars 1.3.0 
atom-ide-ui 0.13.0 
atom-typescript 12.7.3 
auto-detect-indentation 1.3.0 
busy-signal 1.4.3 
emmet 2.4.3 
fold-functions 0.11.0 
intentions 1.1.5 
jshint 1.8.6 
language-babel 2.85.0 
language-ejs 0.4.0 
less-than-slash 0.18.0 
lint 0.0.1 
linter 2.2.0 
linter-csslint 2.0.1 
linter-eslint 8.4.1 
linter-handlebars 2.5.0 
linter-htmlhint 1.5.1 
linter-js-standard-jsx 4.1.2 
linter-jshint 3.1.9 
linter-json-lint 0.1.3 
linter-markdown 5.2.2 
linter-tslint 1.9.1 
linter-ui-default 1.7.1 
node-debugger 1.10.1 
open-recent 5.0.0 
pigments 0.40.2 
teletype 0.13.3 
toggler 0.3.1 
zentabs 0.8.9