mirror of
https://github.com/zaphar/sheetsui.git
synced 2025-07-23 05:19:48 -04:00
feat: s
replaces a cells contents
This commit is contained in:
parent
142ecef24c
commit
c758f65a5c
@ -657,6 +657,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