Fix crash when the length of a line is greater than 1024 chars (#11536)

Close #11518 

Release Notes:

- N/A
1b292d2fb3张小白 committed on 5/8/2024, 11:08:39 PM· committed by GitHubparentadecbd1
1 file changedLine totals unavailable