Skip to content

Uncaught TypeError: Cannot read property 'visibleMarkerLayer' of undefined #223

@yha

Description

@yha

same as #179?

  1. I was not seeing any highlights, so I disabled and re-enabled the extension. Highlights returned, but scrollbar highlighting still wasn't working, so I also unchecked and re-checked "Show Results On Scroll Bar", which didn't help.
  2. After a while, highlights were gone again. This time, I started by unchecking and re-checking "Show Results On Scroll Bar", which triggered this error.

Atom: 1.46.0 x64
Electron: 4.2.7
OS: Microsoft Windows 10 Enterprise
Thrown From: highlight-selected package 0.17.0

Stack Trace

Uncaught TypeError: Cannot read property 'visibleMarkerLayer' of undefined

At C:\Users\sternlab\.atom\packages\highlight-selected\lib\scroll-markers\scroll-markers-service.js:73

TypeError: Cannot read property 'visibleMarkerLayer' of undefined
    at ScrollMarkersService.setScrollMarkerView (/packages/highlight-selected/lib/scroll-markers/scroll-markers-service.js:73:81)
    at atom.workspace.getTextEditors.forEach.editor (/packages/highlight-selected/lib/scroll-markers/scroll-markers-service.js:55:66)
    at Array.forEach (<anonymous>)
    at enableScrollViewObserveSubscription.atom.config.observe.enabled (/packages/highlight-selected/lib/scroll-markers/scroll-markers-service.js:55:43)
    at onDidChangeKeyPath.e (~/AppData/Local/atom-1.64.0/resources/app/static/<embedded>:11:334720)
    at emitter.on (~/AppData/Local/atom-1.64.0/resources/app/static/<embedded>:11:334901)
    at Function.simpleDispatch (~/AppData/Local/atom-1.64.0/resources/app/static/<embedded>:11:1215907)
    at Emitter.emit (~/AppData/Local/atom-1.64.0/resources/app/static/<embedded>:11:1217348)
    at Config.emitChangeEvent (~/AppData/Local/atom-1.64.0/resources/app/static/<embedded>:11:337389)
    at Config.setRawValue (~/AppData/Local/atom-1.64.0/resources/app/static/<embedded>:11:334629)
    at Config.set (~/AppData/Local/atom-1.64.0/resources/app/static/<embedded>:11:330423)
    at SettingsPanel.set (~/AppData/Local/atom-1.64.0/resources/app/static/<embedded>:14:2621127)
    at HTMLInputElement.changeHandler (~/AppData/Local/atom-1.64.0/resources/app/static/<embedded>:14:2619914)

Commands

     -7:04.2.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
     -7:02.4.0 find-and-replace:show (input.hidden-input)
  3x -7:00.3.0 core:backspace (input.hidden-input)
     -6:57.8.0 core:confirm (input.hidden-input)
 10x -6:56.6.0 find-and-replace:find-next (input.hidden-input)
     -6:42.8.0 julia-client:run-cell (input.hidden-input)
     -6:40.8.0 editor:move-to-first-character-of-line (input.hidden-input)
  2x -6:40.4.0 core:select-down (input.hidden-input)
     -6:39.9.0 core:delete (input.hidden-input)
     -6:39.5.0 core:move-up (input.hidden-input)
     -6:35.8.0 go-to-line:toggle (input.hidden-input)
     -6:34.9.0 core:cancel (input.hidden-input)
     -6:32.9.0 core:close (input.hidden-input)
     -6:31.2.0 application:open-file (input.hidden-input)
     -6:29.9.0 core:save (input.hidden-input)
  2x -6:24.1.0 julia-client:run-cell (input.hidden-input)

Non-Core Packages

highlight-selected 0.17.0 
indent-detective 0.4.0 
ink 0.12.5 
julia-client 0.12.6 
language-julia 0.19.3 
language-latex 1.2.0 
latex 0.50.2 
latex-completions 0.3.6 
minimap 4.29.9 
scroll-marker 0.3.2 
tool-bar 1.3.0 
uber-juno 0.3.0 
vim-mode-plus 1.36.4 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions