Repository navigation
Fix capitalization and delete swipe behavior - #672
Conversation
LeanType: two independent fixesThis package contains two separate changes. They touch different files and do not depend on each other,
All paths are relative to Part 1: First letter in lower case when typing fastSymptomThe keyboard shows the auto-capitalized (shifted) layout at the start of a sentence/field. If the user types fast Root causeTwo existing mechanisms interact badly:
FixOnly
Behavior after the fix
Notes / testing
Part 2: Delete-swipe selects whole visual linesProblemWhen swiping on the delete key and moving up (to select lines above), the selection start lands in the Cause
Expected behaviorEach upward step extends the selection to exactly one visual line above, keeping the same column FixLet the editor do the vertical movement instead of guessing:
Fallback: if the editor does not return extracted text, or does not keep the reversed selection D-pad toolbar keyNo change needed. Files changed
NotesNot compiled or tested on a device (no Android toolchain available when writing this). |
This change addresses keyboard capitalization during rapid typing and improves vertical delete-swipe selection.
Changes: