It can be confusing working with the Formatted Text Control sometimes. It has 4 modes and sometimes it’s not very clear what the difference is. I’ll try to correct that.
Page is the easiest to explain as it looks like the page is held at a distance and shows areas outside of the page. This is very much what you would expect a Print Preview to look like and is What You See Is What You Get.
To change to Page View us the FormattedText.setPageViewMode command.
Normal is very similar Page view except the document is shown in one continuous page. The areas outside of the document area are a simple color.
To change to Normal View use the FormattedText.setNormalViewMode command.
Edit expands the document area to the bounds of the controls and reformats the text to fit the area. This is NOT a What You See Is What You Get view.
One thing to keep in mind when switching to Edit View (from a developers perspective) is that you will probably want to call the FormattedText.setEditViewMode method to reset the Edit Margins. On the flip side, if you go back to Page or Normal view you will want to reset the document margins to their real values.
To change to Edit View use the FormattedText.setEditViewMode command.
Single View is a little like Normal View where the document is show in all one continuous document. However, Single View does not wrap text at the right side of the page.
To change to Edit View use the setSingleViewMode command.
Hopefully the clears up the confusion. We tend to run in one of two modes, either Page or Edit.