64 releases

0.8.6 Dec 8, 2024
0.8.5 Oct 30, 2024
0.8.4 Feb 19, 2024
0.7.2 Sep 30, 2018
0.0.4 Mar 30, 2015

#689 in Data structures

Download history 144/week @ 2024-09-23 95/week @ 2024-09-30 110/week @ 2024-10-07 90/week @ 2024-10-14 68/week @ 2024-10-21 169/week @ 2024-10-28 42/week @ 2024-11-04 29/week @ 2024-11-11 45/week @ 2024-11-18 70/week @ 2024-11-25 119/week @ 2024-12-02 163/week @ 2024-12-09 40/week @ 2024-12-16 38/week @ 2024-12-23 19/week @ 2024-12-30 18/week @ 2025-01-06

136 downloads per month
Used in 2 crates

Custom license

160KB
3K SLoC

Scribe: A text editor toolkit

Scribe was extracted from Amp, a text editor written in Rust. It provides a layered set of types for dealing with text documents.

  • GapBuffer - Data structure optimized for successive, close-proximity edits.
  • Buffer - Wrapper that provides bounds-checked cursor management, file persistence, undo/redo (with grouping), lexing (scope-qualified tokens), search, and more.
  • Workspace - Collection of buffers with type detection, and buffer selection and lexer management.

More documentation can be found here.

Dependencies

~5–13MB
~148K SLoC