ParagraphTextView <PlainTextDocument> CreateView(string text = null)
        {
            var doc = new PlainTextDocument();

            doc.InsertAt(0, text ?? "Hello World, Here I am. Long text ahead here. A long word, that is impossible to break apart.");
            var node = doc.Root[0];

            var view = new ParagraphTextView <PlainTextDocument>(node, textStyle, new PlainTextViewFactory());

            return(view);
        }
        ParagraphTextView <PlainTextDocument> CreateView(string text)
        {
            var doc = new PlainTextDocument();

            doc.InsertAt(0, text);
            var node = doc.Root[0];

            var view = new ParagraphTextView <PlainTextDocument>(node, textStyle, new PlainTextViewFactory());

            return(view);
        }