abe33 / abe33/atom-pigments

Uncaught TypeError: Cannot read property 'id' of undefined

Aperta
#441 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
CoffeeScript
Stelle
518
Fork
70
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

[Enter steps to reproduce:]

1. ...
2. ...

**Atom**: 1.44.0 x64
**Electron**: 4.2.7
**OS**: Mac OS X 10.15.3
**Thrown From**: [pigments](https://github.com/abe33/atom-pigments) package 0.40.2

### Stack Trace

Uncaught TypeError: Cannot read property 'id' of undefined

```
At /Applications/Atom.app/Contents/Resources/app/static/:11

TypeError: Cannot read property 'id' of undefined
at extraRenderedScreenLines.forEach (/Applications/Atom.app/Contents/Resources/app/static/:11:76051)
at Map.forEach ()
at TextEditorComponent.renderLineTiles (/Applications/Atom.app/Contents/Resources/app/static/:11:75983)
at TextEditorComponent.renderContent (/Applications/Atom.app/Contents/Resources/app/static/:11:74509)
at TextEditorComponent.renderScrollContainer (/Applications/Atom.app/Contents/Resources/app/static/:11:73969)
at TextEditorComponent.render (/Applications/Atom.app/Contents/Resources/app/static/:11:72748)
at Object.updateSync (/Applications/Atom.app/Contents/Resources/app/static/:14:132897)
at TextEditorComponent.updateSyncBeforeMeasuringContent (/Applications/Atom.app/Contents/Resources/app/static/:11:70606)
at TextEditorComponent.screenPositionForPixelPosition (/Applications/Atom.app/Contents/Resources/app/static/:11:107777)
at HTMLElement.screenPositionForPixelPosition (/app.asar/src/text-editor-element.js:257: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.cloneItemForEvent (/Applications/Atom.app/Contents/Resources/app/static/:11:400477)
at ContextMenuManager.templateForEvent (/Applications/Atom.app/Contents/Resources/app/static/:11:399302)
at ContextMenuManager.showForEvent (/Applications/Atom.app/Contents/Resources/app/static/:11:400800)
at WindowEventHandler.handleDocumentContextmenu (/Applications/Atom.app/Contents/Resources/app/static/:11:287073)
```

### Commands

```
```

### Non-Core Packages

```
atom-beautify 0.33.4
autoclose-html 0.23.0
autocomplete 0.47.0
autocomplete-java 1.2.7
autocomplete-paths 2.12.2
autocomplete-xml 0.11.0
bracket-colorizer 1.4.0
color-picker 2.3.0
emmet 2.4.3
file-icons 2.1.33
highlight-selected 0.16.0
Hydrogen 2.10.3
japanese-menu 1.14.0
merge-conflicts 1.4.5
pigments 0.40.2
tabs-to-spaces 1.0.5
tag 0.5.0
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.