allow setting cursor
This commit is contained in:
parent
b5f45f81f6
commit
6dba04df08
4 changed files with 16 additions and 12 deletions
|
|
@ -130,6 +130,10 @@ impl<'a> Edit for SyntaxEditor<'a> {
|
|||
self.editor.cursor()
|
||||
}
|
||||
|
||||
fn set_cursor(&mut self, cursor: Cursor) {
|
||||
self.editor.set_cursor(cursor);
|
||||
}
|
||||
|
||||
fn select_opt(&self) -> Option<Cursor> {
|
||||
self.editor.select_opt()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue