canvas icon indicating copy to clipboard operation
canvas copied to clipboard

Calling ToText will cause a panic when writing \uFFFC

Open xixileng opened this issue 1 year ago • 0 comments

In the TestRichText method of the test case, add rt.WriteString("\uFFFC"). image

=== RUN   TestRichText
--- FAIL: TestRichText (0.00s)
panic: runtime error: index out of range [0] with length 0 [recovered]
        panic: runtime error: index out of range [0] with length 0

xixileng avatar Aug 12 '24 08:08 xixileng