{"action":"created","issue":{"url":"https://api.github.com/repos/atom/bracket-matcher/issues/376","repository_url":"https://api.github.com/repos/atom/bracket-matcher","labels_url":"https://api.github.com/repos/atom/bracket-matcher/issues/376/labels{/name}","comments_url":"https://api.github.com/repos/atom/bracket-matcher/issues/376/comments","events_url":"https://api.github.com/repos/atom/bracket-matcher/issues/376/events","html_url":"https://github.com/atom/bracket-matcher/issues/376","id":391908983,"node_id":"MDU6SXNzdWUzOTE5MDg5ODM=","number":376,"title":"Uncaught TypeError: Cannot destructure property `startRange` of 'undefined' or 'null'.","user":{"login":"move[bot]","id":33596368,"node_id":"MDM6Qm90MzM1OTYzNjg=","avatar_url":"https://avatars1.githubusercontent.com/in/6673?v=4","gravatar_id":"","url":"https://api.github.com/users/move%5Bbot%5D","html_url":"https://github.com/apps/move","followers_url":"https://api.github.com/users/move%5Bbot%5D/followers","following_url":"https://api.github.com/users/move%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/move%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/move%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/move%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/move%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/move%5Bbot%5D/repos","events_url":"https://api.github.com/users/move%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/move%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-17T22:04:43Z","updated_at":"2018-12-17T23:01:43Z","closed_at":null,"author_association":"NONE","body":"*@kheuton commented on Dec 14, 2018, 7:48 PM UTC:*\n\n1.  Open any file\n2.  Outside of parenthesis, square-brackets, or curly-brackets (`()`, `[]`, `{}`), press `Ctrl+⌘+M`\n\nI'm not sure where the `Ctrl+⌘+M` shortcut came from (I was fumbling for the Show Markdown Preview), but it appears to highlight code between brackets. Outside of these, it raises this error.\n\n**Atom**: 1.33.0 x64\n**Electron**: 2.0.11\n**OS**: Mac OS X 10.14.2\n**Thrown From**: Atom Core\n\n### Stack Trace\n\nUncaught TypeError: Cannot destructure property `startRange` of 'undefined' or 'null'.\n\n```\nAt /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11\n\nTypeError: Cannot destructure property `startRange` of 'undefined' or 'null'.\n    at BracketMatcherView.selectInsideBrackets (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:682478)\n    at HTMLElement.BracketMatcherView.subscriptions.add.atom.commands.add (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:672488)\n    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349858)\n    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1231210)\n    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1227344)\n    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:285037)\n\n```\n\n### Commands\n\n```\n     -0:05.1.0 bracket-matcher:select-inside-brackets (input.hidden-input)\n\n```\n\n### Non-Core Packages\n\n```\natom-ide-ui 0.12.0 \nautocomplete-python 1.10.5 \nbuild 0.70.0 \nbusy-signal 1.4.3 \nide-java 0.8.3 \nide-python 0.9.2 \nide-scala 0.7.0 \nintentions 1.1.5 \nlanguage-scala 1.1.9 \nlinter 2.2.0 \nlinter-flake8 2.3.0 \nlinter-pycodestyle 2.1.3 \nlinter-pydocstyle 0.4.7 \nlinter-scalac 1.4.4 \nlinter-ui-default 1.7.1 \nsplit-diff 1.5.2 \n\n```\n\n*This issue was moved by [rsese](https://github.com/rsese) from [atom/atom#18585](https://github.com/atom/atom/issues/18585).*"},"comment":{"url":"https://api.github.com/repos/atom/bracket-matcher/issues/comments/448031809","html_url":"https://github.com/atom/bracket-matcher/issues/376#issuecomment-448031809","issue_url":"https://api.github.com/repos/atom/bracket-matcher/issues/376","id":448031809,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODAzMTgwOQ==","user":{"login":"rsese","id":734194,"node_id":"MDQ6VXNlcjczNDE5NA==","avatar_url":"https://avatars1.githubusercontent.com/u/734194?v=4","gravatar_id":"","url":"https://api.github.com/users/rsese","html_url":"https://github.com/rsese","followers_url":"https://api.github.com/users/rsese/followers","following_url":"https://api.github.com/users/rsese/following{/other_user}","gists_url":"https://api.github.com/users/rsese/gists{/gist_id}","starred_url":"https://api.github.com/users/rsese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsese/subscriptions","organizations_url":"https://api.github.com/users/rsese/orgs","repos_url":"https://api.github.com/users/rsese/repos","events_url":"https://api.github.com/users/rsese/events{/privacy}","received_events_url":"https://api.github.com/users/rsese/received_events","type":"User","site_admin":true},"created_at":"2018-12-17T23:01:43Z","updated_at":"2018-12-17T23:01:43Z","author_association":"MEMBER","body":"Thanks for the report!    I was unable to reproduce on 1.32.2 on macOS 10.12.6 but then I updated to 1.33.0 and see the error, more detailed repro steps:\r\n\r\n1. Create a file test.txt with this content:\r\n\r\n```text\r\n(hello world)\r\n```\r\n2. Position your cursor before or after the closing parenthesis (couldn't reproduce with the opening paren)\r\n3. `Bracket Matcher: Select Inside Matching Bracket` (<kbd>ctrl-cmd-m</kbd> on macOS)\r\n4. `Bracket Matcher: Select Inside Matching Bracket` (<kbd>ctrl-cmd-m</kbd> on macOS) a second time\r\n\r\n"}}
{"actor":{"display_login":"rsese"}}