summaryrefslogtreecommitdiff
path: root/helix-view/src/view.rs
diff options
context:
space:
mode:
authorIvan Tham2023-01-21 18:13:43 +0000
committerGitHub2023-01-21 18:13:43 +0000
commita20a96abdcfbea3b3eb890bfc266850938434a90 (patch)
treedf1300dfc07f671c11abb195a62ba3f20ea510c6 /helix-view/src/view.rs
parent68fc10903aad7b5dbb5b8be4ee17343e1a1b8f6c (diff)
Remove apply_transaction helper (#5598)
Diffstat (limited to 'helix-view/src/view.rs')
-rw-r--r--helix-view/src/view.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/helix-view/src/view.rs b/helix-view/src/view.rs
index c09d502d..23fb85c9 100644
--- a/helix-view/src/view.rs
+++ b/helix-view/src/view.rs
@@ -380,8 +380,6 @@ impl View {
// }
/// Applies a [`Transaction`] to the view.
- /// Instead of calling this function directly, use [crate::apply_transaction]
- /// which applies a transaction to the [`Document`] and view together.
pub fn apply(&mut self, transaction: &Transaction, doc: &mut Document) {
self.jumps.apply(transaction, doc);
self.doc_revisions