Ziink / atom-nav-panel

Navigation Panel for Atom Editor
MIT License
16 stars 17 forks source link

Uncaught TypeError: Invalid Point: ((119, 0), 0) #62

Open solis32 opened 7 years ago

solis32 commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.19.6 x64 Electron: 1.6.9 OS: Microsoft Windows 7 Home Premium Thrown From: nav-panel package 0.0.11

Stack Trace

Uncaught TypeError: Invalid Point: ((119, 0), 0)

At C:\Users\aaa\AppData\Local\atom\app-1.19.6\resources\app\node_modules\text-buffer\lib\point.js:63

TypeError: Invalid Point: ((119, 0), 0)
    at Function.module.exports.Point.assertValid (~/AppData/Local/atom/app-1.19.6/resources/app/node_modules/text-buffer/lib/point.js:63:21)
    at TextBuffer.module.exports.TextBuffer.clipPosition (~/AppData/Local/atom/app-1.19.6/resources/app/node_modules/text-buffer/lib/text-buffer.js:1139:19)
    at TextBuffer.module.exports.TextBuffer.clipRange (~/AppData/Local/atom/app-1.19.6/resources/app/node_modules/text-buffer/lib/text-buffer.js:1127:26)
    at DisplayLayer.destroyFoldsIntersectingBufferRange (~/AppData/Local/atom/app-1.19.6/resources/app/node_modules/text-buffer/lib/display-layer.js:237:44)
    at TextEditor.module.exports.TextEditor.unfoldBufferRow (~/AppData/Local/atom/app-1.19.6/resources/app/src/text-editor.js:3134:38)
    at NavView.module.exports.NavView.gotoMarker (/packages/nav-panel/lib/nav-view.coffee:270:12)
    at /packages/nav-panel/lib/nav-view.coffee:48:12)
    at HTMLDivElement.dispatch (/packages/nav-panel/node_modules/jquery/dist/jquery.js:4737:27)
    at HTMLDivElement.elemData.handle (/packages/nav-panel/node_modules/jquery/dist/jquery.js:4549:28)

Commands

Non-Core Packages

minimap 4.29.6 
minimap-autohider 1.5.3 
minimap-codeglance 0.4.7 
nav-panel 0.0.11 
symbols-tree-view 0.14.0