georgebrindeiro / scroll-sync

Atom editor package: Synchronize scrolling of two editor panes by content.
MIT License
29 stars 8 forks source link

Uncaught Error: This buffer's content is too large to fit into a string.Consider using APIs lik... #36

Open ghost opened 5 years ago

ghost commented 5 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.37.0 x64 Electron: 2.0.18 OS: Microsoft Windows 10 Enterprise Thrown From: scroll-sync package 0.2.4

Stack Trace

Uncaught Error: This buffer's content is too large to fit into a string.

Consider using APIs like getTextInRange to access the data you need.

At C:\Users\ibh7\AppData\Local\atom\app-1.37.0\resources\app\static\<embedded>:11

Error: This buffer's content is too large to fit into a string.

Consider using APIs like `getTextInRange` to access the data you need.
    at TextBuffer.getText (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:486230)
    at ScrlSync.textChanged (/packages/scroll-sync/lib/scroll-sync.coffee:121:49)
    at ScrlSync.startTracking (/packages/scroll-sync/lib/scroll-sync.coffee:76:22)
    at ScrlSync.toggleTracking (/packages/scroll-sync/lib/scroll-sync.coffee:47:8)
    at /packages/scroll-sync/lib/scroll-sync.coffee:18:8)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:349922)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:348397)
    at AtomEnvironment.dispatchContextMenuCommand (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:1:718248)
    at EventEmitter.t (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:1:726254)
    at emitThree (events.js:136:13)
    at EventEmitter.emit (events.js:217:7)

Commands

     -2:53 intentions:highlight (input.hidden-input)
     -2:52.9.0 core:save (input.hidden-input)
 13x -2:50.5.0 core:select-right (input.hidden-input)
     -2:47.9.0 core:backspace (input.hidden-input)
     -2:47.4.0 intentions:highlight (input.hidden-input)
     -2:47.3.0 core:save (input.hidden-input)
     -2:46.7.0 intentions:highlight (input.hidden-input)
  2x -2:46.6.0 core:save (input.hidden-input)
     -2:46 intentions:highlight (input.hidden-input)
     -2:45.8.0 core:save (input.hidden-input)
  3x -2:45.5.0 core:close (input.hidden-input)
     -0:46 intentions:highlight (input.hidden-input)
  2x -0:45.9.0 core:save (input.hidden-input)
     -0:43.7.0 intentions:highlight (input.hidden-input)
  4x -0:43.5.0 core:close (input.hidden-input)
     -0:16.6.0 scroll-sync:toggle (a.current-path)

Non-Core Packages

atom-beautify 0.33.4 
atom-bootstrap3 1.2.12 
atom-fuzzy-grep 0.17.2 
atom-material-syntax 1.0.8 
autocomplete-html-entities 0.2.0 
blade-snippets 0.2.0 
busy-signal 2.0.1 
codeigniter 0.4.0 
color-picker 2.3.0 
compare-files 0.8.1 
css-snippets 1.1.0 
file-icons 2.1.32 
goto-definition 1.3.4 
intentions 1.1.5 
jquery-snippets 11.0.0 
language-gitignore 0.3.0 
language-htaccess 0.2.0 
language-ini 1.20.0 
laravel 0.7.1 
linter 2.3.0 
linter-php 1.6.1 
linter-sass-lint 1.9.0 
linter-scss-lint 3.2.1 
linter-ui-default 1.7.1 
minimap 4.29.9 
minimap-linter 2.2.1 
minimap-pigments 0.2.2 
react-snippets 1.1.2 
sass 0.5.0 
scroll-sync 0.2.4 
xml-formatter 0.13.0