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

Unexpected error: Failed to execute 'setStart' on 'Range': The offset 4294967292 is larger than the node's length (14). #3782

Open
renanrod4 opened this issue Apr 5, 2024 · 0 comments

Comments

@renanrod4
Copy link

Description

An unexpected error occurred in the renderer process.

Stack Trace

Error: Failed to execute 'setStart' on 'Range': The offset 4294967292 is larger than the node's length (14).
    at Object.select (file:///tmp/.mount_markteHGQRmn/resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/selection/index.js:346:11)
    at Object.setCursorRange (file:///tmp/.mount_markteHGQRmn/resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/selection/index.js:491:10)
    at $a.setCursor (file:///tmp/.mount_markteHGQRmn/resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/contentState/index.js:207:15)
    at $a.render (file:///tmp/.mount_markteHGQRmn/resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/contentState/index.js:237:12)
    at $a.enterHandler (file:///tmp/.mount_markteHGQRmn/resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/contentState/enterCtrl.js:550:26)
    at HTMLDivElement.<anonymous> (file:///tmp/.mount_markteHGQRmn/resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/eventHandler/keyboard.js:175:26)

Version

MarkText: v0.17.4 (2b9803c)
Operating system: Linux x64 6.5.0-26-generic (linux)

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

1 participant