The text presentation classes, derived from Presentation framework classes, store and manage persistent information about the presentation for a particular editable text document component. Currently, the persistent information consists of:
- Background color
- Selection highlight color
- Insertion point caret color
- Text view size
- Document component margins
Text presenter and presenter state objects are used only by document components; lightweight editable text components manage the presentation information within the view object.
TTextPresenterState provides protocol for accessing and modifying the presentation information. TTextPresenterState is responsible for creating the text presenter.
TTextPresenter creates the objects that make up the presentation for an editable text document component--including the text view, scrolling view, and text menus.