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

🐞 Font resize doesn't cause layout for lines previously outside the viewport

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

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

評価

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

調査の方向性

まず、CodeEditTextView でフォントサイズのシーケンスを再現します。ドキュメントを開き、サイズを 20 に変更し、次に 4 に変更して、スクロールする前に表示されている行を確認します。表示行のレイアウトを通してフォントサイズの変更を追跡します。すべての表示行がスクロール操作なしで直ちに新しいサイズでレイアウトされれば完了です。

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

説明

bug
Description

When changing font size the number of lines in the viewport may change if the difference in size is large enough. This causes lines to be displayed, but layout regeneration is not caused until something like a scroll action occurs.

To Reproduce
  1. Open a document
  2. Change the font size to something large (20)
  3. Change the font size to something small (4)

Observe that there are lines visible with the previous font size.

Expected Behavior

Changing the font size should cause layout for all visible lines.

Version Information

CodeEditTextView: main (40d8e88)
macOS: 13.6.1
Xcode: 15.0

Additional Context

No response

Screenshots

https://github.com/CodeEditApp/CodeEditTextView/assets/35942988/2b29e52f-0a22-4db6-bdfa-7908a4478bc0

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

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

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

はじめの一歩

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

CodeEditApp/CodeEditTextView のほかの issue

CodeEditApp/CodeEditTextView の issue をすべて見る

似ている issue

Swift の issue をもっと見る

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

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