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 View

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.

Page View

 

To change to Page View us the FormattedText.setPageViewMode command.

Normal View

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.

Normal View

 

To change to Normal View use the FormattedText.setNormalViewMode command.

Edit View

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.

Edit 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

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.

Single View

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.