62 releases

0.8.4 Feb 19, 2024
0.8.1 Jan 10, 2024
0.7.2 Sep 30, 2018
0.6.3 Jun 30, 2018
0.0.4 Mar 30, 2015

#74 in Text editors

Download history 21/week @ 2023-12-07 19/week @ 2023-12-14 25/week @ 2023-12-21 19/week @ 2023-12-28 37/week @ 2024-01-04 28/week @ 2024-01-11 68/week @ 2024-01-18 69/week @ 2024-01-25 59/week @ 2024-02-01 68/week @ 2024-02-08 208/week @ 2024-02-15 119/week @ 2024-02-22 68/week @ 2024-02-29 140/week @ 2024-03-07 98/week @ 2024-03-14 38/week @ 2024-03-21

380 downloads per month
Used in amp

Custom license

155KB
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–7MB
~125K SLoC