Ansi_text.Text_with_style_rangesinclude module type of Text_with_style_rangesAlternative representation that's only valid if all styles have clear start and end positions. This type is far less general than Text_with_ansi.t, and somewhat less thoroughly tested. Its intended use case is re-rendering patdiff output for the web-ui.
include Ppx_compare_lib.Comparable.S with type t := tinclude Ppx_compare_lib.Comparable.S__local with type t := tinclude Ppx_compare_lib.Equal.S with type t := tinclude Ppx_compare_lib.Equal.S__local with type t := tinclude Ppx_quickcheck_runtime.Quickcheckable.S with type t := tval quickcheck_generator : t Base_quickcheck.Generator.tval quickcheck_observer : t Base_quickcheck.Observer.tval quickcheck_shrinker : t Base_quickcheck.Shrinker.tinclude Sexplib0.Sexpable.S with type t := tinclude Sexplib0.Sexpable.Of_sexp with type t := tval t_of_sexp : Sexplib0.Sexp.t -> tinclude Sexplib0.Sexpable.Sexp_of with type t := tval sexp_of_t : t -> Sexplib0.Sexp.tval width : t -> intval is_empty : t -> boolval to_string : t -> stringval to_string_hum : t -> stringval to_unstyled : t -> stringRemoves styles between start and end_, shortening ranges as necessary.