Module prettydiff::text [−][src]
Expand description
Utils for diff text
Structs
Container for inline text diff result. Can be pretty-printed by Display trait.
Container for line-by-line text diff result. Can be pretty-printed by Display trait.
A style is a collection of properties that can format a string using ANSI escape codes.
Functions
Diff two strings by words (contiguous)
Split string by clousure (Fn(char)->bool) keeping delemiters
Split string by non-alphanumeric characters keeping delemiters