continuity-text 0.2.38

Text coordinates, selections, and edit primitives for the Continuity editor engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Errors for the `continuity-text` crate.

use thiserror::Error;

/// Errors that can arise while operating on text primitives.
#[derive(Debug, Error)]
pub enum Error {
    /// An offset or position fell outside the bounds of the text.
    #[error("offset {0} out of bounds")]
    OutOfBounds(usize),
}