util library

Utility functions for Fleather.

Classes

DiffResult
A diff between two strings of text.

Functions

fastDiff(String oldText, String newText, int cursorPosition) DiffResult
Performs a fast diff operation on two input strings based on provided cursorPosition.
getDirectionOfNode(StyledNode node) TextDirection
getPositionDelta(Delta user, Delta actual) int
isDataOnlyNewLines(Object data) bool