apply method

Delta apply(
  1. Delta document,
  2. int index,
  3. int length,
  4. NotusAttribute attribute
)

Applies heuristic rule to a retain (format) operation on a document and returns resulting Delta.

Implementation

Delta apply(Delta document, int index, int length, NotusAttribute attribute);