Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot match against 'undefined' or 'null'. #648

Open
Christopher-Hayes opened this issue Jan 29, 2018 · 0 comments
Open
Labels

Comments

@Christopher-Hayes
Copy link

Editting file from another application (Visual Studio), was also using teletype at the same time.

Atom: 1.23.3 x64
Electron: 1.6.15
OS: Mac OS X 10.13.2
Thrown From: minimap package 4.29.7

Stack Trace

Uncaught TypeError: Cannot match against 'undefined' or 'null'.

At /Applications/Atom.app/Contents/Resources/app/src/text-editor.js:1211

TypeError: Cannot match against 'undefined' or 'null'.
    at TextEditor.tokensForScreenRow (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:1211:41)
    at HTMLElement.eachTokenForScreenRows (/packages/minimap/lib/mixins/canvas-drawer.js:419:14)
    at HTMLElement.drawLines (/packages/minimap/lib/mixins/canvas-drawer.js:453:10)
    at HTMLElement.redrawRangesOnLayer (/packages/minimap/lib/mixins/canvas-drawer.js:270:14)
    at HTMLElement.updateTokensLayer (/packages/minimap/lib/mixins/canvas-drawer.js:136:10)
    at HTMLElement.updateCanvas (/packages/minimap/lib/mixins/canvas-drawer.js:104:10)
    at HTMLElement.update (/packages/minimap/lib/minimap-element.js:887:10)
    at requestAnimationFrame (/packages/minimap/lib/minimap-element.js:780:12)

Commands

Non-Core Packages

highlight-selected 0.13.1 
minimap 4.29.7 
minimap-highlight-selected 4.6.1 
minimap-pigments 0.2.2 
pigments 0.40.2 
seti-ui 1.9.0 
teletype 0.6.0 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants