Works without indexes
This commit is contained in:
parent
917d47fbaa
commit
f95bd43240
6 changed files with 206 additions and 193 deletions
|
|
@ -8,35 +8,35 @@ EditedText {
|
|||
operations: [
|
||||
OrderedOperation {
|
||||
order: 0,
|
||||
operation: <delete 'hello world!' from index 0>,
|
||||
operation: <delete 'hello world!'>,
|
||||
},
|
||||
OrderedOperation {
|
||||
order: 12,
|
||||
operation: <insert 'Hello, my friend!' from index 0>,
|
||||
operation: <insert 'Hello, my friend!'>,
|
||||
},
|
||||
OrderedOperation {
|
||||
order: 12,
|
||||
operation: <equal ' ' from index 17>,
|
||||
operation: <equal ' '>,
|
||||
},
|
||||
OrderedOperation {
|
||||
order: 13,
|
||||
operation: <equal 'How' from index 18>,
|
||||
operation: <equal 'How'>,
|
||||
},
|
||||
OrderedOperation {
|
||||
order: 16,
|
||||
operation: <equal ' ' from index 21>,
|
||||
operation: <equal ' '>,
|
||||
},
|
||||
OrderedOperation {
|
||||
order: 17,
|
||||
operation: <equal 'are' from index 22>,
|
||||
operation: <equal 'are'>,
|
||||
},
|
||||
OrderedOperation {
|
||||
order: 20,
|
||||
operation: <delete ' you? Adam' from index 25>,
|
||||
operation: <delete ' you? Adam'>,
|
||||
},
|
||||
OrderedOperation {
|
||||
order: 31,
|
||||
operation: <insert ' you doing? Albert' from index 25>,
|
||||
operation: <insert ' you doing? Albert'>,
|
||||
},
|
||||
],
|
||||
cursors: [],
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
source: reconcile/src/operation_transformation/edited_text.rs
|
||||
source: src/operation_transformation/edited_text.rs
|
||||
expression: operations
|
||||
snapshot_kind: text
|
||||
---
|
||||
|
|
@ -8,15 +8,15 @@ EditedText {
|
|||
operations: [
|
||||
OrderedOperation {
|
||||
order: 0,
|
||||
operation: <equal 'hello' from index 0>,
|
||||
operation: <equal 'hello'>,
|
||||
},
|
||||
OrderedOperation {
|
||||
order: 5,
|
||||
operation: <equal ' ' from index 5>,
|
||||
operation: <equal ' '>,
|
||||
},
|
||||
OrderedOperation {
|
||||
order: 6,
|
||||
operation: <equal 'world!' from index 6>,
|
||||
operation: <equal 'world!'>,
|
||||
},
|
||||
],
|
||||
cursors: [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue