euv-core 0.52.0

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
/// Classification of a text buffer mutation used to decide Undo coalescing boundaries.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum TextEditKind {
    /// Forward character or string insertion.
    #[default]
    Insert,
    /// Backward deletion (Backspace).
    DeleteBackward,
    /// Forward deletion (Delete).
    DeleteForward,
    /// Explicit selection replacement, paste, or bulk edit (never coalesced).
    Replace,
    /// Committed IME composition string (always recorded as a discrete undo step).
    ImeCommit,
}

/// Visual underline decoration style applied to an active IME preedit clause span.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum ImeUnderlineStyle {
    /// No underline decoration.
    #[default]
    None,
    /// Thin underline marking unconverted or secondary preedit clauses.
    Thin,
    /// Thick underline highlighting the currently selected IME conversion clause.
    Thick,
    /// Dashed underline denoting tentative phonetic composition.
    Dashed,
}