public TextPoint InsertAndFormat()
            {
                var text = this.GenText();

                InsertedEnd = InsertStart.InsertAndFormat(text);
                return(InsertedEnd);
            }
            public TextPoint GetContentEndPoint()
            {
                EditPoint endP = InsertStart.CreateEditPoint();

                endP.CharRightExact(Content.Length);
                return(endP);
            }
Esempio n. 3
0
            public void OutlineText()
            {
                var endPointExcludingNewline = InsertedEnd.CreateEditPoint();

                endPointExcludingNewline.CharLeft();
                InsertStart.CreateEditPoint().OutlineSection(endPointExcludingNewline);
            }
            public void OutlineText()
            {
                var endWithoutNewline = InsertedEnd.CreateEditPoint();

                endWithoutNewline.CharLeft(1);
                InsertStart.CreateEditPoint().OutlineSection(endWithoutNewline);
            }
Esempio n. 5
0
            public TextPoint Insert_Format_Trim(TextPoint formatEndPoint = null)
            {
                var text = GenText().DeleteBlanklines();

                InsertedEnd = InsertStart.InsertAndFormat(text, formatEndPoint);
                return(InsertedEnd);
            }