zed

Abstract engine for text edition in OCaml

OTHER License

Stars
121
Committers
16

Bot releases are visible (Hide)

zed - 3.2.3 Latest Release

Published by kandu about 1 year ago

3.2.3 (2023-08-10)

  • Zed_edit: fix the Next_word and Prev_word actions
zed - 3.2.2

Published by tmattio over 1 year ago

CHANGES:

  • Zed_utf8.next_error: raise Zed_utf8.Out_of_bounds in case of invalid offset (@Lucccyo, #52)
  • kill_next_word should not raise Out_of_bound (@Lucccyo, #55)
  • of_utf8: add Uchar.is_valid to check the input (@Lucccyo, #51)
zed - 3.2.1

Published by tmattio almost 2 years ago

CHANGES:

  • Check if decoded values fit in Uchar (Etienne Millon, #50)
zed - 3.2.0

Published by tmattio over 2 years ago

CHANGES:

  • Replace Camomile with uu* (Nicolás Ojeda Bär, ZAN DoYe, Thibaut Mattio, #46)
zed - 3.1.0

Published by kandu over 4 years ago

3.1.0 (2020-05-30)

  • Zed_edit
    • Set_pos action
    • Insert_str action
zed - 3.0.1

Published by kandu over 4 years ago

3.0.1 (2020-04-28)

  • Zed_edit: fix copy_sequence
zed - 3.0.0

Published by kandu over 4 years ago

3.0.0 (2020-04-25)

  • Zed_edit:
    • new actions
      • Join_line
      • Goto of int
      • Delete_next_chars of int
      • Delete_prev_chars of int
      • Kill_next_chars of int
      • Kill_prev_chars of int
    • function copy_sequence
zed - 2.0.7

Published by kandu over 4 years ago

2.0.7 (2020-04-08)

  • fix Zed_edit.undo (#36)
zed - 2.0.6

Published by kandu over 4 years ago

2.0.6 (2020-02-27)

  • compatible with Result (>= 1.5) (@mjambon, #31)
zed - 2.0.5

Published by kandu over 4 years ago

2.0.5 (2020-01-29)

  • Zed_rope.Zip: fix a bug in function make_b
zed - 2.0.4

Published by kandu almost 5 years ago

2.0.4 (2019-12-31)

  • add wanted_column support for wide width character
  • Zed_lines: get_idx_by_width set row column_width return the offset of the character at [row, column_width]
zed - 2.0.3

Published by kandu about 5 years ago

2.0.3 (2019-08-09)

  • Zed_string
    • exception Invalid of string * string raised when an invalid Zed_char sequence is encounted
    • next_ofs : t -> int -> int returns the offset of the next zchar in t
    • prev_ofs : t -> int -> int returns the offset of the prev zchar in t
zed - 2.0.2

Published by kandu over 5 years ago

2.0.2 (2019-06-21)

  • Zed_utf8: fix an offset-stepping bug in function unsafe_extract_prev
zed - 2.0.1

Published by kandu over 5 years ago

2.0.1 (2019-06-04)

  • Zed_char: add an indv_combining option to the transforming functions(of_uChars, zChars_of_uChars, of_utf8) to determine whether to extract individual combining marks from the parameter (#18)
  • Zed_char: clarify some documentation comments (#18)
zed - 2.0

Published by kandu over 5 years ago

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 or Zed_string.t as arguemnts instead of UChar.t or Zed_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 raw UChar.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 and removed_width

General

  • README: Add Travis badge (Kevin Ji, #11)
  • Add travis config (Anurag Soni, #10)
  • Switch to dune (Anurag Soni, #9)
zed - https://github.com/ocaml-community/zed/releases/tag/1.6

Published by rgrinberg almost 7 years ago

1.6 (2017-11-05)

  • safe-string compatibility (#8)