Fix tests
This commit is contained in:
parent
210ca61f13
commit
00bc4d1e88
4 changed files with 16 additions and 8 deletions
|
|
@ -4,6 +4,7 @@ use unicode_segmentation::UnicodeSegmentation;
|
|||
|
||||
use crate::{
|
||||
Action,
|
||||
AttrsList,
|
||||
Buffer,
|
||||
Color,
|
||||
Cursor,
|
||||
|
|
@ -83,6 +84,10 @@ impl<'a> Edit<'a> for ViEditor<'a> {
|
|||
self.editor.delete_selection()
|
||||
}
|
||||
|
||||
fn insert_string(&mut self, data: &str, attrs_list: Option<AttrsList>) {
|
||||
self.editor.insert_string(data, attrs_list);
|
||||
}
|
||||
|
||||
fn action(&mut self, action: Action) {
|
||||
let old_mode = self.mode;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue