Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

🐞 Incorrect text wrapping on long lines

オープン
#367 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
swift
領域
desktop

調査の方向性

CodeEditSourceEditor 0.15.2 でエディタを作成し、報告にある正確な長い行を貼り付けて問題を再現します。エディタのテキスト折り返しとカーソルレイアウトの経路を追跡し、その後、行がテキストを重複させずに折り返され、カーソル移動が正しいままであることを確認します。

索引モデルが issue の本文から書いたものです。

説明

bug
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
  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

主要言語
Swift
スター
720
フォーク
162
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CodeEditApp/CodeEditSourceEditor のほかの issue

CodeEditApp/CodeEditSourceEditor の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。