🐞 Incorrect text wrapping on long lines
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
Research direction
Reproduce the issue in CodeEditSourceEditor 0.15.2 by creating an editor and pasting the exact long line from the report. Trace the editor's text-wrapping and cursor-layout path, then verify that the line wraps without duplicated text and that cursor movement remains correct.
Written by the indexing model from the issue text.
Description
Description
At least some strings seem to produce incorrect text wrapping on long lines.
In this case it's this string:
* 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
- Create an editor
- 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.
And in the screen recording you can see how the cursor behaves.
https://github.com/user-attachments/assets/ccf43275-71f1-48db-85c6-b2f84fce7d07
- Dominant language
- Swift
- Stars
- 720
- Forks
- 162
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CodeEditApp/CodeEditSourceEditor
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
CodeEditApp/CodeEditSourceEditor#377 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
CodeEditApp/CodeEditSourceEditor#376 · 1 comment ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
CodeEditApp/CodeEditSourceEditor#378 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
All issues in CodeEditApp/CodeEditSourceEditor
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
maxgoedjen/secretive#840 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
manaflow-ai/cmux#13763 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
openwallet-foundation/multipaz#2028 ·