Add more vi commands
This commit is contained in:
parent
e6df88f698
commit
2342bf0eae
4 changed files with 54 additions and 0 deletions
|
|
@ -73,6 +73,9 @@ pub trait Edit<'a> {
|
|||
/// Get the current selection position
|
||||
fn select_opt(&self) -> Option<Cursor>;
|
||||
|
||||
/// Set the current selection position
|
||||
fn set_select_opt(&mut self, select_opt: Option<Cursor>);
|
||||
|
||||
/// Shape lines until scroll, after adjusting scroll if the cursor moved
|
||||
fn shape_as_needed(&mut self);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue