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: Invalid Point: (NaN, 0) #28

Open
Shinrai opened this issue Apr 17, 2018 · 0 comments
Open

Uncaught TypeError: Invalid Point: (NaN, 0) #28

Shinrai opened this issue Apr 17, 2018 · 0 comments

Comments

@Shinrai
Copy link

Shinrai commented Apr 17, 2018

Steps to reproduce:

  1. ALT+CLICK Gutter line on item already present in the nav-panel

Expected Results:
Should be able to bookmark a line already present in the nav-panel. This line should show up under the bookmark section.

Debug Info:

Atom: 1.25.1 x64
Electron: 1.7.11
OS: Microsoft Windows 10 Pro
Thrown From: nav-panel-plus package 0.3.2

Stack Trace

Uncaught TypeError: Invalid Point: (NaN, 0)

At D:\Tools\Atom\Atom x64\resources\app\node_modules\text-buffer\lib\point.js:63

TypeError: Invalid Point: (NaN, 0)
    at Function.module.exports.Point.assertValid (D:/Tools/Atom/Atom x64/resources/app/node_modules/text-buffer/lib/point.js:63:21)
    at TextBuffer.module.exports.TextBuffer.clipPosition (D:/Tools/Atom/Atom x64/resources/app/node_modules/text-buffer/lib/text-buffer.js:1263:19)
    at MarkerLayer.module.exports.MarkerLayer.markPosition (D:/Tools/Atom/Atom x64/resources/app/node_modules/text-buffer/lib/marker-layer.js:232:38)
    at DisplayMarkerLayer.module.exports.DisplayMarkerLayer.markBufferPosition (D:/Tools/Atom/Atom x64/resources/app/node_modules/text-buffer/lib/display-marker-layer.js:109:58)
    at TextEditor.markBufferPosition (D:/Tools/Atom/Atom x64/resources/app/src/text-editor.js:2317:42)
    at NavView.module.exports.NavView.toggleBookmark (/packages/nav-panel-plus/lib/nav-view.coffee:439:25)
    at /packages/nav-panel-plus/lib/nav-view.coffee:184:12)
    at HTMLDivElement.dispatch (/packages/nav-panel-plus/node_modules/jquery/dist/jquery.js:4737:27)
    at HTMLDivElement.elemData.handle (/packages/nav-panel-plus/node_modules/jquery/dist/jquery.js:4549:28)

Commands

     -0:56.1.0 application:open-folder (div.package-detail.panels-item)

Non-Core Packages

atom-minify 0.8.0 
cldmv-atom 1.0.0 
cldmv-syntax 0.0.1 
docblockr 0.13.7 
file-icons 2.1.18 
git-blame 1.6.0 
highlight-selected 0.13.1 
minimap-split-diff 0.3.7 
nav-panel-plus 0.3.2 
php-twig 4.0.0 
pretty-json 2.0.0 
split-diff 1.5.2 
sublime-block-comment 0.5.1 
teletype 0.12.2 
wordcount 2.10.4 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant