oldLength property

int get oldLength

Length of the deleted/replaced portion in the old text

Implementation

int get oldLength => oldEndOffset - startOffset;