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

Very large syntax-highlighted files are slow to work with #47

Open
waddlesplash opened this issue Jun 28, 2018 · 1 comment
Open

Very large syntax-highlighted files are slow to work with #47

waddlesplash opened this issue Jun 28, 2018 · 1 comment

Comments

@waddlesplash
Copy link

e.g. generate a 3000+-line diff by doing git diff HEAD~20 >out.diff in the Haiku repo, and try to use the resulting diff in Koder. It will spike to 100% CPU quite often as you page up/down/etc. through the file. Notepad++ handles such files perfectly fine, so the issue it seems is not with Scintilla.

@KapiX
Copy link
Owner

KapiX commented Jun 28, 2018

Yup, it's trailing space highlighting. Indicators are pretty slow, I should probably style the whole file and then diff only the visible portion when editing. Right now it changes every time screen updates (which is pretty much all the time). Try disabling it and see if it's better.

@KapiX KapiX added the bug label Sep 16, 2018
@KapiX KapiX added this to the 0.5.0 milestone Sep 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants