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

#187 in Text editors

Download history 4/week @ 2025-05-21 8/week @ 2025-05-28 4/week @ 2025-06-04 25/week @ 2025-06-11 36/week @ 2025-06-18 27/week @ 2025-06-25 46/week @ 2025-07-02 30/week @ 2025-07-09 36/week @ 2025-07-16 56/week @ 2025-07-23 2/week @ 2025-07-30 29/week @ 2025-08-06 1/week @ 2025-08-13 43/week @ 2025-08-20 13/week @ 2025-08-27 74/week @ 2025-09-03

137 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–14MB
~155K SLoC