Edits with cursors

This commit is contained in:
Aleksey Kladov
2018-08-15 23:24:20 +03:00
parent a7d31b55a4
commit aa0d344581
5 changed files with 85 additions and 37 deletions

View File

@@ -21,7 +21,7 @@ pub use self::{
extend_selection::extend_selection,
symbols::{StructureNode, file_structure, FileSymbol, file_symbols},
edit::{EditBuilder, Edit, AtomEdit},
code_actions::{flip_comma, add_derive},
code_actions::{flip_comma, add_derive, ActionResult, CursorPosition},
};
#[derive(Debug)]
@@ -36,13 +36,6 @@ pub struct Diagnostic {
pub msg: String,
}
#[derive(Debug)]
pub struct Symbol {
// pub parent: ???,
pub name: String,
pub range: TextRange,
}
#[derive(Debug)]
pub struct Runnable {
pub range: TextRange,