mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Reenable simplistic_editor on CI (#2238)
This commit is contained in:
@@ -780,7 +780,8 @@ class BasicTextInputClientState extends State<BasicTextInputClient>
|
||||
// We return early if the selection is not valid. This can happen when the
|
||||
// text of the editable is updated at the same time as the selection is
|
||||
// changed by a gesture event.
|
||||
if (!widget.controller.isSelectionWithinTextBounds(selection)) return;
|
||||
final textLength = _value.text.length;
|
||||
if (selection.start > textLength || selection.end > textLength) return;
|
||||
|
||||
widget.controller.selection = selection;
|
||||
|
||||
|
||||
@@ -60,8 +60,7 @@ declare -ar PROJECT_NAMES=(
|
||||
# "provider_shopper"
|
||||
"simple_shader"
|
||||
"simplistic_calculator"
|
||||
# TODO(DomesticMouse): The method 'isSelectionWithinTextBounds' isn't defined for the type 'TextEditingController'
|
||||
# "simplistic_editor"
|
||||
"simplistic_editor"
|
||||
"testing_app"
|
||||
"veggieseasons"
|
||||
"web_embedding/element_embedding_demo"
|
||||
|
||||
@@ -60,8 +60,7 @@ declare -ar PROJECT_NAMES=(
|
||||
# "provider_shopper"
|
||||
"simple_shader"
|
||||
"simplistic_calculator"
|
||||
# TODO(DomesticMouse): The method 'isSelectionWithinTextBounds' isn't defined for the type 'TextEditingController'
|
||||
# "simplistic_editor"
|
||||
"simplistic_editor"
|
||||
"testing_app"
|
||||
"veggieseasons"
|
||||
"web_embedding/element_embedding_demo"
|
||||
|
||||
Reference in New Issue
Block a user