{"action":"created","issue":{"url":"https://api.github.com/repos/atom-minimap/minimap/issues/626","repository_url":"https://api.github.com/repos/atom-minimap/minimap","labels_url":"https://api.github.com/repos/atom-minimap/minimap/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/atom-minimap/minimap/issues/626/comments","events_url":"https://api.github.com/repos/atom-minimap/minimap/issues/626/events","html_url":"https://github.com/atom-minimap/minimap/issues/626","id":252374830,"number":626,"title":"Uncaught TypeError: Invalid Point: (NaN, 0)","user":{"login":"hultberg","id":1257913,"avatar_url":"https://avatars2.githubusercontent.com/u/1257913?v=4","gravatar_id":"","url":"https://api.github.com/users/hultberg","html_url":"https://github.com/hultberg","followers_url":"https://api.github.com/users/hultberg/followers","following_url":"https://api.github.com/users/hultberg/following{/other_user}","gists_url":"https://api.github.com/users/hultberg/gists{/gist_id}","starred_url":"https://api.github.com/users/hultberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hultberg/subscriptions","organizations_url":"https://api.github.com/users/hultberg/orgs","repos_url":"https://api.github.com/users/hultberg/repos","events_url":"https://api.github.com/users/hultberg/events{/privacy}","received_events_url":"https://api.github.com/users/hultberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-23T18:30:00Z","updated_at":"2017-08-23T18:52:31Z","closed_at":null,"body":"[Enter steps to reproduce:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom**: 1.20.0-beta3 x64\r\n**Electron**: 1.6.9\r\n**OS**: linux 4.12.6-1-ARCH\r\n**Thrown From**: [minimap-plus](https://github.com/mehcode/atom-minimap-plus) package 4.29.2\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Invalid Point: (NaN, 0)\r\n\r\n```\r\nAt /usr/share/atom-beta/resources/app/node_modules/text-buffer/lib/point.js:63\r\n\r\nTypeError: Invalid Point: (NaN, 0)\r\n    at Function.module.exports.Point.assertValid (/usr/share/atom-beta/resources/app/node_modules/text-buffer/lib/point.js:63:21)\r\n    at DisplayLayer.translateScreenPosition (/usr/share/atom-beta/resources/app/node_modules/text-buffer/lib/display-layer.js:333:17)\r\n    at DisplayLayer.clipScreenPosition (/usr/share/atom-beta/resources/app/node_modules/text-buffer/lib/display-layer.js:391:18)\r\n    at TextEditor.module.exports.TextEditor.clipScreenPosition (/usr/share/atom-beta/resources/app/src/text-editor.js:1794:38)\r\n    at HTMLElement.pixelPositionForScreenPosition (/usr/share/atom-beta/resources/app/src/text-editor-element.js:242:38)\r\n    at StableAdapter.computeScrollTop (/packages/minimap-plus/lib/adapters/stable-adapter.js:60:42)\r\n    at StableAdapter.getScrollTop (/packages/minimap-plus/lib/adapters/stable-adapter.js:51:17)\r\n    at Minimap.getTextEditorScrollRatio (/packages/minimap-plus/lib/minimap.js:598:25)\r\n    at Minimap.getCapedTextEditorScrollRatio (/packages/minimap-plus/lib/minimap.js:610:29)\r\n    at Minimap.getScrollTopFromEditor (/packages/minimap-plus/lib/minimap.js:933:12)\r\n    at Minimap.getScrollTop (/packages/minimap-plus/lib/minimap.js:887:14)\r\n    at Minimap.getLastVisibleScreenRow (/packages/minimap-plus/lib/minimap.js:865:13)\r\n    at Minimap.emitRangeChanges (/packages/minimap-plus/lib/mixins/decoration-management.js:503:38)\r\n    at Minimap.emitDecorationChanges (/packages/minimap-plus/lib/mixins/decoration-management.js:488:10)\r\n    at Minimap.decorateMarker (/packages/minimap-plus/lib/mixins/decoration-management.js:418:10)\r\n    at MinimapHighlightSelected.markerCreated (/packages/minimap-highlight-selected/lib/minimap-highlight-selected.coffee:53:26)\r\n    at MinimapHighlightSelected.markerCreated (/packages/minimap-highlight-selected/lib/minimap-highlight-selected.coffee:1:1)\r\n    at /packages/minimap-highlight-selected/lib/minimap-highlight-selected.coffee:39:62\r\n    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom-beta/resources/app/node_modules/event-kit/lib/emitter.js:25:20)\r\n    at Emitter.module.exports.Emitter.emit (/usr/share/atom-beta/resources/app/node_modules/event-kit/lib/emitter.js:141:34)\r\n    at /packages/highlight-selected/lib/highlighted-area-view.coffee:163:20\r\n    at ForwardsSingleLine.iterate (/usr/share/atom-beta/resources/app/node_modules/text-buffer/lib/match-iterator.js:94:17)\r\n    at TextBuffer.module.exports.TextBuffer.scanInRange (/usr/share/atom-beta/resources/app/node_modules/text-buffer/lib/text-buffer.js:1033:29)\r\n    at TextEditor.module.exports.TextEditor.scanInBufferRange (/usr/share/atom-beta/resources/app/src/text-editor.js:2737:32)\r\n    at HighlightedAreaView.module.exports.HighlightedAreaView.highlightSelectionInEditor (/packages/highlight-selected/lib/highlighted-area-view.coffee:151:12)\r\n    at /packages/highlight-selected/lib/highlighted-area-view.coffee:136:10\r\n    at Array.forEach (native)\r\n    at HighlightedAreaView.module.exports.HighlightedAreaView.handleSelection (/packages/highlight-selected/lib/highlighted-area-view.coffee:135:27)\r\n    at HighlightedAreaView.handleSelection (/packages/highlight-selected/lib/highlighted-area-view.coffee:1:1)\r\n    at /packages/highlight-selected/lib/highlighted-area-view.coffee:62:8\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:42.1.0 core:confirm (input.hidden-input)\r\n  3x -0:42 blur (input.hidden-input)\r\n     -0:39.8.0 intentions:highlight (input.hidden-input)\r\n     -0:39.4.0 fuzzy-finder:toggle-file-finder (input.hidden-input)\r\n  3x -0:39.4.0 blur (input.hidden-input)\r\n     -0:37.9.0 core:confirm (input.hidden-input)\r\n 16x -0:37.9.0 blur (input.hidden-input)\r\n     -0:17.9.0 vim-mode-plus:move-down (input.hidden-input)\r\n     -0:17.7.0 intentions:highlight (input.hidden-input)\r\n  9x -0:17.6.0 editor:move-to-beginning-of-word (input.hidden-input)\r\n     -0:15.6.0 vim-mode-plus:activate-insert-mode (input.hidden-input)\r\n     -0:15.4.0 intentions:highlight (input.hidden-input)\r\n     -0:15.2.0 editor:select-to-end-of-word (input.hidden-input)\r\n     -0:14.5.0 core:backspace (input.hidden-input)\r\n  2x -0:14 core:delete (input.hidden-input)\r\n  4x -0:11.4.0 blur (input.hidden-input)\r\n```\r\n\r\n### Non-Core Packages\r\n\r\n```\r\nadvanced-open-file 0.16.6 \r\natom-clock 0.1.13 \r\natom-material-syntax 1.0.6 \r\natom-material-syntax-dark 0.2.7 \r\natom-material-ui 2.0.4 \r\nbusy-signal 1.4.3 \r\ndocblockr 0.11.0 \r\neditorconfig 2.2.2 \r\nex-mode-hb 0.16.0 \r\nfile-icons 2.1.10 \r\nfile-watcher 1.1.0 \r\nfuzzy-finder-hb 1.5.8 \r\nhighlight-selected 0.13.1 \r\nhyperclick 0.1.3 \r\nintentions 1.1.5 \r\nlanguage-blade 0.34.0 \r\nlanguage-diff 0.7.0 \r\nlanguage-docker 1.1.8 \r\nlanguage-ini 1.19.0 \r\nlanguage-nginx 0.8.0 \r\nlanguage-vue 0.23.1 \r\nless-than-slash 0.17.0 \r\nlinter 2.2.0 \r\nlinter-eslint 8.2.1 \r\nlinter-ui-default 1.6.4 \r\nminimap-find-and-replace 4.5.2 \r\nminimap-hide 0.3.0 \r\nminimap-highlight-selected 4.6.1 \r\nminimap-plus 4.29.2 \r\nminimap-selection 4.5.0 \r\nnord-atom-ui 0.11.0 \r\nnorthem-dark-atom-ui 2.1.0 \r\nnucleus-dark-ui 0.12.3 \r\npackage-sync 1.1.0 \r\nphp-cs-fixer 4.1.0 \r\nphp-integrator-annotations 1.2.0 \r\nphp-integrator-autocomplete-plus 1.6.0 \r\nphp-integrator-base 3.0.1 \r\nphp-integrator-navigation 1.2.1 \r\nphp-integrator-refactoring 1.4.1 \r\nphp-twig 4.0.0 \r\nproject-manager 3.3.5 \r\nvim-mode-plus 0.96.2 \r\nvim-mode-plus-keymaps-for-surround 0.2.1 \r\nwakatime 7.0.3 \r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/atom-minimap/minimap/issues/comments/324429273","html_url":"https://github.com/atom-minimap/minimap/issues/626#issuecomment-324429273","issue_url":"https://api.github.com/repos/atom-minimap/minimap/issues/626","id":324429273,"user":{"login":"jarheck","id":13035594,"avatar_url":"https://avatars0.githubusercontent.com/u/13035594?v=4","gravatar_id":"","url":"https://api.github.com/users/jarheck","html_url":"https://github.com/jarheck","followers_url":"https://api.github.com/users/jarheck/followers","following_url":"https://api.github.com/users/jarheck/following{/other_user}","gists_url":"https://api.github.com/users/jarheck/gists{/gist_id}","starred_url":"https://api.github.com/users/jarheck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarheck/subscriptions","organizations_url":"https://api.github.com/users/jarheck/orgs","repos_url":"https://api.github.com/users/jarheck/repos","events_url":"https://api.github.com/users/jarheck/events{/privacy}","received_events_url":"https://api.github.com/users/jarheck/received_events","type":"User","site_admin":false},"created_at":"2017-08-23T18:52:31Z","updated_at":"2017-08-23T18:52:31Z","body":"This is easily reproducible for me when ever you right click on a tab and choose \"split left\", no split happens but when I restart the split is now visible"}}
{"actor":{"display_login":"jarheck"}}