Up   Previous   Next  

Working With Document-Wide Settings

MLTE has a variety of settings that apply to an entire text object, such as line direction, tab values, read-only privileges, keyboard synchronization, automatic indentation, word wrap, caret display, font substitution, and type of input for input methods. You can get and set global settings with the TXNGetTXNObjectControls and TXNSetTXNObjectControls functions. This section shows you how to implement code for changing two document-wide settings--word wrap and line justification. You can take the same approach shown here to implement code that changes other document-wide settings.

Implementing Word Wrap

Implementing Line Justification


Copyright © 2001 Apple Computer, Inc. (Last Updated January 11, 2001)

Up   Previous   Next