Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@LongCatIsLooong
Copy link
Contributor

@LongCatIsLooong LongCatIsLooong commented Nov 11, 2020

Description

selectionStart > selectionEnd should be allowed. I'll run TGP and see if there're breakages this time.

Original PR: #21534

Tests

I added the following tests:

TextEditState_throwsOnInvalidStatesReceived

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the contributor guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the C++, Objective-C, Java style guides for the engine.
  • I read the tree hygiene wiki page, which explains my responsibilities.
  • I updated/added relevant documentation.
  • All existing and new tests are passing.
  • I am willing to follow-up on review comments in a timely manner.

Reviewer Checklist

Breaking Change

Did any tests fail when you ran them? Please read handling breaking changes.

  • No, no existing tests failed, so this is not a breaking change.

@LongCatIsLooong LongCatIsLooong force-pushed the fix-valid-selection-range branch from 26d918e to 438126b Compare November 12, 2020 04:47
@LongCatIsLooong LongCatIsLooong changed the title [Android text input] fix selection range handling [Android text input] Reland #21534 Nov 12, 2020
@LongCatIsLooong
Copy link
Contributor Author

TGP passed.

@LongCatIsLooong LongCatIsLooong added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Nov 12, 2020
@fluttergithubbot fluttergithubbot merged commit 778eb84 into flutter:master Nov 12, 2020
@LongCatIsLooong LongCatIsLooong deleted the fix-valid-selection-range branch November 12, 2020 19:52
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 13, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 13, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 13, 2020
chaselatta pushed a commit to chaselatta/engine that referenced this pull request Nov 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes platform-android waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants