{"action":"opened","issue":{"url":"https://api.github.com/repos/atom/atom/issues/7183","labels_url":"https://api.github.com/repos/atom/atom/issues/7183/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/7183/comments","events_url":"https://api.github.com/repos/atom/atom/issues/7183/events","html_url":"https://github.com/atom/atom/issues/7183","id":86583922,"number":7183,"title":"Uncaught TypeError: Cannot read property 'highlights' of undefined","user":{"login":"izuzak","id":38924,"avatar_url":"https://avatars.githubusercontent.com/u/38924?v=3","gravatar_id":"","url":"https://api.github.com/users/izuzak","html_url":"https://github.com/izuzak","followers_url":"https://api.github.com/users/izuzak/followers","following_url":"https://api.github.com/users/izuzak/following{/other_user}","gists_url":"https://api.github.com/users/izuzak/gists{/gist_id}","starred_url":"https://api.github.com/users/izuzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izuzak/subscriptions","organizations_url":"https://api.github.com/users/izuzak/orgs","repos_url":"https://api.github.com/users/izuzak/repos","events_url":"https://api.github.com/users/izuzak/events{/privacy}","received_events_url":"https://api.github.com/users/izuzak/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/atom/atom/labels/editor-rendering","name":"editor-rendering","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-09T12:35:01Z","updated_at":"2015-06-09T12:35:01Z","closed_at":null,"body":"I was editing a CoffeeScript file, so I don't think this is related to the latex and xmllint packages I had installed at the time. It happened a few seconds after I unfolded a fold while editor had some search results highlighted.\r\n\r\nWill try to reproduce, but so far I've been unsuccessful. cc @nathansobo for :eyes:\r\n\r\n**Atom Version**: 0.208.0-c06d62e\r\n**System**: Mac OS X 10.10.3\r\n**Thrown From**: Atom Core\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'highlights' of undefined\r\n\r\n```\r\nAt /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:1654\r\n\r\nTypeError: Cannot read property 'highlights' of undefined\r\n  at TextEditorPresenter.module.exports.TextEditorPresenter.updateHighlightState (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:1654:25)\r\n  at TextEditorPresenter.module.exports.TextEditorPresenter.updateDecorations (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:1518:18)\r\n  at TextEditorPresenter.module.exports.TextEditorPresenter.getState (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-presenter.js:130:14)\r\n  at TextEditorComponent.module.exports.TextEditorComponent.updateSync (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:182:38)\r\n  at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:298:28\r\n  at ViewRegistry.module.exports.ViewRegistry.performDocumentUpdate (/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:168:9)\r\n  at /Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:3:61\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -1:33.5.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)\r\n     -1:33.5.0 snippets:expand (atom-text-editor.editor.is-focused)\r\n     -1:33.5.0 editor:indent (atom-text-editor.editor.is-focused)\r\n  4x -1:33 core:backspace (atom-text-editor.editor.is-focused)\r\n  2x -1:08.8.0 editor:select-to-beginning-of-word (atom-text-editor.editor.is-focused.autocomplete-active)\r\n  2x -1:07.6.0 core:backspace (atom-text-editor.editor.is-focused)\r\n  6x -1:05.9.0 editor:select-to-beginning-of-word (atom-text-editor.editor.is-focused)\r\n  3x -1:03.0 editor:select-to-end-of-word (atom-text-editor.editor.is-focused)\r\n  3x -1:02.2.0 editor:select-to-beginning-of-word (atom-text-editor.editor.is-focused)\r\n  3x -1:00.4.0 core:select-right (atom-text-editor.editor.is-focused)\r\n     -0:56.7.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)\r\n  3x -0:39.4.0 editor:select-to-end-of-word (atom-text-editor.editor.is-focused)\r\n  2x -0:38.4.0 core:backspace (atom-text-editor.editor.is-focused)\r\n  5x -0:37.9.0 editor:move-to-beginning-of-word (atom-text-editor.editor.is-focused)\r\n     -0:36.9.0 editor:select-to-end-of-word (atom-text-editor.editor.is-focused)\r\n     -0:07.3.0 editor:newline (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  \"editor\": {\r\n    \"fontSize\": 20,\r\n    \"invisibles\": {},\r\n    \"softWrapAtPreferredLineLength\": true,\r\n    \"showInvisibles\": true,\r\n    \"tabLength\": 4,\r\n    \"softWrap\": true\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nlanguage-latex, v0.6.1\r\nlinter, v0.12.6\r\nlinter-xmllint, v0.0.6\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n"}}