diff --git a/backend/reconcile/src/operation_transformation/operation.rs b/backend/reconcile/src/operation_transformation/operation.rs index 68eab6ae..c25871b7 100644 --- a/backend/reconcile/src/operation_transformation/operation.rs +++ b/backend/reconcile/src/operation_transformation/operation.rs @@ -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 diff --git a/backend/reconcile/tests/examples/README.md b/backend/reconcile/tests/examples/README.md new file mode 100644 index 00000000..f5fafa78 --- /dev/null +++ b/backend/reconcile/tests/examples/README.md @@ -0,0 +1 @@ +The `|` characters denote cursor positions which are stripped before the actual reconcile logic is run