Add more vi commands

This commit is contained in:
Jeremy Soller 2022-11-21 15:49:12 -07:00
parent e6df88f698
commit 2342bf0eae
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
4 changed files with 54 additions and 0 deletions

View file

@ -160,6 +160,10 @@ impl<'a> Edit<'a> for SyntaxEditor<'a> {
fn select_opt(&self) -> Option<Cursor> {
self.editor.select_opt()
}
fn set_select_opt(&mut self, select_opt: Option<Cursor>) {
self.editor.set_select_opt(select_opt);
}
fn shape_as_needed(&mut self) {
#[cfg(feature = "std")]