copy method

Create a new spanned text editing controller with the same state as this one.

Implementation

SpannedTextEditingController copy() => SpannedTextEditingController(
      compositionAttribute: compositionAttribute,
      processTextValue: processTextValue,
      text: text,
      spans: spans,
      hasMarkerCharacters: hasMarkerCharacters,
    );