Skip to content

Commit

Permalink
fix newlines at end of files
Browse files Browse the repository at this point in the history
undo idl changes
  • Loading branch information
carlos-zamora committed Oct 1, 2019
1 parent b4d2c8b commit a36902f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/cascadia/TerminalControl/TermControlAutomationPeer.idl
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import "TermControl.idl";

namespace Microsoft.Terminal.TerminalControl
{
[default_interface] runtimeclass TermControlAutomationPeer :
[default_interface]
runtimeclass TermControlAutomationPeer :
Windows.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer,
Windows.UI.Xaml.Automation.Provider.ITextProvider
{
}
{
}
}
3 changes: 3 additions & 0 deletions src/renderer/uia/UiaRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ UiaEngine::~UiaEngine()
// - S_OK
[[nodiscard]] HRESULT UiaEngine::InvalidateSelection(const std::vector<SMALL_RECT>& rectangles) noexcept
{
auto saveSelection = wil::scope_exit([&] { _prevSelection = rectangles; });

// early exit: different number of rows
if (_prevSelection.size() != rectangles.size())
{
Expand Down Expand Up @@ -218,6 +220,7 @@ UiaEngine::~UiaEngine()
if (_selectionChanged)
{
_dispatcher->SignalUia(ConsoleUiaEvent::SelectionChanged);
_selectionChanged = false;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/types/lib/types.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@
<!-- Careful reordering these. Some default props (contained in these files) are order sensitive. -->
<Import Project="$(SolutionDir)src\common.build.lib.props" />
<Import Project="$(SolutionDir)src\common.build.post.props" />
</Project>
</Project>
2 changes: 1 addition & 1 deletion src/types/lib/types.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@
<ItemGroup>
<Natvis Include="$(SolutionDir)tools\ConsoleTypes.natvis" />
</ItemGroup>
</Project>
</Project>

0 comments on commit a36902f

Please sign in to comment.