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 SyntaxError: Invalid regular expression: /¤|¬|*|-/: Nothing to repeat #308

Closed
marty80 opened this issue Apr 2, 2015 · 2 comments

Comments

@marty80
Copy link

marty80 commented Apr 2, 2015

[Enter steps to reproduce below:]

  1. Opened a file such as dev_auth.cfc
  2. The error occurs

Atom Version: 0.188.0
System: Microsoft Windows 7 Enterprise
Thrown From: minimap package, v4.7.2

Stack Trace

Uncaught SyntaxError: Invalid regular expression: /¤|¬|*|-/: Nothing to repeat

At C:\Users\220983F\.atom\packages\minimap\lib\mixins\canvas-drawer.coffee:159

SyntaxError: Invalid regular expression: /¤|¬|*|-/: Nothing to repeat
    at new RegExp (native)
    at RegExp (native)
    at atom-text-editor-minimap.module.exports.CanvasDrawer.drawLines (C:\Users\220983F\.atom\packages\minimap\lib\mixins\canvas-drawer.coffee:108:109)
    at atom-text-editor-minimap.module.exports.CanvasDrawer.updateCanvas (C:\Users\220983F\.atom\packages\minimap\lib\mixins\canvas-drawer.coffee:36:14)
    at atom-text-editor-minimap.MinimapElement.update (C:\Users\220983F\.atom\packages\minimap\lib\minimap-element.coffee:393:19)
    at C:\Users\220983F\.atom\packages\minimap\lib\minimap-element.coffee:338:17

Commands

     -0:27.2 application:open-folder (atom-text-editor.editor)
     -0:18.1 core:move-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:17.8 tree-view:expand-directory (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -0:17.4 core:move-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -0:15.2 tree-view:collapse-directory (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  6x -0:14.5 core:move-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:12.7 tree-view:expand-directory (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  4x -0:12.3 core:move-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:11.4 tree-view:expand-directory (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
 14x -0:11.0 core:move-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -0:08.6 core:move-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:07.9 tree-view:open-selected-entry (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {
    "themes": [
      "seti-ui",
      "atom-dark-syntax"
    ]
  },
  "minimap": {}
}

Installed Packages

# User
git-go, v1.0.0
git-log, v0.3.0
language-cfml, v0.5.1
minimap, v4.7.2
seti-ui, v0.6.3

# Dev
No dev packages
@abe33
Copy link
Contributor

abe33 commented Apr 2, 2015

Hi @marty80, nice catch, I didn't thought that someone could change the invisible chars with regexp sensitive chars. I'll patch that asap.

@abe33 abe33 closed this as completed in 882ed5d Apr 2, 2015
@marty80
Copy link
Author

marty80 commented Apr 2, 2015

Thanks mate. Legend!

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