aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/src/lib.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-25 10:44:26 +0100
committerAleksey Kladov <[email protected]>2018-08-25 10:44:26 +0100
commit32c8ea93074286f3111317fe3077698c0afe929f (patch)
treee388b0fad293968c1b5ef0163de7a81408ad1367 /crates/libeditor/src/lib.rs
parent87cd57d56aeafa1117a6163249d210f39efe8f28 (diff)
Move atom edit to libsyntax2
Diffstat (limited to 'crates/libeditor/src/lib.rs')
-rw-r--r--crates/libeditor/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
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::{
15 algo::{walk, find_leaf_at_offset}, 15 algo::{walk, find_leaf_at_offset},
16 SyntaxKind::{self, *}, 16 SyntaxKind::{self, *},
17}; 17};
18pub use libsyntax2::AtomEdit;
18pub use self::{ 19pub use self::{
19 line_index::{LineIndex, LineCol}, 20 line_index::{LineIndex, LineCol},
20 extend_selection::extend_selection, 21 extend_selection::extend_selection,
21 symbols::{StructureNode, file_structure, FileSymbol, file_symbols}, 22 symbols::{StructureNode, file_structure, FileSymbol, file_symbols},
22 edit::{EditBuilder, Edit, AtomEdit}, 23 edit::{EditBuilder, Edit},
23 code_actions::{ 24 code_actions::{
24 ActionResult, find_node, 25 ActionResult, find_node,
25 flip_comma, add_derive, add_impl, 26 flip_comma, add_derive, add_impl,