Pulsar-Edit-Highlights / selected

@Pulsar-Edit package for highlighting occurrences of your selection.
https://web.pulsar-edit.dev/packages/highlight-selected
MIT License
248 stars 67 forks source link

Uncaught TypeError: Cannot read property 'DecorationManagement' of undefined #231

Open RajinTech opened 3 years ago

RajinTech commented 3 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.54.0 x64 Electron: 6.1.12 OS: macOS 11.1 Thrown From: highlight-selected package 0.17.0

Stack Trace

Uncaught TypeError: Cannot read property 'DecorationManagement' of undefined

At /Users/rks/.atom/packages/highlight-selected/lib/search-model.js:230

TypeError: Cannot read property 'DecorationManagement' of undefined
    at ei.getDecorationManagement (/packages/minimap/dist/main-0471cbc5.js:1:93338)
    at ei.decorateMarker (/packages/minimap/dist/main-0471cbc5.js:1:94155)
    at Object.markerCreated (/packages/minimap-highlight-selected/lib/minimap-highlight-selected.js:71:12)
    at /packages/minimap-highlight-selected/lib/minimap-highlight-selected.js:47:66
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1190181)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1191622)
    at /packages/highlight-selected/lib/search-model.js:215:41
    at TextBuffer.scanInRange (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:495557)
    at TextBuffer.scan (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:495013)
    at TextEditor.scan (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:40885)
    at SearchModel.highlightSelectionInEditor (/packages/highlight-selected/lib/search-model.js:176:14)
    at /packages/highlight-selected/lib/search-model.js:129:21
    at Array.forEach (<anonymous>)
    at SearchModel.handleSelection (/packages/highlight-selected/lib/search-model.js:128:26)
    at /packages/highlight-selected/lib/selection-manager.js:96:26)
    at later (/packages/highlight-selected/node_modules/debounce/index.js:27:23)

Commands

     -6:42.5.0 core:save (input.hidden-input)
     -6:08.3.0 core:move-left (input.hidden-input)
     -6:07.6.0 core:backspace (input.hidden-input)
 17x -6:07.0 core:move-left (input.hidden-input)
     -6:04.4.0 core:move-right (input.hidden-input)
  3x -5:57.9.0 core:move-down (input.hidden-input)
     -5:56.6.0 autocomplete-plus:confirm (input.hidden-input)
     -5:53.6.0 core:save (input.hidden-input)
  5x -5:38.2.0 core:undo (input.hidden-input)
  3x -5:27.1.0 core:redo (input.hidden-input)
     -5:24.5.0 core:undo (input.hidden-input)
  2x -5:01.0 core:save (input.hidden-input)
  5x -3:48 find-and-replace:select-next (input.hidden-input)
     -3:40.1.0 core:save (input.hidden-input)
     -2:54.6.0 minimap:toggle (input.hidden-input)
     -0:31.1.0 core:backspace (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
auto-update-packages 1.0.1 
autoclose-html-plus 0.27.2 
busy-signal 2.0.1 
emmet 2.4.3 
highlight-selected 0.17.0 
intentions 1.1.5 
linter 3.2.3 
linter-bootlint 1.1.9 
linter-csslint 2.0.6 
linter-erb 1.1.5 
linter-flake8 2.4.0 
linter-htmlhint 1.6.3 
linter-js-yaml 1.4.6 
linter-jshint 3.1.19 
linter-jsonlint 1.4.0 
linter-matlab 1.3.0 
linter-php 1.6.1 
linter-ruby 1.3.1 
linter-sass-lint 1.9.0 
linter-ui-default 2.4.1 
minimap 4.39.0 
minimap-cursorline 1.0.1 
minimap-find-and-replace 5.0.7 
minimap-highlight-selected 4.6.4 
minimap-pigments 0.2.2 
pigments 0.40.6