package tiny_appkits

  1. Overview
  2. Docs
Application engines from scratch: a spreadsheet, rich text, paint, draw, CAD, editors and more

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.6.tar.gz
md5=7c636383d146d30ac6f2fa234a6253c8
sha512=c79f3823c5f8f57e5038eb640d487c61168b84aa07c61999d6622ef9fd0c890e2b03b4c6a7cdbbe9352a49e25dda00ac7bb14693cee8e3d7beeed251351a2af0

doc/tiny_appkits.appkit_richtext/Rich/index.html

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