public void HighlightedWordAtBeginningTest()
        {
            var text      = "|~S~|add|~E~|{\r\n}";
            var info      = new InternalHighlightRawInfo(text, 1);
            var converter = new HighlightSearchKey();

            converter.Convert(info, null, null, null);
        }
        public void MakeSureEmptyLinesAreHandled()
        {
            var converter = new HighlightSearchKey();
            var sb        = new StringBuilder();

            for (int i = 0; i < 10; i++)
            {
                sb.AppendLine("abc");
                sb.AppendLine();
            }
            var info  = new InternalHighlightRawInfo(sb.ToString(), 1);
            var lines = ((Span)converter.Convert(info, null, null, null)).Inlines.ToArray();
            var n     = Environment.NewLine;
        }
        public void HandleTextWithHeadingAndTailingEmptyLines()
        {
            var converter = new HighlightSearchKey();
            var sb        = new StringBuilder();

            sb.AppendLine();
            sb.AppendLine();
            for (int i = 0; i < 10; i++)
            {
                sb.AppendLine("abc");
                sb.AppendLine();
            }
            sb.AppendLine();
            sb.AppendLine();
            var info = new InternalHighlightRawInfo(sb.ToString(), 1);

            converter.Convert(info, null, null, null);
        }