package zed

  1. Overview
  2. Docs
Abstract engine for text edition in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

3.0.0.tar.gz
sha256=2db91de8b14da2193b25ee672d0d57eaf6623a53b6dace645fbdda2bfdf456b9
md5=0eebc0d882e42487a219a142ca6cae02

README.md.html

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.

OCaml

Innovation. Community. Security.