summaryrefslogtreecommitdiff
path: root/helix-view/src/document.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view/src/document.rs')
-rw-r--r--helix-view/src/document.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index 82258bde..eba6478d 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -394,7 +394,7 @@ mod test {
doc.state.selection = Selection::single(0, 5);
let transaction = Transaction::change(
- &doc.state,
+ &doc.state.doc,
vec![(0, 2, Some("aei".into())), (3, 5, Some("ou".into()))].into_iter(),
);
// aeilou