{"action":"created","issue":{"url":"https://api.github.com/repos/abe33/atom-color-highlight/issues/67","labels_url":"https://api.github.com/repos/abe33/atom-color-highlight/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/abe33/atom-color-highlight/issues/67/comments","events_url":"https://api.github.com/repos/abe33/atom-color-highlight/issues/67/events","html_url":"https://github.com/abe33/atom-color-highlight/issues/67","id":53633784,"number":67,"title":"Uncaught type error","user":{"login":"smlombardi","id":835148,"avatar_url":"https://avatars.githubusercontent.com/u/835148?v=3","gravatar_id":"","url":"https://api.github.com/users/smlombardi","html_url":"https://github.com/smlombardi","followers_url":"https://api.github.com/users/smlombardi/followers","following_url":"https://api.github.com/users/smlombardi/following{/other_user}","gists_url":"https://api.github.com/users/smlombardi/gists{/gist_id}","starred_url":"https://api.github.com/users/smlombardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smlombardi/subscriptions","organizations_url":"https://api.github.com/users/smlombardi/orgs","repos_url":"https://api.github.com/users/smlombardi/repos","events_url":"https://api.github.com/users/smlombardi/events{/privacy}","received_events_url":"https://api.github.com/users/smlombardi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-07T13:49:36Z","updated_at":"2015-01-07T14:02:21Z","closed_at":null,"body":"Today, while editing an SVG file, I invoked the Emmet \"wrap\" command (ctrl-w) and started to type a \"g\" take to wrap my svg paths in a group.\r\n\r\nThe svg file was displaying color tokens, even though i really didnt need them.\r\n\r\nI got this:\r\n\r\n![screen shot 2015-01-07 at 8 44 16 am](https://cloud.githubusercontent.com/assets/835148/5646435/0ab35aa8-964a-11e4-85d6-87db1ffb1189.png)\r\n\r\nStack trace:\r\n```\r\nTypeError: Cannot read property 'tokenAtBufferColumn' of undefined\r\n  at TokenizedBuffer.module.exports.TokenizedBuffer.tokenForPosition (/Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:503:38)\r\n  at TokenizedBuffer.module.exports.TokenizedBuffer.scopeDescriptorForPosition (/Applications/Atom.app/Contents/Resources/app/src/tokenized-buffer.js:496:22)\r\n  at DisplayBuffer.module.exports.DisplayBuffer.scopeDescriptorForBufferPosition (/Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:1044:35)\r\n  at color-marker.module.exports.MarkerMixin.getScope (/Users/stevelombardi/.atom/packages/atom-color-highlight/lib/marker-mixin.coffee:59:42)\r\n  at color-marker.module.exports.MarkerMixin.hiddenDueToComment (/Users/stevelombardi/.atom/packages/atom-color-highlight/lib/marker-mixin.coffee:67:14)\r\n  at color-marker.module.exports.MarkerMixin.isHidden (/Users/stevelombardi/.atom/packages/atom-color-highlight/lib/marker-mixin.coffee:53:6)\r\n  at color-marker.module.exports.MarkerMixin.show (/Users/stevelombardi/.atom/packages/atom-color-highlight/lib/marker-mixin.coffee:18:33)\r\n  at color-marker.module.exports.MarkerMixin.updateVisibility (/Users/stevelombardi/.atom/packages/atom-color-highlight/lib/marker-mixin.coffee:43:27)\r\n  at color-marker.module.exports.MarkerMixin.onMarkerChanged (/Users/stevelombardi/.atom/packages/atom-color-highlight/lib/marker-mixin.coffee:40:6)\r\n  at /Users/stevelombardi/.atom/packages/atom-color-highlight/lib/marker-mixin.coffee:32:52\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 Marker.module.exports.Marker.resumeChangeEvents (/Applications/Atom.app/Contents/Resources/app/src/marker.js:319:38)\r\n  at DisplayBuffer.module.exports.DisplayBuffer.resumeMarkerChangeEvents (/Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:1390:16)\r\n  at DisplayBuffer.module.exports.DisplayBuffer.emitDidChange (/Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:321:19)\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/text-buffer/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:595: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.undo (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/history.js:87:24)\r\n  at TextBuffer.module.exports.TextBuffer.undo (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:675:27)\r\n  at TextEditor.module.exports.TextEditor.undo (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:1141:26)\r\n  at PromptView.module.exports.PromptView.undo (/Users/stevelombardi/.atom/packages/emmet/lib/prompt.coffee:38:11)\r\n  at PromptView.module.exports.PromptView.handleUpdate (/Users/stevelombardi/.atom/packages/emmet/lib/prompt.coffee:41:4)\r\n  at /Users/stevelombardi/.atom/packages/emmet/lib/prompt.coffee:22:5\r\n  at TextEditor.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/emissary/lib/emitter.js:118:15)\r\n  at /Applications/Atom.app/Contents/Resources/app/src/text-editor.js:171:24\r\n  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/node_modules/event-kit/lib/emitter.js:82:11)\r\n  at /Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:1142:25\r\n```"},"comment":{"url":"https://api.github.com/repos/abe33/atom-color-highlight/issues/comments/69025040","html_url":"https://github.com/abe33/atom-color-highlight/issues/67#issuecomment-69025040","issue_url":"https://api.github.com/repos/abe33/atom-color-highlight/issues/67","id":69025040,"user":{"login":"abe33","id":247140,"avatar_url":"https://avatars.githubusercontent.com/u/247140?v=3","gravatar_id":"","url":"https://api.github.com/users/abe33","html_url":"https://github.com/abe33","followers_url":"https://api.github.com/users/abe33/followers","following_url":"https://api.github.com/users/abe33/following{/other_user}","gists_url":"https://api.github.com/users/abe33/gists{/gist_id}","starred_url":"https://api.github.com/users/abe33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abe33/subscriptions","organizations_url":"https://api.github.com/users/abe33/orgs","repos_url":"https://api.github.com/users/abe33/repos","events_url":"https://api.github.com/users/abe33/events{/privacy}","received_events_url":"https://api.github.com/users/abe33/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T14:02:21Z","updated_at":"2015-01-07T14:02:21Z","body":"Can you provide the basic informations such versions of atom, atom-color-highlight, os, etc.\r\n\r\nThanks. "}}