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

Spinning cursor when loading and spell checking #158

Merged
merged 2 commits into from
Nov 27, 2019
Merged

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented Nov 26, 2019

This PR switches the cursor to a wait cursor when loading a document or running the spell checker on the whole document.

The issue with the current implementation is that it resets the undo stack for big documents. This is because for a large document, the text is reloaded when the spell checker is run on the full text. This takes about 9 seconds on the 820k words test document. Any other method I've tried takes about 4 minutes. I still don't understand this difference.

@vkbo vkbo merged commit a310daf into master Nov 27, 2019
@vkbo vkbo deleted the spell_check_loader branch January 19, 2020 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant