예제 #1
0
        public void AddNewParagraph()
        {
            bool         skipScroll   = SkipScroll();
            MudParagraph newParagraph = new MudParagraph();

            consoleFlowDocument.Blocks.Add(newParagraph);
            if (!skipScroll)
            {
                ScrollToEnd();
            }
        }
예제 #2
0
        public void AddLine(params Run[] runs)
        {
            bool         skipScroll   = SkipScroll();
            MudParagraph newParagraph = new MudParagraph();

            newParagraph.Inlines.AddRange(runs);
            this.consoleFlowDocument.Blocks.Add(newParagraph);
            if (!skipScroll)
            {
                ScrollToEnd();
            }
        }