Add text manipulation facilities to Rope for test purposes

This commit is contained in:
Antonio Scandurra 2021-11-12 17:02:51 +01:00
parent fe786f3366
commit 4e32fabfdc
3 changed files with 19 additions and 6 deletions

View file

@ -439,7 +439,7 @@ impl Buffer {
uri,
Default::default(),
snapshot.version as i32,
snapshot.buffer_snapshot.text().into(),
snapshot.buffer_snapshot.text().to_string(),
),
},
)