Commit graph

15 commits

Author SHA1 Message Date
Ivailo Monev
213163aa45 kdeui: simplify highlighter management of KTextEdit
instead of virtual method for creating one and a setter now there is only
a setter with ownership of the highlighter belonging to the parent (the
case for the default-created highlighter) or caller of
KTextEdit::setHighlighter()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-08 12:04:44 +03:00
Ivailo Monev
e774460cf3 kdeui: do not create KTextEdit spell checker based on focus and setup its language in all cases
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-07 18:29:44 +03:00
Ivailo Monev
ba8ffa064b kdeui: remove redundant private KTextEdit methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-06 22:33:14 +03:00
Ivailo Monev
0cfa9cb2f3 kdeui: remove unused private KTextEdit methods and members
also initialized all members while at it, some could be used uninitialized

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-06 22:27:55 +03:00
Ivailo Monev
afd9c69c7b kdeui: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-06 22:21:26 +03:00
Ivailo Monev
4f55f6b021 kdeui: drop bogus WheelMouseZooms config option
no GUI interface to control that, kate also zooms (increases or decreases
the font size) with control modifier. for fast scrolling the shift modifier
is checked for by kate

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-06 21:49:09 +03:00
Ivailo Monev
92857996e5 kdeui: remove unused definitions related to KTextEdit features
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 11:56:09 +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
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
Ivailo Monev
4dbb501d25 generic: drop text-to-speech support
Katana (or any interface designed around key and mouse events) is not
for blind people, trying to slap text-to-speech on top of it was the
wrong thing to do to begin with

side note: speech-dispatcher tends to hang if the output device is not
configured properly (i.e. editing /etc/speech-dispatcher/speechd.conf
manually)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-18 15:56:59 +02:00
Ivailo Monev
c3a42c260b kdeui: remove unused KTextEditSpellInterface class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-27 09:34:11 +03:00
Ivailo Monev
0ce55c0438 kdeui: remove internal KTextEdit methods related to spell checking
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-20 03:43:21 +03:00
Ivailo Monev
2bf60e6475 kdeui: remove binary compatibility bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-19 17:41:05 +03:00
Ivailo Monev
f7bf6ebaf6 kdeui: remove useless KTextEdit::focusOutEvent()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-01 16:28:31 +02:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00