Pulsar-Edit-Highlights / line

@Pulsar-Edit package for highlighting the currently selected line.
https://web.pulsar-edit.dev/packages/highlight-line
MIT License
52 stars 16 forks source link

Uncaught Error: Cannot decorate a destroyed marker #88

Closed iCodeForBananas closed 4 years ago

iCodeForBananas commented 7 years ago

[Enter steps to reproduce:]

  1. I had just opened Atom
  2. Went back into Chrome and then clicked to edit a line of code

Not really sure what happened, but this is one of my favorite packages.

Atom: 1.18.0 x64 Electron: 1.3.15 OS: Mac OS X 10.12.5 Thrown From: highlight-line package 0.12.0

Stack Trace

Uncaught Error: Cannot decorate a destroyed marker

At /Applications/Atom.app/Contents/Resources/app/src/decoration-manager.js:204

Error: Cannot decorate a destroyed marker
    at DecorationManager.module.exports.DecorationManager.decorateMarker (/Applications/Atom.app/Contents/Resources/app/src/decoration-manager.js:194:23)
    at TextEditor.module.exports.TextEditor.decorateMarker (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:1737:43)
    at HighlightLineView.module.exports.HighlightLineView.createDecoration (/packages/highlight-line/lib/highlight-line-model.coffee:87:8)
    at HighlightLineView.createDecoration (/packages/highlight-line/lib/highlight-line-model.coffee:1:1)
    at HighlightLineView.module.exports.HighlightLineView.handleSingleLine (/packages/highlight-line/lib/highlight-line-model.coffee:54:14)
    at HighlightLineView.handleSingleLine (/packages/highlight-line/lib/highlight-line-model.coffee:1:1)
    at HighlightLineView.module.exports.HighlightLineView.showHighlight (/packages/highlight-line/lib/highlight-line-model.coffee:45:6)
    at HighlightLineView.showHighlight (/packages/highlight-line/lib/highlight-line-model.coffee:1:1)
    at HighlightLineView.module.exports.HighlightLineView.updateSelectedLine (/packages/highlight-line/lib/highlight-line-model.coffee:34:6)
    at /packages/highlight-line/lib/highlight-line-model.coffee:1:1
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at Workspace.didActivatePaneContainer (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:478:28)
    at Dock.subscriptions.CompositeDisposable.paneContainer.onDidActivatePane (/Applications/Atom.app/Contents/Resources/app/src/dock.js:58:20)
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at PaneContainer.didActivatePane (/Applications/Atom.app/Contents/Resources/app/src/pane-container.js:260:24)
    at Pane.module.exports.Pane.activate (/Applications/Atom.app/Contents/Resources/app/src/pane.js:875:20)
    at Pane.module.exports.Pane.focus (/Applications/Atom.app/Contents/Resources/app/src/pane.js:269:25)
    at atom-pane.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/pane-element.js:51:25)

Commands

Non-Core Packages

atom-react-autocomplete 0.1.10 
auto-update-packages 1.0.1 
autoclose-html 0.23.0 
autocomplete-modules 1.6.10 
autocomplete-nunjucks 0.5.0 
busy-signal 1.4.3 
chester-atom-syntax 0.2.0 
config-import-export 0.3.1 
custom-title 1.0.1 
docblockr 0.10.3 
editorconfig 2.2.2 
emmet 2.4.3 
file-icons 2.1.7 
git-plus 7.9.3 
highlight-line 0.12.0 
highlight-selected 0.13.1 
intentions 1.1.2 
keys-typed-tracker 2.1.1 
language-babel 2.66.0 
language-blade 0.31.0 
language-gitignore 0.3.0 
language-nunjucks 4.1.0 
linter 2.2.0 
linter-coffeescript 1.0.0 
linter-js-standard 3.9.1 
linter-sass-lint 1.7.4 
linter-ui-default 1.6.1 
merge-conflicts 1.4.5 
prettier-atom 0.33.0 
prettier-standard-formatter 0.0.5 
pristine-ui 1.0.15 
project-quick-open 0.5.0 
pure-syntax 0.2.1 
sort-lines 0.14.0 
standard-formatter 2.8.0 
status-bar-blame 1.2.0 
typewriter 0.7.0 
zentabs 0.8.8