Commit graph

17 commits

Author SHA1 Message Date
Helium314
cd1ed0e1e7 avoid doing unnecessary consistency checks during text reload / reset 2025-01-05 13:41:33 +01:00
Helium314
d3bd97a104 reload text on selection updates even if selection is as expected
if composing region was changed
e.g. KDE Connect removes composing region after entering a letter, and we should be able to deal with it
this is not really a good solution, as it will reload the suggestions, which flashes the underline and has noticeable performance impact

fixes #1141
2025-01-05 13:18:14 +01:00
Helium314
d08afcd279 improve situation when local state is out of sync with editor
related to / found during tests for 6100186f73
2025-01-05 12:08:48 +01:00
Devy Ballard
544132974c
select keys can now de-select text (#973) 2024-07-12 22:35:23 +02:00
Helium314
e57e2e8de5 dont store cursor position when it can be reloaded before actually using the position
should fix #935
also make expected selection start / end private (access still via get methods)
2024-07-03 22:30:47 +02:00
Devy Ballard
a92d108444
make arrow keys repeatable (#932)
only applies to keyboard keys, not in toolbar
2024-07-01 21:30:29 +02:00
Helium314
0b9fb7334d reload the cursor position from text field when in doubt 2024-06-18 00:38:07 +02:00
Helium314
6a34f2c832 improve emoji detection when deleting
still has issues with hand + skin tone emojis
2024-06-12 23:54:23 +02:00
Helium314
5b1f40f0f6 do a sanity check when setting composing text on text fields that have suggestions disabled
fixes #225
could cause unnecessary text / suggestion reloads or performance regressions, though not found in testing
2024-06-12 20:24:16 +02:00
Helium314
843b8c44f7 replace old fix from 9713c4a25a with improved consistency check
and avoid somewhat unexpected crash
2024-06-11 22:02:32 +02:00
Helium314
ce30c3b294 fix issue with text being inserted when deleting quicky in joplin (and probably other apps) 2024-06-10 22:53:41 +02:00
codokie
e357f84572
Add toast notification when copying from clipboard (#752)
and use the toast for showing dictionary on double-long-press word: switch from one ugly workaround (popup menu) to another (hiding more suggestions panel)

Co-authored-by: codokie <@>
Co-authored-by: Helium314 <helium314@mailbox.org>
2024-05-31 17:01:50 +02:00
Helium314
edd4ae2c68 small adjustments after #691 2024-05-01 22:59:16 +02:00
codokie
83fc10ff02
Add long press functions to more toolbar keys, and more clipboard history toolbar keys (#691)
Co-authored-by: codokie <@>
2024-05-01 22:44:51 +02:00
Helium314
da467a6751 mark some getText methods as nullable and avoid related issues
fixes one of the crashes in #723
2024-04-19 21:46:13 +02:00
Helium314
4b52f2d51d properly determine length of emojis when deleting
fixes issue described in https://github.com/Helium314/HeliBoard/issues/426#issuecomment-1944132643, but not the initial problem
2024-03-03 14:48:03 +01:00
Helium314
a91a90bfbd rename package
introduces weird bugs for some reason
2024-01-31 18:32:43 +01:00
Renamed from app/src/main/java/org/dslul/openboard/inputmethod/latin/RichInputConnection.java (Browse further)