Commit 603ed04
Add experimental spellchecker (marktext#1424)
* Experimental spellchecker for testing purpose
* Fix 'apache' license validation
* Use local electron-spellchecker for development
* Add settings and bug fixes
* Fix Hunspell switchLanguage bug and improvements
* Fix attach to editor when enabling spell check again
* Add Hunspell license
* Copy default Huspell dictionary on first start
* Fix full language name
* Some code improvements
* Allow to add words to user dict and bug fixes
* Allow to change Muya's spellcheck container attribute
* feat: Don't underline misspelled words
* Allow to set Hunspell on macOS
* Fix spellchecker changed value
* Refactor switchLanguage, init and enableSpellchecker
* Refactor and some fixes
* Code improvements
* electron-spellchecker cleanup and optimization
* Disable automatic language detection for Hunspell
* Fix init on macOS and update JSDoc
* Fix macOS issues and some improvements
* Load single settings value only
* Fix rebase
* Remove debug code
* Move electron-spellchecker to scoped npm repo
* Fix dictionary of ignored words on macOS
* Move replaceWordInline to core API
* Remove comment block
* Fix upstream lint error1 parent 1b9ee78 commit 603ed04
46 files changed
Lines changed: 5516 additions & 946 deletions
File tree
- .electron-vue
- resources
- hunspell_dictionaries
- src
- main
- app
- preferences
- windows
- muya/lib
- config
- contentState
- eventHandler
- parser/render
- renderBlock
- renderInlines
- renderer
- components/editorWithTabs
- contextMenu/editor
- prefComponents
- sideBar
- spellchecker
- router
- spellchecker
- store
- static
- test/unit
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
25 | 37 | | |
26 | 38 | | |
27 | 39 | | |
28 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
29 | 46 | | |
30 | 47 | | |
31 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
0 commit comments