JoinLines frontend

This commit is contained in:
Aleksey Kladov 2018-08-23 22:14:51 +03:00
parent 18918769ba
commit 8ad586a44e
5 changed files with 60 additions and 1 deletions

View file

@ -27,6 +27,7 @@ use {
handle_goto_definition,
handle_find_matching_brace,
handle_parent_module,
handle_join_lines,
},
};
@ -145,6 +146,9 @@ fn on_request(
handle_request_on_threadpool::<req::ParentModule>(
&mut req, pool, world, sender, handle_parent_module,
)?;
handle_request_on_threadpool::<req::JoinLines>(
&mut req, pool, world, sender, handle_join_lines,
)?;
dispatch::handle_request::<req::ExecuteCommand, _>(&mut req, |params, resp| {
io.send(RawMsg::Response(resp.into_response(Ok(None))?));