Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 CodeFileView Reevaluated Every Keystroke #1728

Closed
thecoolwinter opened this issue May 20, 2024 · 0 comments · Fixed by #1740
Closed

🐞 CodeFileView Reevaluated Every Keystroke #1728

thecoolwinter opened this issue May 20, 2024 · 0 comments · Fixed by #1740
Assignees
Labels
bug Something isn't working performance This is performance related source editor workspace

Comments

@thecoolwinter
Copy link
Collaborator

thecoolwinter commented May 20, 2024

Description

CodeFileView is reevaluated each keystroke, causing a severe lag on large files. On top of being reevaluated it does a string compare on CodeFileDocument.content, which causes a hang for large files that then need to be compared character by character.

This issue is a tracking issue for three PRs across CodeEdit, CESourceEditor, and CETextView.

Version Information

CodeEdit: 0.1.0-38
macOS: 14.4
Xcode: 15.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance This is performance related source editor workspace
Projects
Status: 🏁 Complete
Development

Successfully merging a pull request may close this issue.

1 participant