Skip to content

Bolding multiple lines triggers an error #47

@proboner

Description

@proboner

I was exploring what the editor could do and I noticed the little popup thing doesn't show when selecting multiple lines, so I highlighted multiple lines then went to the menu, then format, then bold, and got an error. Not sure if it errors with other formatting used in this manner.

Unexpected renderer process error
IndexSizeError: Failed to execute 'setStart' on 'Range': The offset 4294967288 is larger than the node's length (2).
    at Selection.select (file:///tmp/.mount_markte3Fj7dN/resources/app.asar/out/renderer/assets/index-BsUku_UX.js:95998:12)
    at Selection.setCursorRange (file:///tmp/.mount_markte3Fj7dN/resources/app.asar/out/renderer/assets/index-BsUku_UX.js:96133:10)
    at Proxy.setCursor (file:///tmp/.mount_markte3Fj7dN/resources/app.asar/out/renderer/assets/index-BsUku_UX.js:144678:15)
    at Proxy.partialRender (file:///tmp/.mount_markte3Fj7dN/resources/app.asar/out/renderer/assets/index-BsUku_UX.js:144739:12)
    at ContentState2.format (file:///tmp/.mount_markte3Fj7dN/resources/app.asar/out/renderer/assets/index-BsUku_UX.js:141912:12)
    at Proxy.format (file:///tmp/.mount_markte3Fj7dN/resources/app.asar/out/renderer/assets/index-BsUku_UX.js:146317:23)
    at handleInlineFormat (file:///tmp/.mount_markte3Fj7dN/resources/app.asar/out/renderer/assets/index-BsUku_UX.js:161910:38)
    at file:///tmp/.mount_markte3Fj7dN/resources/app.asar/out/renderer/assets/index-BsUku_UX.js:77196:7
    at Array.map (<anonymous>)
    at Object.emit (file:///tmp/.mount_markte3Fj7dN/resources/app.asar/out/renderer/assets/index-BsUku_UX.js:77195:20)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneeds more infoBug requires more information as it can not be reliably produced, but has been sighted before.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions