t9md / atom-quick-highlight

Highlight text quickly
https://atom.io/packages/quick-highlight
MIT License
32 stars 7 forks source link

Uncaught Error: regular expression is too large #32

Open slaxor505 opened 4 years ago

slaxor505 commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.48.0 x64 Electron: 5.0.13 OS: Mac OS X 10.14.6 Thrown From: quick-highlight package 0.13.0

Stack Trace

Uncaught Error: regular expression is too large

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/superstring/index.js:256

Error: regular expression is too large
    at TextBuffer.findAllInRangeSync (/app.asar/node_modules/superstring/index.js:256:44)
    at TextBuffer.findAllInRangeSync (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:495632)
    at TextBuffer.scanInRange (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:494582)
    at TextBuffer.scan (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:494345)
    at TextEditor.scan (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:40885)
    at QuickHighlightView.highlight (/packages/quick-highlight/lib/quick-highlight-view.js:108:17)
    at QuickHighlightView.highlightSelection (/packages/quick-highlight/lib/quick-highlight-view.js:95:52)
    at later (/packages/quick-highlight/node_modules/underscore/underscore.js:724:25)

Commands

  3x -1:57.4.0 core:confirm (input.hidden-input)
     -1:35.3.0 find-and-replace:show (input.hidden-input)
     -1:31.4.0 core:confirm (input.hidden-input)
     -1:30.7.0 editor:consolidate-selections (input.hidden-input)
     -1:30.7.0 core:cancel (input.hidden-input)
     -1:24.4.0 find-and-replace:show (input.hidden-input)
     -1:22.2.0 core:confirm (input.hidden-input)
     -1:08.2.0 editor:toggle-soft-wrap (input.hidden-input)
     -1:06.1.0 core:move-down (input.hidden-input)
  4x -1:05.4.0 core:move-up (input.hidden-input)
  4x -1:03.5.0 find-and-replace:find-next (input.hidden-input)
     -0:39.2.0 quick-highlight:toggle (input.hidden-input)
     -0:16.5.0 core:select-down (input.hidden-input)
  8x -0:15.2.0 core:select-page-down (input.hidden-input)
 25x -0:07.9.0 core:select-up (input.hidden-input)
     -0:01.9.0 core:copy (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-jinja2 0.6.0 
base64 0.8.0 
compare-files 0.8.1 
default-language 0.3.1 
language-ada 1.1.0 
language-ldif 0.3.0 
language-log 1.10.1 
pretty-json 2.1.2 
quick-highlight 0.13.0 
xml-formatter 0.13.0 
xml-tools undefined