refactor(new_editor): streamline internal layout and command routing

This commit is contained in:
2026-04-15 19:30:58 +08:00
parent 9654f4d91a
commit df8f433fbb
84 changed files with 3250 additions and 3008 deletions

View File

@@ -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));
}