Better docs

This commit is contained in:
Andras Schmelczer 2025-04-05 14:47:04 +01:00
parent a1b3b61c43
commit 123d03fbed
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 2 additions and 3 deletions

View file

@ -13,9 +13,7 @@ use crate::{
},
};
/// Represents a change that can be applied to a text document.
/// Operation is tied to a `ropey::Rope` and is mainly expected to be
/// created by `EditedText`.
/// Represents a change that can be applied on a `StringBuilder`.
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[derive(Clone, PartialEq)]
pub enum Operation<T>

View file

@ -0,0 +1 @@
The `|` characters denote cursor positions which are stripped before the actual reconcile logic is run