twrite 0.9.0

A fast, modular, customizable text editor engine for GPUI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! TWrite is a fast, modular text editor engine for GPUI.
//!
//! It provides rope-backed text editing, multi-span syntax highlighting,
//! a versatile hook system for modal editing and smart pairs, and GPU-accelerated rendering.

/// Core buffer, syntax, movement, and hook primitives.
pub use twrite_core::*;

/// GPUI canvas rendering, theming, configuration, and editor view.
pub use twrite_gpui::*;

/// CommonMark and GitHub Flavored Markdown highlighter and interactive hook.
#[cfg(feature = "markdown")]
pub mod markdown {
    pub use twrite_core::markdown::*;
}