Move Side to EditedText from Operation
This commit is contained in:
parent
8a52034426
commit
de89532880
6 changed files with 119 additions and 55 deletions
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
source: src/operation_transformation/edited_text.rs
|
||||
expression: operations
|
||||
snapshot_kind: text
|
||||
---
|
||||
EditedText {
|
||||
text: "hello world! How are you? Adam",
|
||||
|
|
@ -15,5 +14,15 @@ EditedText {
|
|||
<delete ' you? Adam' from 20>,
|
||||
<insert ' you doing? Albert' at 31>,
|
||||
],
|
||||
operation_sides: [
|
||||
Left,
|
||||
Left,
|
||||
Left,
|
||||
Left,
|
||||
Left,
|
||||
Left,
|
||||
Left,
|
||||
Left,
|
||||
],
|
||||
cursors: [],
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
source: src/operation_transformation/edited_text.rs
|
||||
expression: operations
|
||||
snapshot_kind: text
|
||||
---
|
||||
EditedText {
|
||||
text: "hello world!",
|
||||
|
|
@ -10,5 +9,10 @@ EditedText {
|
|||
<equal ' ' from 5>,
|
||||
<equal 'world!' from 6>,
|
||||
],
|
||||
operation_sides: [
|
||||
Left,
|
||||
Left,
|
||||
Left,
|
||||
],
|
||||
cursors: [],
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue