bonsai_term_components.zed
Zed_rope.Buffer
This module is similar of the Buffer module of the standard library except that it works with rope.
Buffer
bonsai_term_components.bar_chart
bonsai_term_components.border_box
bonsai_term_components.catppuccin
bonsai_term_components.click_handler
bonsai_term_components.compatibility
bonsai_term_components.less_keybindings
bonsai_term_components.ncdu
bonsai_term_components.scroller
bonsai_term_components.spinner
bonsai_term_components.text_editor
bonsai_term_components.textbox
bonsai_term_components.tree_view
bonsai_term_components.typography
ppxlib
yojson
type t
Type of rope buffers.
val create : unit -> t
Create a new empty buffer.
val add : t -> Zed_char.t -> unit
add buffer x add x at the end of buffer.
add buffer x
x
buffer
val contents : t -> rope
contents buffer returns the contents of buffer as a rope.
contents buffer
val reset : t -> unit
reset buffer resets buffer to its initial state.
reset buffer