abe33 / abe33/atom-pigments

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

オープン
#416 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
CoffeeScript
スター
518
フォーク
70
PR マージ指標
30日以内にマージされた PR はありません

説明

**Atom**: 1.33.0 x64
**Electron**: 2.0.11
**OS**: Mac OS X 10.14.2
**Thrown From**: [pigments](https://github.com/abe33/atom-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/:11

TypeError: Cannot destructure property `textNodes` of 'undefined' or 'null'.
at TextEditorComponent.screenPositionForPixelPosition (/Applications/Atom.app/Contents/Resources/app/static/: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/:11:400400)
at ContextMenuManager.t.exports.ContextMenuManager.templateForEvent (/Applications/Atom.app/Contents/Resources/app/static/:11:399280)
at ContextMenuManager.t.exports.ContextMenuManager.showForEvent (/Applications/Atom.app/Contents/Resources/app/static/:11:400723)
at WindowEventHandler.handleDocumentContextmenu (/Applications/Atom.app/Contents/Resources/app/static/: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
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。