Fix bug preventing spaces from being used in filename
This commit is contained in:
parent
b4a5701e12
commit
1a1451a943
3 changed files with 37 additions and 2 deletions
|
@ -3011,3 +3011,21 @@ mod tests {
|
|||
.unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
// TODO - implement this in the new keymap system
|
||||
// fn update_keymap_context(&self, keymap: &mut KeymapContext, cx: &AppContext) {
|
||||
// Self::reset_to_default_keymap_context(keymap);
|
||||
// keymap.add_identifier("menu");
|
||||
|
||||
// if let Some(window) = cx.active_window() {
|
||||
// window.read_with(cx, |cx| {
|
||||
// let identifier = if self.filename_editor.is_focused(cx) {
|
||||
// "editing"
|
||||
// } else {
|
||||
// "not_editing"
|
||||
// };
|
||||
|
||||
// keymap.add_identifier(identifier);
|
||||
// });
|
||||
// }
|
||||
// }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue