Uncaught TypeError: Cannot read property 'NaN' of undefined (right-click)
- Langage dominant
- CoffeeScript
- Étoiles
- 518
- Forks
- 70
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
[Enter steps to reproduce:]
1. ...
2. ...
**Atom**: 1.23.3 x64
**Electron**: 1.6.15
**OS**: Microsoft Windows 10 Education
**Thrown From**: [pigments](https://github.com/abe33/atom-pigments) package 0.40.2
### Stack Trace
Uncaught TypeError: Cannot read property 'NaN' of undefined
```
At C:\Users\jacek\AppData\Local\atom\app-1.23.3\resources\app\src\text-editor-component.js:959
TypeError: Cannot read property 'NaN' of undefined
at TextEditorComponent.renderedScreenLineForRow (~/AppData/Local/atom/app-1.23.3/resources/app/src/text-editor-component.js:959:37)
at TextEditorComponent.screenPositionForPixelPosition (~/AppData/Local/atom/app-1.23.3/resources/app/src/text-editor-component.js:2398:33)
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 (~/AppData/Local/atom/app-1.23.3/resources/app/src/context-menu-manager.js:167:25)
at ContextMenuManager.module.exports.ContextMenuManager.templateForEvent (~/AppData/Local/atom/app-1.23.3/resources/app/src/context-menu-manager.js:100:39)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (~/AppData/Local/atom/app-1.23.3/resources/app/src/context-menu-manager.js:189:33)
at WindowEventHandler.handleDocumentContextmenu (~/AppData/Local/atom/app-1.23.3/resources/app/src/window-event-handler.js:251:44)
```
### Commands
```
```
### Non-Core Packages
```
atom-beautify 0.30.9
atom-material-syntax 1.0.8
atom-material-ui 2.1.1
open-in-browser 0.5.2
pigments 0.40.2
```
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.