Package io.flutter.plugin.editing
Class TextEditingDelta
java.lang.Object
io.flutter.plugin.editing.TextEditingDelta
-
Constructor Summary
ConstructorDescriptionTextEditingDelta
(CharSequence oldText, int selectionStart, int selectionEnd, int composingStart, int composingEnd) TextEditingDelta
(CharSequence oldEditable, int replacementDestinationStart, int replacementDestinationEnd, CharSequence replacementSource, int selectionStart, int selectionEnd, int composingStart, int composingEnd) -
Method Summary
-
Constructor Details
-
TextEditingDelta
public TextEditingDelta(@NonNull CharSequence oldEditable, int replacementDestinationStart, int replacementDestinationEnd, @NonNull CharSequence replacementSource, int selectionStart, int selectionEnd, int composingStart, int composingEnd) -
TextEditingDelta
public TextEditingDelta(@NonNull CharSequence oldText, int selectionStart, int selectionEnd, int composingStart, int composingEnd)
-
-
Method Details
-
getOldText
-
getDeltaText
-
getDeltaStart
@VisibleForTesting public int getDeltaStart() -
getDeltaEnd
@VisibleForTesting public int getDeltaEnd() -
getNewSelectionStart
@VisibleForTesting public int getNewSelectionStart() -
getNewSelectionEnd
@VisibleForTesting public int getNewSelectionEnd() -
getNewComposingStart
@VisibleForTesting public int getNewComposingStart() -
getNewComposingEnd
@VisibleForTesting public int getNewComposingEnd() -
toJSON
-