feat: HasSelectableText impl to TextEditor
This commit is contained in:
parent
2e1e4bd6e0
commit
a7ca336eb4
3 changed files with 131 additions and 1 deletions
|
|
@ -336,6 +336,10 @@ impl editor::Editor for Editor {
|
|||
}
|
||||
}
|
||||
|
||||
Action::ClearSelection => {
|
||||
editor.set_selection(cosmic_text::Selection::None);
|
||||
}
|
||||
|
||||
// Editing events
|
||||
Action::Edit(edit) => {
|
||||
let topmost_line_before_edit = editor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue