Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: editor.addMarkerLayer is not a function #165

Open
Overload119 opened this issue Mar 7, 2018 · 1 comment
Open

Uncaught TypeError: editor.addMarkerLayer is not a function #165

Overload119 opened this issue Mar 7, 2018 · 1 comment

Comments

@Overload119
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.24.0 x64
Electron: 1.6.16
OS: Mac OS X 10.13.3
Thrown From: highlight-selected package 0.13.1

Stack Trace

Uncaught TypeError: editor.addMarkerLayer is not a function

At /Users/asharifr/.atom/packages/highlight-selected/lib/highlighted-area-view.coffee:143

TypeError: editor.addMarkerLayer is not a function
    at HighlightedAreaView.module.exports.HighlightedAreaView.highlightSelectionInEditor (/packages/highlight-selected/lib/highlighted-area-view.coffee:143:27)
    at /packages/highlight-selected/lib/highlighted-area-view.coffee:136:10
    at Array.forEach (native)
    at HighlightedAreaView.module.exports.HighlightedAreaView.handleSelection (/packages/highlight-selected/lib/highlighted-area-view.coffee:135:27)
    at HighlightedAreaView.handleSelection (/packages/highlight-selected/lib/highlighted-area-view.coffee:1:1)
    at /packages/highlight-selected/lib/highlighted-area-view.coffee:62:8

Commands

     -0:10.6.0 editor:select-to-beginning-of-word (input.hidden-input)
     -0:10.5.0 editor:select-to-end-of-word (input.hidden-input)
     -0:10.4.0 editor:select-to-beginning-of-word (input.hidden-input)
     -0:10.3.0 editor:select-to-end-of-word (input.hidden-input)
     -0:10.2.0 editor:select-to-beginning-of-word (input.hidden-input)
     -0:10.1.0 editor:select-to-end-of-word (input.hidden-input)
     -0:09.8.0 editor:select-to-beginning-of-word (input.hidden-input)
     -0:09.5.0 datatip:toggle (input.hidden-input)
     -0:04.4.0 editor:move-to-first-character-of-line (input.hidden-input)
     -0:04.4.0 editor:move-to-end-of-screen-line (input.hidden-input)
     -0:04.3.0 editor:move-to-first-character-of-line (input.hidden-input)
     -0:04.2.0 editor:move-to-end-of-screen-line (input.hidden-input)
     -0:03.8.0 datatip:toggle (input.hidden-input)
  2x -0:03.8.0 editor:move-to-beginning-of-word (input.hidden-input)
     -0:02.6.0 editor:select-to-end-of-word (input.hidden-input)
     -0:02.1.0 datatip:toggle (input.hidden-input)

Non-Core Packages

color-picker 2.2.5 
copy-filename 1.1.0 
cursor-history 0.13.1 
expand-selection-to-indentation 0.4.0 
file-icons 2.1.17 
highlight-selected 0.13.1 
indent-sort 0.5.0 
language-babel 2.84.0 
language-graphql 0.9.0 
language-haskell 1.17.3 
language-ini 1.19.0 
language-lua 0.9.11 
language-ocaml 1.9.5 
language-rust 0.4.12 
language-scala 1.1.9 
language-swift 0.5.0 
language-thrift 1.0.2 
MagicPython 1.0.12 
nuclide 0.287.95784552 
nuclide-format-js 0.0.44 
recent-files-fuzzy-finder 0.4.0 
set-syntax 0.4.0 
sort-lines 0.18.0 
tool-bar 1.1.6 
@el1t
Copy link

el1t commented May 31, 2018

Still happens on atom 1.27.1, package version 0.13.1. Seems like an issue with highlighting in read-only panes. To reproduce:

  1. Enable "Highlight In Panes"
  2. Open a normal pane
  3. Open a read-only pane
  4. Highlight in the normal pane

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants