spell check

This commit is contained in:
Carlos Zamora
2026-05-12 10:27:52 -07:00
parent 87d9fdb1da
commit 3ee13c679f
3 changed files with 6 additions and 7 deletions

View File

@@ -1105,7 +1105,6 @@ NOSIZE
NOSNAPSHOT
NOTHOUSANDS
NOTICKS
notif
NOTIMEOUTIFNOTHUNG
NOTIMPL
NOTOPMOST

View File

@@ -238,7 +238,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
if (const auto& profileTag{ destination.try_as<Editor::ProfileViewModel>() })
{
// Find the new profile VM by guid
if (const auto newProfileVM = _FindProfileVMByGuid(profileTag.OriginalProfileGuid()))
if (const auto newProfileVM = _FindProfileViewModelByGuid(profileTag.OriginalProfileGuid()))
{
destination = newProfileVM;
}
@@ -627,7 +627,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
}
else if (*clickedItemTag == colorSchemesTag)
{
// Color Schemes page is a accessible from root level and within Profiles,
// Color Schemes page is accessible from root level and within Profiles,
// so we need to prepend the root crumb in the second case.
if (parentNavTag == profilesTag)
{
@@ -694,7 +694,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
// Suppress the handler to avoid double-navigation
_colorSchemesPageViewModelChangedRevoker.revoke();
// Color Schemes page is a accessible from within Profiles and root level,
// Color Schemes page is accessible from within Profiles and root level,
// so we need to prepend the root crumb in the first case.
if (parentNavTag == profilesTag)
{
@@ -969,14 +969,14 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
void MainPage::_NavigateToProfileHandler(const IInspectable& /*sender*/, winrt::guid profileGuid)
{
if (const auto profileVM = _FindProfileVMByGuid(profileGuid))
if (const auto profileVM = _FindProfileViewModelByGuid(profileGuid))
{
_Navigate(profileVM);
}
// Silently fail if the profile wasn't found
}
Editor::ProfileViewModel MainPage::_FindProfileVMByGuid(winrt::guid profileGuid) const
Editor::ProfileViewModel MainPage::_FindProfileViewModelByGuid(winrt::guid profileGuid) const
{
for (const auto& profileVM : _profilesPageVM.Profiles())
{

View File

@@ -98,7 +98,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
void _Navigate(const IInspectable& vm, BreadcrumbSubPage subPage = BreadcrumbSubPage::None, hstring elementToFocus = {}, hstring parentNavTag = {});
void _NavigateToProfileHandler(const IInspectable& sender, winrt::guid profileGuid);
void _NavigateToColorSchemeHandler(const IInspectable& sender, const IInspectable& args);
Editor::ProfileViewModel _FindProfileVMByGuid(winrt::guid profileGuid) const;
Editor::ProfileViewModel _FindProfileViewModelByGuid(winrt::guid profileGuid) const;
void _AppendProfilesRootCrumb();
bool _RootCrumbIsProfilesBreadcrumb() const;