Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit cfd937f

Browse files
committed
fix PLUGIN
1 parent 0ecd24e commit cfd937f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Runtime/Plugins/platform/ios/UIWidgetsTextInputPlugin.mm

+2-2
Original file line numberDiff line numberDiff line change
@@ -556,8 +556,8 @@ - (void)updateEditingState {
556556
NSUInteger selectionBase = ((UIWidgetsTextPosition*)_selectedTextRange.start).index;
557557
NSUInteger selectionExtent = ((UIWidgetsTextPosition*)_selectedTextRange.end).index;
558558

559-
NSUInteger composingBase = -1;
560-
NSUInteger composingExtent = -1;
559+
NSUInteger composingBase = 0;
560+
NSUInteger composingExtent = 0;
561561
if (self.markedTextRange != nil) {
562562
composingBase = ((UIWidgetsTextPosition*)self.markedTextRange.start).index;
563563
composingExtent = ((UIWidgetsTextPosition*)self.markedTextRange.end).index;

0 commit comments

Comments
 (0)