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

#181 in Text editors

Download history 38/week @ 2024-12-23 19/week @ 2024-12-30 27/week @ 2025-01-06 9/week @ 2025-01-13 10/week @ 2025-01-20 22/week @ 2025-01-27 393/week @ 2025-02-03 40/week @ 2025-02-10 45/week @ 2025-02-17 49/week @ 2025-02-24 38/week @ 2025-03-03 19/week @ 2025-03-10 20/week @ 2025-03-17 14/week @ 2025-03-24 23/week @ 2025-03-31 8/week @ 2025-04-07

69 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
~144K SLoC