mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
copy+paste error handling progress
This commit is contained in:
parent
93e9353e5e
commit
8a5162cdb4
7 changed files with 261 additions and 69 deletions
|
@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue