diff --git a/src/buffer/out/TextAttribute.cpp b/src/buffer/out/TextAttribute.cpp index 4e0003eece..84e100afa3 100644 --- a/src/buffer/out/TextAttribute.cpp +++ b/src/buffer/out/TextAttribute.cpp @@ -238,8 +238,8 @@ void TextAttribute::SetDefaultBackground() noexcept } // Method Description: -// - Returns true if this attribute indicates it's foreground is the "default" -// foreground. It's _rgbForeground will contain the actual value of the +// - Returns true if this attribute indicates its foreground is the "default" +// foreground. Its _rgbForeground will contain the actual value of the // default foreground. If the default colors are ever changed, this method // should be used to identify attributes with the default fg value, and // update them accordingly. @@ -253,8 +253,8 @@ bool TextAttribute::ForegroundIsDefault() const noexcept } // Method Description: -// - Returns true if this attribute indicates it's background is the "default" -// background. It's _rgbBackground will contain the actual value of the +// - Returns true if this attribute indicates its background is the "default" +// background. Its _rgbBackground will contain the actual value of the // default background. If the default colors are ever changed, this method // should be used to identify attributes with the default bg value, and // update them accordingly. diff --git a/src/buffer/out/UnicodeStorage.cpp b/src/buffer/out/UnicodeStorage.cpp index 813cf3fd49..db5dd31825 100644 --- a/src/buffer/out/UnicodeStorage.cpp +++ b/src/buffer/out/UnicodeStorage.cpp @@ -32,7 +32,7 @@ void UnicodeStorage::StoreGlyph(const key_type key, const mapped_type& glyph) } // Routine Description: -// - erases key and it's associated data from the storage +// - erases key and its associated data from the storage // Arguments: // - key - the key to remove void UnicodeStorage::Erase(const key_type key) noexcept diff --git a/src/cascadia/TerminalApp/CascadiaSettingsSerialization.cpp b/src/cascadia/TerminalApp/CascadiaSettingsSerialization.cpp index 5adc4b38d5..25d021b24b 100644 --- a/src/cascadia/TerminalApp/CascadiaSettingsSerialization.cpp +++ b/src/cascadia/TerminalApp/CascadiaSettingsSerialization.cpp @@ -366,7 +366,7 @@ std::optional CascadiaSettings::_LoadAsUnpackagedApp() // function Description: // - Returns the full path to the settings file, either within the application -// package, or in it's unpackaged location. +// package, or in its unpackaged location. // Arguments: // - // Return Value: @@ -378,7 +378,7 @@ winrt::hstring CascadiaSettings::GetSettingsPath() } // Function Description: -// - Get the full path to settings file in it's packaged location. +// - Get the full path to settings file in its packaged location. // Arguments: // - // Return Value: diff --git a/src/cascadia/TerminalApp/GlobalAppSettings.cpp b/src/cascadia/TerminalApp/GlobalAppSettings.cpp index 1dfa46397d..6a2d2cd147 100644 --- a/src/cascadia/TerminalApp/GlobalAppSettings.cpp +++ b/src/cascadia/TerminalApp/GlobalAppSettings.cpp @@ -228,7 +228,7 @@ ElementTheme GlobalAppSettings::_ParseTheme(const std::wstring& themeString) noe } // Method Description: -// - Helper function for converting a CursorStyle to it's corresponding string +// - Helper function for converting a CursorStyle to its corresponding string // value. // Arguments: // - theme: The enum value to convert to a string. diff --git a/src/cascadia/TerminalApp/Profile.cpp b/src/cascadia/TerminalApp/Profile.cpp index 3e04ae22d8..95dae7c60c 100644 --- a/src/cascadia/TerminalApp/Profile.cpp +++ b/src/cascadia/TerminalApp/Profile.cpp @@ -572,7 +572,7 @@ CursorStyle Profile::_ParseCursorShape(const std::wstring& cursorShapeString) } // Method Description: -// - Helper function for converting a CursorStyle to it's corresponding string +// - Helper function for converting a CursorStyle to its corresponding string // value. // Arguments: // - cursorShape: The enum value to convert to a string. diff --git a/src/cascadia/TerminalApp/Tab.cpp b/src/cascadia/TerminalApp/Tab.cpp index 48f71ab60a..1449f4dcae 100644 --- a/src/cascadia/TerminalApp/Tab.cpp +++ b/src/cascadia/TerminalApp/Tab.cpp @@ -20,7 +20,7 @@ Tab::~Tab() { // When we're destructed, winrt will automatically decrement the refcount // of our terminalcontrol. - // Assuming that refcount hits 0, it'll destruct it on it's own, including + // Assuming that refcount hits 0, it'll destruct it on its own, including // calling Close on the terminal and connection. } diff --git a/src/cascadia/TerminalConnection/ConhostConnection.cpp b/src/cascadia/TerminalConnection/ConhostConnection.cpp index 8068c8e4e6..471573a173 100644 --- a/src/cascadia/TerminalConnection/ConhostConnection.cpp +++ b/src/cascadia/TerminalConnection/ConhostConnection.cpp @@ -76,7 +76,7 @@ namespace winrt::Microsoft::Terminal::TerminalConnection::implementation _connected = true; // Create our own output handling thread - // Each console needs to make sure to drain the output from it's backing host. + // Each console needs to make sure to drain the output from its backing host. _outputThreadId = (DWORD)-1; _hOutputThread = CreateThread(nullptr, 0, diff --git a/src/cascadia/TerminalControl/TermControl.cpp b/src/cascadia/TerminalControl/TermControl.cpp index 8a7c41f7a0..27ea9b5b3b 100644 --- a/src/cascadia/TerminalControl/TermControl.cpp +++ b/src/cascadia/TerminalControl/TermControl.cpp @@ -133,7 +133,7 @@ namespace winrt::Microsoft::Terminal::TerminalControl::implementation _root.Dispatcher().RunAsync(CoreDispatcherPriority::Normal,[this](){ // Update our control settings _ApplyUISettings(); - // Update the terminal core with it's new Core settings + // Update the terminal core with its new Core settings _terminal->UpdateSettings(_settings); // Refresh our font with the renderer @@ -293,7 +293,7 @@ namespace winrt::Microsoft::Terminal::TerminalControl::implementation _renderer->AddRenderEngine(dxEngine.get()); // Set up the renderer to be used to calculate the width of a glyph, - // should we be unable to figure out it's width another way. + // should we be unable to figure out its width another way. auto pfn = std::bind(&::Microsoft::Console::Render::Renderer::IsGlyphWideByFont, _renderer.get(), std::placeholders::_1); SetGlyphWidthFallback(pfn); diff --git a/src/cascadia/WindowsTerminal/IslandWindow.cpp b/src/cascadia/WindowsTerminal/IslandWindow.cpp index ba94a76877..fb2e28184c 100644 --- a/src/cascadia/WindowsTerminal/IslandWindow.cpp +++ b/src/cascadia/WindowsTerminal/IslandWindow.cpp @@ -46,7 +46,7 @@ void IslandWindow::MakeWindow() noexcept WINRT_ASSERT(!_window); // Create the window with the default size here - During the creation of the - // window, the system will give us a chance to set it's size in WM_CREATE. + // window, the system will give us a chance to set its size in WM_CREATE. // WM_CREATE will be handled synchronously, before CreateWindow returns. WINRT_VERIFY(CreateWindow(wc.lpszClassName, L"Windows Terminal", diff --git a/src/cppwinrt.build.post.props b/src/cppwinrt.build.post.props index c78af5ff7a..0e598d4145 100644 --- a/src/cppwinrt.build.post.props +++ b/src/cppwinrt.build.post.props @@ -42,7 +42,7 @@