Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ocaml-community/zed
Abstract engine for text edition in OCaml
https://github.com/ocaml-community/zed
ocaml
Last synced: 19 days ago
JSON representation
Abstract engine for text edition in OCaml
- Host: GitHub
- URL: https://github.com/ocaml-community/zed
- Owner: ocaml-community
- License: other
- Created: 2012-10-16T22:00:45.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2023-08-10T13:39:41.000Z (over 1 year ago)
- Last Synced: 2024-12-10T02:10:37.617Z (28 days ago)
- Topics: ocaml
- Language: OCaml
- Size: 403 KB
- Stars: 121
- Watchers: 14
- Forks: 16
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-list - zed - community | 103 | (OCaml)
README
Zed
===[![Build Status](https://travis-ci.org/ocaml-community/zed.svg?branch=master)](https://travis-ci.org/ocaml-community/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.[API Documentation](http://ocaml-community.github.io/zed/)
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.