From 32c8ea93074286f3111317fe3077698c0afe929f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 25 Aug 2018 12:44:26 +0300 Subject: Move atom edit to libsyntax2 --- crates/libeditor/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/libeditor/src/lib.rs') diff --git a/crates/libeditor/src/lib.rs b/crates/libeditor/src/lib.rs index a604d1951..55302265f 100644 --- a/crates/libeditor/src/lib.rs +++ b/crates/libeditor/src/lib.rs @@ -15,11 +15,12 @@ use libsyntax2::{ algo::{walk, find_leaf_at_offset}, SyntaxKind::{self, *}, }; +pub use libsyntax2::AtomEdit; pub use self::{ line_index::{LineIndex, LineCol}, extend_selection::extend_selection, symbols::{StructureNode, file_structure, FileSymbol, file_symbols}, - edit::{EditBuilder, Edit, AtomEdit}, + edit::{EditBuilder, Edit}, code_actions::{ ActionResult, find_node, flip_comma, add_derive, add_impl, -- cgit v1.2.3