Uncaught Error: This buffer's content is too large to fit into a string.Consider using APIs lik...
- Lingua principale
- CoffeeScript
- Stelle
- 518
- Fork
- 70
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
[steps to reproduce:]
1. Open a huge sql file
2. delete a line
3. Boom ! Error.
**Atom**: 1.31.2 x64
**Electron**: 2.0.7
**OS**: Mac OS X 10.13.6
**Thrown From**: [pigments](https://github.com/abe33/atom-pigments) package 0.40.2
### 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 /Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:545
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.module.exports.TextBuffer.getText (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:545:94)
at TextEditor.getText (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:1206:41)
at ColorBuffer.module.exports.ColorBuffer.scanBufferForVariables (/packages/pigments/lib/color-buffer.coffee:224:23)
at ColorBuffer.module.exports.ColorBuffer.update (/packages/pigments/lib/color-buffer.coffee:153:8)
at /packages/pigments/lib/color-buffer.coffee:42:12
```
### Commands
```
-0:14.5.0 core:backspace (input.hidden-input)
-0:11.2.0 core:move-down (input.hidden-input)
-0:10.5.0 core:backspace (input.hidden-input)
-0:07.7.0 core:save (input.hidden-input)
```
### Non-Core Packages
```
php-twig 4.0.0
pigments 0.40.2
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.