CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

🐞 CodeFileView Reevaluated Every Keystroke

Open thecoolwinter opened this issue 1 year ago • 0 comments

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

thecoolwinter avatar May 20 '24 13:05 thecoolwinter