{"action":"reopened","issue":{"url":"https://api.github.com/repos/atom/bracket-matcher/issues/102","labels_url":"https://api.github.com/repos/atom/bracket-matcher/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/atom/bracket-matcher/issues/102/comments","events_url":"https://api.github.com/repos/atom/bracket-matcher/issues/102/events","html_url":"https://github.com/atom/bracket-matcher/issues/102","id":56083675,"number":102,"title":"Uncaught TypeError: Cannot read property 'isEmpty' of undefined","user":{"login":"rachel-carvalho","id":446046,"avatar_url":"https://avatars.githubusercontent.com/u/446046?v=3","gravatar_id":"","url":"https://api.github.com/users/rachel-carvalho","html_url":"https://github.com/rachel-carvalho","followers_url":"https://api.github.com/users/rachel-carvalho/followers","following_url":"https://api.github.com/users/rachel-carvalho/following{/other_user}","gists_url":"https://api.github.com/users/rachel-carvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/rachel-carvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rachel-carvalho/subscriptions","organizations_url":"https://api.github.com/users/rachel-carvalho/orgs","repos_url":"https://api.github.com/users/rachel-carvalho/repos","events_url":"https://api.github.com/users/rachel-carvalho/events{/privacy}","received_events_url":"https://api.github.com/users/rachel-carvalho/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/bracket-matcher/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-01-30T20:56:25Z","updated_at":"2015-07-24T01:15:31Z","closed_at":null,"body":"On a .less file, over a samba share:\r\n\r\n1. Used a snippet\r\n2. Cut last line of generated text\r\n3. Select whole file until line before end\r\n4. Press TAB\r\n\r\n**Atom Version**: 0.176.0\r\n**System**: Mac OS X 10.10.1\r\n**Thrown From**: [bracket-matcher](https://github.com/atom/bracket-matcher) package, v0.69.0\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'isEmpty' of undefined\r\n\r\n```\r\nAt /Applications/Atom.app/Contents/Resources/app/src/workspace.js:710\r\n\r\nTypeError: Cannot read property 'isEmpty' of undefined\r\n  at BracketMatcherView.module.exports.BracketMatcherView.updateMatch (/Applications/Atom.app/Contents/Resources/app/node_modules/bracket-matcher/lib/bracket-matcher-view.js:108:42)\r\n  at /Applications/Atom.app/Contents/Resources/app/node_modules/bracket-matcher/lib/bracket-matcher-view.js:40:24\r\n  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:82:11)\r\n  at /Applications/Atom.app/Contents/Resources/app/src/text-editor.js:210:32\r\n  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:82:11)\r\n  at DisplayBuffer.module.exports.DisplayBuffer.emitDidChange (/Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:320:20)\r\n  at DisplayBuffer.module.exports.DisplayBuffer.handleBufferMarkersUpdated (/Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:1588:21)\r\n  at /Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:5:61\r\n  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/service-hub/node_modules/event-kit/lib/emitter.js:82:11)\r\n  at TextBuffer.module.exports.TextBuffer.applyPatch (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:599:20)\r\n  at BufferPatch.module.exports.BufferPatch.applyTo (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/buffer-patch.js:74:21)\r\n  at Transaction.module.exports.Transaction.applyTo (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/transaction.js:60:29)\r\n  at History.module.exports.History.abortTransaction (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/history.js:165:24)\r\n  at History.module.exports.History.transact (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/history.js:122:16)\r\n  at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:687:27)\r\n  at /Applications/Atom.app/Contents/Resources/app/node_modules/whitespace/lib/whitespace.js:52:25\r\n  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/service-hub/node_modules/event-kit/lib/emitter.js:82:11)\r\n  at TextBuffer.module.exports.TextBuffer.saveAs (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:965:20)\r\n  at TextBuffer.module.exports.TextBuffer.save (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:958:19)\r\n  at TextEditor.module.exports.TextEditor.save (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:620:26)\r\n  at Pane.module.exports.Pane.saveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:538:16)\r\n  at Pane.module.exports.Pane.saveActiveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:522:19)\r\n  at Workspace.module.exports.Workspace.saveActivePaneItemAndReportErrors (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:689:44)\r\n  at Workspace.module.exports.Workspace.saveActivePaneItem (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:679:19)\r\n  at atom-workspace.atom.commands.add.core:save (/Applications/Atom.app/Contents/Resources/app/src/workspace-element.js:295:30)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)\r\n  at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61\r\n  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)\r\n  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:396:22)\r\n  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:170:20)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  2x -0:21.6 editor:newline (atom-text-editor.editor.is-focused)\r\n     -0:21.1 snippets:next-tab-stop (atom-text-editor.editor.is-focused)\r\n     -0:21.0 snippets:expand (atom-text-editor.editor.is-focused)\r\n     -0:15.7 editor:move-to-beginning-of-word (input)\r\n     -0:15.1 core:move-left (atom-text-editor.editor.is-focused)\r\n     -0:14.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)\r\n     -0:13.3 core:move-up (atom-text-editor.editor.is-focused)\r\n     -0:12.7 core:cut (atom-text-editor.editor.is-focused)\r\n     -0:11.8 core:select-down (atom-text-editor.editor.is-focused)\r\n     -0:11.5 core:cut (atom-text-editor.editor.is-focused)\r\n     -0:11.1 core:move-up (atom-text-editor.editor.is-focused)\r\n     -0:10.4 core:move-down (atom-text-editor.editor.is-focused)\r\n     -0:10.0 core:select-to-bottom (atom-text-editor.editor.is-focused)\r\n     -0:09.4 core:select-up (atom-text-editor.editor.is-focused)\r\n     -0:08.8 snippets:next-tab-stop (atom-text-editor.editor.is-focused)\r\n     -0:01.4 core:save (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"remember-session\",\r\n      \"linter-jshint\",\r\n      \"merge-conflicts\"\r\n    ],\r\n    \"themes\": [\r\n      \"atom-dark-ui\",\r\n      \"monokai\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-color-highlight, v3.0.5\r\nautoclose-html, v0.14.0\r\nautocomplete-plus, v1.1.0\r\nfile-types, v0.3.0\r\nhighlight-line, v0.9.3\r\nlanguage-jade, v0.3.0\r\nlanguage-smarty-php, v0.4.0\r\nlinter, v0.10.1\r\nlinter-jscs, v1.4.9\r\nmonokai, v0.11.0\r\nsave-session, v0.11.3\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n/cc @atom/core"}}