generated from mirrors/plugin-sample-vite-svelte
Debounce spell check and add per-document incremental autocomplete #1
Loading…
Reference in a new issue
No description provided.
Delete branch "Cyprien63/syspell:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Spell-checking:
storeBlocksno longer executes on every keystroke; runs only upon document opening or switching.Autocomplete:
Goal: Eliminate system freezes while typing.
Debounce spell check and add per-document incremental autocompleteto WIP: Debounce spell check and add per-document incremental autocompleteWIP: Debounce spell check and add per-document incremental autocompleteto Debounce spell check and add per-document incremental autocomplete- Add ModelStorage class to save/load ngram models via SiYuan file API - Models stored in data/storage/petal/syspell/models/{docID}.json - Eliminates freeze on doc open by restoring pre-built models - Models persist across restartsThank you for your contribution.
I will check and test your commit as soon as I can.
Some preliminary thoughts: the performance enhancement is obviously a good thing, but I'm a bit skeptical about the word prediction stuff.
I'm not sure if that belongs in SySpell. Since SySpell's stated goal is bringing an experience like LanguageTool and Grammarly to SiYuan, this feature might be out of scope. I will have to test it myself, see if I find it to be useful and aligned with the project's objective.
For now, thank you again. I will surely let you know more once I test it.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.