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

#77 in Text editors

Download history 20/week @ 2024-01-14 103/week @ 2024-01-21 57/week @ 2024-01-28 57/week @ 2024-02-04 66/week @ 2024-02-11 225/week @ 2024-02-18 118/week @ 2024-02-25 46/week @ 2024-03-03 176/week @ 2024-03-10 67/week @ 2024-03-17 30/week @ 2024-03-24 126/week @ 2024-03-31 40/week @ 2024-04-07 25/week @ 2024-04-14 29/week @ 2024-04-21 7/week @ 2024-04-28

107 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–15MB
~165K SLoC