🐞 Scrolling choppy and syntax highlighting slow to refresh

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

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

評価

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

調査の方向性

まず、再現手順に記載されているとおり、長いファイルを使って macOS 15.3.2 上の CodeEditSourceEditor 0.3.6 で問題を再現します。エディタのエントリーポイントからスクロールとシンタックスハイライトの動作を追跡します。スクロールがスムーズで、スクロール中もハイライトが維持されれば完了です。Issue ではソースファイルもテストも指定されていません。

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

説明

bug
Description

Scrolling through any file (checked different languages, no custom LSPs installed/enabled) produces slow and visible refreshing of syntax highlighting, which presumably causes scrolling to look choppy and not smooth. See the video below:

To Reproduce
  1. Open any long-ish file
  2. Try to scroll through it
Expected Behavior

Syntax highlighting should be preserved during scrolling. The scrolling should be smooth.

Version Information

CodeEdit: CodeEdit: 0.3.6 (47)
macOS: 15.3.2
Xcode: 16.4

Additional Context

No response

Screenshots

https://github.com/user-attachments/assets/7264c709-c2f7-4216-9b6d-f6b6520e7d4e

主要言語
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 を短くまとめたダイジェスト。