This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Ensure editor indexes are used for selection and composition: - Removes the responsibility of setting the composition from `replaceAll`. - Also removes `beginBatchEdit` and `endBatchEdit` so it's the calling functions who should manage that. - Calculate new indexes for selection and composition using `fun editorIndex(composerIndex, editable)`, do it just once per operation. * Apply a better solution for #878 * Add better tests * Simplify code * Input the while text as key presses in `testHardwareKeyboardInputWithDigits`, since it's way less flaky this way
- Loading branch information
1 parent
ecb2bb0
commit 320f5c1
Showing
2 changed files
with
72 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters