aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view/src/lib.rs')
-rw-r--r--helix-view/src/lib.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/helix-view/src/lib.rs b/helix-view/src/lib.rs
index 9cf36ae0..9a980446 100644
--- a/helix-view/src/lib.rs
+++ b/helix-view/src/lib.rs
@@ -66,17 +66,6 @@ pub fn align_view(doc: &Document, view: &mut View, align: Align) {
view.offset.row = line.saturating_sub(relative);
}
-/// Applies a [`helix_core::Transaction`] to the given [`Document`]
-/// and [`View`].
-pub fn apply_transaction(
- transaction: &helix_core::Transaction,
- doc: &mut Document,
- view: &View,
-) -> bool {
- // TODO remove this helper function. Just call Document::apply everywhere directly.
- doc.apply(transaction, view.id)
-}
-
pub use document::Document;
pub use editor::Editor;
pub use theme::Theme;