kode-core 0.2.5

Framework-agnostic text editor core — buffer, selection, undo, and edit primitives built on ropey
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::Position;

#[derive(Debug, Clone, PartialEq)]
pub enum MarkerSeverity {
    Error,
    Warning,
    Info,
    Hint,
}

#[derive(Debug, Clone)]
pub struct Marker {
    pub start: Position,
    pub end: Position,
    pub message: String,
    pub severity: MarkerSeverity,
}