Editor: add GotoLine action
This commit is contained in:
parent
e62fea5efd
commit
db0883b525
2 changed files with 8 additions and 0 deletions
|
|
@ -89,6 +89,8 @@ pub enum Action {
|
|||
BufferStart,
|
||||
/// Move cursor to the end of the document
|
||||
BufferEnd,
|
||||
/// Move cursor to specific line
|
||||
GotoLine(usize),
|
||||
}
|
||||
|
||||
/// A trait to allow easy replacements of [`Editor`], like `SyntaxEditor`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue