refactor(new_editor): streamline internal layout and command routing
This commit is contained in:
@@ -52,6 +52,12 @@ void EditorContext::AttachTextMeasurer(
|
||||
m_shellServices.textMeasurer = &textMeasurer;
|
||||
}
|
||||
|
||||
void EditorContext::BindEditCommandRoutes(
|
||||
EditorEditCommandRoute* hierarchyRoute,
|
||||
EditorEditCommandRoute* projectRoute) {
|
||||
m_hostCommandBridge.BindEditCommandRoutes(hierarchyRoute, projectRoute);
|
||||
}
|
||||
|
||||
void EditorContext::SetExitRequestHandler(std::function<void()> handler) {
|
||||
m_hostCommandBridge.SetExitRequestHandler(std::move(handler));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user