Releases: ocaml-community/zed
Releases · ocaml-community/zed
2.0.4
2.0.3
2.0.2
2.0.1
2.0
2.0 (2019-05-17)
Additions
- module Zed_char
- module Zed_string
- Zed_cursor
column_display: Zed_cursor.t -> int React.signal
get_column: Zed_cursor.t -> int
coordinates_display: Zed_cursor.t -> (int * int) React.signal
get_coordinates: Zed_cursor.t -> int * int
- Zed_edit
regexp_word_core: Zed_re.Core.t
regexp_word_raw: Zed_re.raw.t
match_by_regexp_core
match_by_regexp_raw
Breaking
- Zed_rope
- Zed_rope.empty is a function now
- Other functions in this module take
Zed_char.t
orZed_string.t
as arguemnts instead ofUChar.t
orZed_utf8.t
- module Zipper is divided into two modules, Zip and Zip_raw, to navigate over a rope by Zed_char.t or UChar.t, respectively
- module Text is divided into three modules, Text, Text_core, Text_raw, to manager Zed_rope by Zed_char.t, the core UChar.t of a
Zed_char.t
and rawUChar.t
, respectively
- Zed_re is therefore divided into two modules: Core and Raw
- Zed_cursor: the type
changes
is defined as a structure and has two more fields:added_width
andremoved_width