package tiny_appkits

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module RichSource

Sourcetype t
Sourceval of_string : ?style:Style.t -> string -> t
Sourceval to_string : t -> string
Sourceval length : t -> int
Sourceval edit : t -> Text_edit.t
Sourceval runs : t -> (int * int * Style.t) list
Sourceval style_at : t -> int -> Style.t
Sourceval caret : t -> int
Sourceval range : t -> int * int
Sourceval at : int -> t -> t
Sourceval select : anchor:int -> caret:int -> t -> t
Sourceval to_ : int -> t -> t
Sourceval insert : string -> t -> t
Sourceval delete_backward : t -> t
Sourceval delete_forward : t -> t
Sourceval restyle : (Style.t -> Style.t) -> t -> t
Sourceval typing_style : t -> Style.t