copy+paste error handling progress

This commit is contained in:
Anton-4 2021-01-27 19:53:38 +01:00
parent 93e9353e5e
commit 8a5162cdb4
7 changed files with 261 additions and 69 deletions

View file

@ -157,7 +157,7 @@ fn run_event_loop(file_path_opt: Option<&Path>) -> Result<(), Box<dyn Error>> {
None
};
let mut app_model = AppModel { ed_model_opt };
let mut app_model = AppModel::init(ed_model_opt);
let mut keyboard_modifiers = ModifiersState::empty();
@ -229,7 +229,7 @@ fn run_event_loop(file_path_opt: Option<&Path>) -> Result<(), Box<dyn Error>> {
input.state,
virtual_keycode,
keyboard_modifiers,
ed_model,
&mut app_model,
);
}
}