// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "pch.h" #include "HighlightedText.h" #include "HighlightedTextSegment.g.cpp" #include "HighlightedText.g.cpp" using namespace winrt; using namespace winrt::TerminalApp; using namespace winrt::Windows::UI::Core; using namespace winrt::Windows::UI::Xaml; using namespace winrt::Windows::System; using namespace winrt::Windows::UI::Text; using namespace winrt::Windows::Foundation; using namespace winrt::Windows::Foundation::Collections; using namespace winrt::Microsoft::Terminal::Settings::Model; namespace winrt::TerminalApp::implementation { HighlightedTextSegment::HighlightedTextSegment(winrt::hstring const& textSegment, bool isHighlighted) : _TextSegment(textSegment), _IsHighlighted(isHighlighted) { } HighlightedText::HighlightedText(Windows::Foundation::Collections::IObservableVector const& segments) : _Segments(segments) { } }