mirror of
https://github.com/zaphar/sheetsui.git
synced 2025-07-22 21:09:48 -04:00
feat: s
replaces a cells contents
This commit is contained in:
parent
9b2f2fbbc3
commit
a8d42321ce
@ -656,6 +656,11 @@ impl<'ws> Workspace<'ws> {
|
||||
KeyCode::Char('s') if key.modifiers == KeyModifiers::CONTROL => {
|
||||
self.save_file()?;
|
||||
}
|
||||
KeyCode::Char('s') if key.modifiers != KeyModifiers::CONTROL => {
|
||||
self.book.clear_current_cell()?;
|
||||
self.text_area = reset_text_area(String::new());
|
||||
self.enter_edit_mode();
|
||||
}
|
||||
KeyCode::Char('r') if key.modifiers == KeyModifiers::CONTROL => {
|
||||
self.enter_range_select_mode();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user