CodeEditApp / CodeEditApp/CodeEditSourceEditor

🐞 Incorrect text wrapping on long lines

Đang mở
#367 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Swift
Star
719
Fork
160
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Description

At least some strings seem to produce incorrect text wrapping on long lines.

In this case it's this string:

```md
* If the script includes the string `require(` anywhere in it, an export statement (`export { main };`) is appended to the script and it's compiled and bundled using esbuild.
```

### To Reproduce

1. Create an editor
2. Paste in the above long line of text

### Expected Behavior

The text should wrap without showing duplicated portions of the line

### Version Information

CodeEditSourceEditor: 0.15.2
macOS: 15.7.4
Xcode: 26.2

### Additional Context

_No response_

### Screenshots

You can see in the screenshot below that the text ‘esbuild’ is partially duplicated.

Image

And in the screen recording you can see how the cursor behaves.

https://github.com/user-attachments/assets/ccf43275-71f1-48db-85c6-b2f84fce7d07

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.