You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Uncaught IndexSizeError: Failed to execute 'setEnd' on 'Range': The offset 4 is larger than or equal to the node's length (3). #5997
Atom Version: 0.187.0 System: Mac OS X 10.10.2 Thrown From: Atom Core
Stack Trace
Uncaught IndexSizeError: Failed to execute 'setEnd' on 'Range': The offset 4 is larger than or equal to the node's length (3).
At /Applications/Atom.app/Contents/Resources/app/src/lines-component.js:415
Error: Failed to execute 'setEnd' on 'Range': The offset 4 is larger than or equal to the node's length (3).
at Error (native)
at LinesComponent.module.exports.LinesComponent.measureCharactersInLine (/Applications/Atom.app/Contents/Resources/app/src/lines-component.js:415:33)
at /Applications/Atom.app/Contents/Resources/app/src/lines-component.js:368:21
at DisplayBuffer.module.exports.DisplayBuffer.batchCharacterMeasurement (/Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:558:7)
at TextEditor.module.exports.TextEditor.batchCharacterMeasurement (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:2929:33)
at TextEditorPresenter.module.exports.TextEditorPresenter.batchCharacterMeasurement (/Applications/Atom.app/Contents/Resources/app/src/text-editor-presenter.js:1006:18)
at LinesComponent.module.exports.LinesComponent.measureCharactersInNewLines (/Applications/Atom.app/Contents/Resources/app/src/lines-component.js:360:29)
at TextEditorComponent.module.exports.TextEditorComponent.readAfterUpdateSync (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:230:36)
at /Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:3:61
at ViewRegistry.module.exports.ViewRegistry.performDocumentUpdate (/Applications/Atom.app/Contents/Resources/app/src/view-registry.js:162:9)
at /Applications/Atom.app/Contents/Resources/app/src/view-registry.js:3:61
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
winstliu commentedon Mar 17, 2015
Do you have any steps to reproduce? Can you reproduce this in safe mode (
atom --safe)?Guard against IndexSizeError when measuring lines
lock commentedon Apr 5, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!