move translate_offset_with_edit to ra_editor

This commit is contained in:
Bernardo 2018-12-18 18:46:54 +01:00
parent 881c29192d
commit 8c9df62c1c
7 changed files with 268 additions and 311 deletions

View file

@ -2,6 +2,7 @@ mod code_actions;
mod extend_selection;
mod folding_ranges;
mod line_index;
mod line_index_utils;
mod symbols;
#[cfg(test)]
mod test_utils;
@ -12,6 +13,7 @@ pub use self::{
extend_selection::extend_selection,
folding_ranges::{folding_ranges, Fold, FoldKind},
line_index::{LineCol, LineIndex},
line_index_utils::translate_offset_with_edit,
symbols::{file_structure, file_symbols, FileSymbol, StructureNode},
typing::{join_lines, on_enter, on_eq_typed},
};