Ivailo Monev
044df213ec
kdeui: check the word size in KSpeller::start() and KSpellHighlighter::highlightBlock() when chopping punctuation
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-13 20:16:35 +03:00
Ivailo Monev
01107bb214
kdeui: remove whitespace at the start and end of word from the spelling classes
...
for when the icu boundary finder gets it wrong
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-13 00:39:42 +03:00
Ivailo Monev
2a8c7a06e2
kdeui: merge KSpellBackgroundChecker into KSpeller
...
it is actually faster to no do it in a thread for the use case of Kate
because too many threads may be created
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 11:31:16 +03:00
Ivailo Monev
f381447813
kdeui: add personal words to dictionary when changing it
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 02:22:28 +03:00
Ivailo Monev
38d645d132
kdeui: use the same char format as Kate in KSpellHighlighter
...
something that was not done by the previous implementation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 01:23:08 +03:00
Ivailo Monev
8c9f56e862
kdeui: drop support for spelling correction via dialog
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 01:04:04 +03:00
Ivailo Monev
67cd9d4db8
kdeui: add warning for KSpellDialog
...
neither KTextEdit nor Kate can apply spelling corrections properly,
KTextEdit goes out of sync and Kate does it (sometimes) on pieces of the
text (not words)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 00:03:53 +03:00
Ivailo Monev
7764c570f6
kdeui: remove redundant KSpellDialog::slotButtonClicked() reimplementation
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-09 23:10:24 +03:00
Ivailo Monev
da9b836073
kdeui: break the spelling dialog thread loop once the end of the text has been reached
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-09 22:46:02 +03:00
Ivailo Monev
4f0a98abef
kdeui: show the spell checking information message by default
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-09 22:45:19 +03:00
Ivailo Monev
879ba82a2b
kdeui: set the caption of KSpellDialog
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-09 22:12:51 +03:00
Ivailo Monev
005cfba13a
kdeui: show the spell checking information message conditionally
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-09 22:09:17 +03:00
Ivailo Monev
7f7eb09b35
kdeui: spelling classes reimplementation
...
not leaking enchant dictionaries, simpler implementation and its not
spread across 2 libraries (kdecore and kdeui)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-09 20:45:52 +03:00