package zed
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=ea73e9590a5607c2d7e919886a139ff778753f05672cd80b0c7cb164d7d3d59b
md5=dc7b68873af80f3ee5013e5ceae7434d
Description
Zed is an abstract engine for text edition. It can be used to write text editors, edition widgets, readlines, ... Zed uses Camomile to fully support the Unicode specification, and implements an UTF-8 encoded string type with validation, and a rope datastructure to achieve efficient operations on large Unicode buffers. Zed also features a regular expression search on ropes. To support efficient text edition capabilities, Zed provides macro recording and cursor management facilities.
Published: 10 Jun 2019
README
Zed
Zed is an abstract engine for text edition. It can be used to write text editors, edition widgets, readlines, ... You just have to connect an engine to your inputs and rendering functions to get an editor.
Zed provides:
edition state management,
multiple cursor support,
key-binding helpers,
general purpose unicode rope manipulation functions.
Installation
To build and install zed, use opam:
$ opam install zed
Modules
Zed_edit
: the main module, it defines edition engines.Zed_cursor
: manages cursors. Cursors are automatically updated when the text is modified.Zed_lines
: maintains the offsets of beginning of lines.Zed_input
: helpers for implementing key bindings.Zed_macro
: helpers for writing macro systems.Zed_utf8
: general purpose UTF-8 strings manipulation.Zed_rope
: general purpose unicode ropes manipulation.Zed_char
: general purpose unicode characters manipulation.Zed_string
: general purpose unicode strings manipulation.
Dependencies (7)
-
result
< "1.5"
-
charInfo_width
>= "1.1.0" & < "2.0~"
- react
-
camomile
>= "1.0.1" & < "2.0.0"
- base-bytes
-
dune
>= "1.0.0"
-
ocaml
>= "4.02.3"
Dev Dependencies
None
Used by (4)
- gufo
-
inquire
= "0.2.0"
-
lambda-term
>= "2.0" & < "2.0.2"
-
ocp-browser
>= "1.2"
Conflicts
None