util library
Utility functions for Zefyr.
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
. -
getPositionDelta(
Delta user, Delta actual) → int