diff options
author | Aleksey Kladov <[email protected]> | 2018-08-15 21:24:20 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-15 21:24:20 +0100 |
commit | aa0d344581dcfd7f18c595688a4b2709b0f2421e (patch) | |
tree | 9846f587dcad204e6744ca5ff37faccf4251104c /crates/libeditor/src/lib.rs | |
parent | a7d31b55a4292f55851bc75265643b2ae2e675df (diff) |
Edits with cursors
Diffstat (limited to 'crates/libeditor/src/lib.rs')
-rw-r--r-- | crates/libeditor/src/lib.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/crates/libeditor/src/lib.rs b/crates/libeditor/src/lib.rs index 2c46ca45f..9e44f5d92 100644 --- a/crates/libeditor/src/lib.rs +++ b/crates/libeditor/src/lib.rs | |||
@@ -21,7 +21,7 @@ pub use self::{ | |||
21 | extend_selection::extend_selection, | 21 | extend_selection::extend_selection, |
22 | symbols::{StructureNode, file_structure, FileSymbol, file_symbols}, | 22 | symbols::{StructureNode, file_structure, FileSymbol, file_symbols}, |
23 | edit::{EditBuilder, Edit, AtomEdit}, | 23 | edit::{EditBuilder, Edit, AtomEdit}, |
24 | code_actions::{flip_comma, add_derive}, | 24 | code_actions::{flip_comma, add_derive, ActionResult, CursorPosition}, |
25 | }; | 25 | }; |
26 | 26 | ||
27 | #[derive(Debug)] | 27 | #[derive(Debug)] |
@@ -37,13 +37,6 @@ pub struct Diagnostic { | |||
37 | } | 37 | } |
38 | 38 | ||
39 | #[derive(Debug)] | 39 | #[derive(Debug)] |
40 | pub struct Symbol { | ||
41 | // pub parent: ???, | ||
42 | pub name: String, | ||
43 | pub range: TextRange, | ||
44 | } | ||
45 | |||
46 | #[derive(Debug)] | ||
47 | pub struct Runnable { | 40 | pub struct Runnable { |
48 | pub range: TextRange, | 41 | pub range: TextRange, |
49 | pub kind: RunnableKind, | 42 | pub kind: RunnableKind, |