{"action":"created","issue":{"url":"https://api.github.com/repos/Ziink/atom-nav-panel/issues/27","repository_url":"https://api.github.com/repos/Ziink/atom-nav-panel","labels_url":"https://api.github.com/repos/Ziink/atom-nav-panel/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/Ziink/atom-nav-panel/issues/27/comments","events_url":"https://api.github.com/repos/Ziink/atom-nav-panel/issues/27/events","html_url":"https://github.com/Ziink/atom-nav-panel/issues/27","id":170815176,"number":27,"title":"Uncaught TypeError: Invalid Point: ((28, 0), 0)","user":{"login":"shibekin69","id":12507139,"avatar_url":"https://avatars.githubusercontent.com/u/12507139?v=3","gravatar_id":"","url":"https://api.github.com/users/shibekin69","html_url":"https://github.com/shibekin69","followers_url":"https://api.github.com/users/shibekin69/followers","following_url":"https://api.github.com/users/shibekin69/following{/other_user}","gists_url":"https://api.github.com/users/shibekin69/gists{/gist_id}","starred_url":"https://api.github.com/users/shibekin69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shibekin69/subscriptions","organizations_url":"https://api.github.com/users/shibekin69/orgs","repos_url":"https://api.github.com/users/shibekin69/repos","events_url":"https://api.github.com/users/shibekin69/events{/privacy}","received_events_url":"https://api.github.com/users/shibekin69/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-12T07:37:19Z","updated_at":"2016-08-12T12:44:29Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. Have some custom rules in my .nav-marker-rules:\r\n```\r\n#marker-rule: /(loaderdata)/i||%1||Markers||ext=hjson\r\n...\r\n```\r\n2. Trying to use the plugin with an HJSON file. The file looks basically like this:\r\n\r\n```\r\n{\r\n  //Introduction\r\n  propA: \"value\",\r\n  propB: [\r\n    \"value1\",\r\n  ],\r\n  ObjectA: {\r\n    loaderData:\r\n      '''\r\n      '''\r\n    ,\r\n    }\r\n}\r\n```\r\n\r\n3. Restart ATOM\r\n4. See Nav pane. If I click on the \"loaderData\" item, it gives me that pointer error. If I click on the small dot beside it, it does highlight the correct line number.\r\n\r\n\r\n**Atom Version**: 1.9.8\r\n**System**: Microsoft Windows 8.1 Single Language\r\n**Thrown From**: [nav-panel](https://github.com/Ziink/atom-nav-panel) package, v0.0.11\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Invalid Point: ((28, 0), 0)\r\n\r\n```\r\nAt C:\\Users\\User\\AppData\\Local\\atom\\app-1.9.8\\resources\\app.asar\\node_modules\\text-buffer\\lib\\point.js:63\r\n\r\nTypeError: Invalid Point: ((28, 0), 0)\r\n    at Function.module.exports.Point.assertValid (C:\\Users\\User\\AppData\\Local\\atom\\app-1.9.8\\resources\\app.asar\\node_modules\\text-buffer\\lib\\point.js:63:15)\r\n    at TextBuffer.module.exports.TextBuffer.clipPosition (C:\\Users\\User\\AppData\\Local\\atom\\app-1.9.8\\resources\\app.asar\\node_modules\\text-buffer\\lib\\text-buffer.js:1101:13)\r\n    at TextBuffer.module.exports.TextBuffer.clipRange (C:\\Users\\User\\AppData\\Local\\atom\\app-1.9.8\\resources\\app.asar\\node_modules\\text-buffer\\lib\\text-buffer.js:1089:20)\r\n    at DisplayLayer.module.exports.DisplayLayer.destroyFoldsIntersectingBufferRange (C:\\Users\\User\\AppData\\Local\\atom\\app-1.9.8\\resources\\app.asar\\node_modules\\text-buffer\\lib\\display-layer.js:325:33)\r\n    at TextEditor.module.exports.TextEditor.unfoldBufferRow (C:\\Users\\User\\AppData\\Local\\atom\\app-1.9.8\\resources\\app.asar\\src\\text-editor.js:2911:32)\r\n    at NavView.module.exports.NavView.gotoMarker (file:///C:/Users/User/.atom/packages/nav-panel/lib/nav-view.coffee:270:12)\r\n    at HTMLLIElement.<anonymous> (file:///C:/Users/User/.atom/packages/nav-panel/lib/nav-view.coffee:48:12)\r\n    at HTMLDivElement.jQuery.event.dispatch (C:\\Users\\User\\AppData\\Local\\atom\\app-1.9.8\\resources\\app.asar\\node_modules\\jquery\\dist\\jquery.js:4435:9)\r\n    at HTMLDivElement.elemData.handle (C:\\Users\\User\\AppData\\Local\\atom\\app-1.9.8\\resources\\app.asar\\node_modules\\jquery\\dist\\jquery.js:4121:28)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"bookmark-panel\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-minify, v0.7.5 (active)\r\nbookmark-panel, v1.0.0 (inactive)\r\nlanguage-hjson, v0.2.0 (active)\r\nminimap, v4.24.7 (active)\r\nminimap-bookmarks, v0.3.1 (active)\r\nminimap-codeglance, v0.4.5 (active)\r\nminimap-cursorline, v0.2.0 (active)\r\nminimap-find-and-replace, v4.5.1 (active)\r\nminimap-hide, v0.3.0 (active)\r\nminimap-highlight-selected, v4.4.0 (active)\r\nminimap-pigments, v0.2.1 (active)\r\nminimap-selection, v4.4.0 (active)\r\nminimap-split-diff, v0.3.1 (active)\r\nnav-panel, v0.0.11 (active)\r\npretty-json, v1.6.0 (active)\r\nsplit-diff, v1.0.3 (inactive)\r\natom-dark-syntax, v0.27.0 (inactive)\r\natom-dark-ui, v0.51.0 (inactive)\r\natom-light-syntax, v0.28.0 (inactive)\r\natom-light-ui, v0.43.0 (inactive)\r\nbase16-tomorrow-dark-theme, v1.1.0 (inactive)\r\nbase16-tomorrow-light-theme, v1.1.1 (inactive)\r\none-dark-ui, v1.3.2 (active)\r\none-light-ui, v1.3.2 (inactive)\r\none-dark-syntax, v1.2.0 (active)\r\none-light-syntax, v1.2.0 (inactive)\r\nsolarized-dark-syntax, v1.0.2 (inactive)\r\nsolarized-light-syntax, v1.0.2 (inactive)\r\nabout, v1.5.2 (active)\r\narchive-view, v0.61.1 (active)\r\nautocomplete-atom-api, v0.10.0 (active)\r\nautocomplete-css, v0.11.1 (active)\r\nautocomplete-html, v0.7.2 (active)\r\nautocomplete-plus, v2.31.0 (active)\r\nautocomplete-snippets, v1.11.0 (active)\r\nautoflow, v0.27.0 (inactive)\r\nautosave, v0.23.1 (active)\r\nbackground-tips, v0.26.0 (active)\r\nbookmarks, v0.41.0 (active)\r\nbracket-matcher, v0.82.1 (active)\r\ncommand-palette, v0.38.0 (inactive)\r\ndeprecation-cop, v0.54.1 (active)\r\ndev-live-reload, v0.47.0 (active)\r\nencoding-selector, v0.22.0 (active)\r\nexception-reporting, v0.39.0 (active)\r\nfuzzy-finder, v1.3.0 (active)\r\ngit-diff, v1.1.0 (active)\r\nfind-and-replace, v0.198.0 (inactive)\r\ngo-to-line, v0.31.0 (inactive)\r\ngrammar-selector, v0.48.1 (active)\r\nimage-view, v0.58.0 (active)\r\nincompatible-packages, v0.26.1 (active)\r\nkeybinding-resolver, v0.35.0 (active)\r\nline-ending-selector, v0.5.0 (active)\r\nlink, v0.31.1 (inactive)\r\nmarkdown-preview, v0.158.0 (active)\r\nmetrics, v0.53.1 (active)\r\nnotifications, v0.64.1 (active)\r\nopen-on-github, v1.2.0 (inactive)\r\npackage-generator, v1.0.0 (inactive)\r\nsettings-view, v0.238.2 (active)\r\nsnippets, v1.0.2 (active)\r\nspell-check, v0.67.1 (active)\r\nstatus-bar, v1.4.1 (active)\r\nstyleguide, v0.46.0 (active)\r\nsymbols-view, v0.113.0 (inactive)\r\ntabs, v0.98.1 (active)\r\ntimecop, v0.33.1 (active)\r\ntree-view, v0.208.0 (active)\r\nupdate-package-dependencies, v0.10.0 (active)\r\nwelcome, v0.34.0 (active)\r\nwhitespace, v0.32.2 (active)\r\nwrap-guide, v0.38.1 (active)\r\nlanguage-c, v0.52.1 (active)\r\nlanguage-clojure, v0.21.0 (active)\r\nlanguage-coffee-script, v0.47.0 (active)\r\nlanguage-csharp, v0.12.1 (active)\r\nlanguage-css, v0.36.2 (active)\r\nlanguage-gfm, v0.86.0 (active)\r\nlanguage-git, v0.13.0 (active)\r\nlanguage-go, v0.42.0 (active)\r\nlanguage-html, v0.44.1 (active)\r\nlanguage-hyperlink, v0.16.0 (active)\r\nlanguage-java, v0.22.0 (active)\r\nlanguage-javascript, v0.119.0 (active)\r\nlanguage-json, v0.18.0 (active)\r\nlanguage-less, v0.29.3 (active)\r\nlanguage-make, v0.22.2 (active)\r\nlanguage-mustache, v0.13.0 (active)\r\nlanguage-objective-c, v0.15.1 (active)\r\nlanguage-perl, v0.35.0 (active)\r\nlanguage-php, v0.37.0 (active)\r\nlanguage-property-list, v0.8.0 (active)\r\nlanguage-python, v0.45.0 (active)\r\nlanguage-ruby, v0.68.5 (active)\r\nlanguage-ruby-on-rails, v0.25.0 (active)\r\nlanguage-sass, v0.52.0 (active)\r\nlanguage-shellscript, v0.22.3 (active)\r\nlanguage-source, v0.9.0 (active)\r\nlanguage-sql, v0.21.1 (active)\r\nlanguage-text, v0.7.1 (active)\r\nlanguage-todo, v0.28.0 (active)\r\nlanguage-toml, v0.18.0 (active)\r\nlanguage-xml, v0.34.8 (active)\r\nlanguage-yaml, v0.26.0 (active)\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Ziink/atom-nav-panel/issues/comments/239436367","html_url":"https://github.com/Ziink/atom-nav-panel/issues/27#issuecomment-239436367","issue_url":"https://api.github.com/repos/Ziink/atom-nav-panel/issues/27","id":239436367,"user":{"login":"shibekin69","id":12507139,"avatar_url":"https://avatars.githubusercontent.com/u/12507139?v=3","gravatar_id":"","url":"https://api.github.com/users/shibekin69","html_url":"https://github.com/shibekin69","followers_url":"https://api.github.com/users/shibekin69/followers","following_url":"https://api.github.com/users/shibekin69/following{/other_user}","gists_url":"https://api.github.com/users/shibekin69/gists{/gist_id}","starred_url":"https://api.github.com/users/shibekin69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shibekin69/subscriptions","organizations_url":"https://api.github.com/users/shibekin69/orgs","repos_url":"https://api.github.com/users/shibekin69/repos","events_url":"https://api.github.com/users/shibekin69/events{/privacy}","received_events_url":"https://api.github.com/users/shibekin69/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T12:44:29Z","updated_at":"2016-08-12T12:44:29Z","body":"The solution in the other thread works at least for now."}}
{"actor":{"display_login":"shibekin69"}}