🐞 Scrolling choppy and syntax highlighting slow to refresh

Open
#358 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
swift

Research direction

Start by reproducing the issue in CodeEditSourceEditor 0.3.6 on macOS 15.3.2 using a long file, as described in the reproduction steps. Trace the scrolling and syntax-highlighting behavior from the editor entry points; done means scrolling is smooth and highlighting remains preserved while scrolling. No source file or test is named in the issue.

Written by the indexing model from the issue text.

Description

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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CodeEditApp/CodeEditSourceEditor

All issues in CodeEditApp/CodeEditSourceEditor

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.