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: escapeRegExp is not a function #152

Closed
lbighetti opened this Issue Apr 20, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@lbighetti
Copy link

lbighetti commented Apr 20, 2017

[Enter steps to reproduce:]

  1. update to latest version
  2. highlight something

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.4
Thrown From: highlight-selected package 0.13.1

Stack Trace

Uncaught TypeError: escapeRegExp is not a function

At /Users/leandro/.atom/packages/highlight-selected/lib/highlighted-area-view.coffee:218

TypeError: escapeRegExp is not a function
    at HighlightedAreaView.module.exports.HighlightedAreaView.isNonWordCharacter (/packages/highlight-selected/lib/highlighted-area-view.coffee:218:23)
    at HighlightedAreaView.module.exports.HighlightedAreaView.isNonWordCharacterToTheLeft (/packages/highlight-selected/lib/highlighted-area-view.coffee:223:6)
    at HighlightedAreaView.module.exports.HighlightedAreaView.isWordSelected (/packages/highlight-selected/lib/highlighted-area-view.coffee:207:10)
    at HighlightedAreaView.module.exports.HighlightedAreaView.handleSelection (/packages/highlight-selected/lib/highlighted-area-view.coffee:104:22)
    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

     -1:11.4.0 fuzzy-finder:toggle-file-finder (input.hidden-input)
  6x -1:10 core:backspace (input.hidden-input)
  2x -1:07.3.0 core:move-down (input.hidden-input)
     -1:05.9.0 core:confirm (input.hidden-input)

Non-Core Packages

atom-elixir 0.2.3 
busy-signal 1.3.0 
color-picker 2.2.5 
data-atom 0.25.0 
file-icons 2.1.3 
git-plus 7.6.0 
highlight-selected 0.13.1 
intentions 1.1.2 
jekyll 2.1.0 
language-elixir 0.17.0 
language-elm 1.5.0 
language-scala 1.1.8 
linter 2.1.4 
linter-elixirc 1.5.0 
linter-ui-default 1.2.3 
markdown-toc 0.4.2 
markdown-writer 2.6.4 
minimap 4.27.1 
minimap-highlight-selected 4.6.1 
pigments 0.39.1 
pinned-tabs 0.4.2 
Sublime-Style-Column-Selection 1.7.4 
wordcount 2.10.4 
@richrace

This comment has been minimized.

Copy link
Owner

richrace commented Apr 21, 2017

Does it work after you restart Atom?

@lbighetti

This comment has been minimized.

Copy link
Author

lbighetti commented Apr 24, 2017

It's gone now, sorry. I can't reproduce, please close 👍

@richrace richrace closed this Apr 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.