Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 3 - Word Processing Views / Word Processing View Reference
Protos / protoTXView


GetContinuousRun

protoTXView:GetContinuousRun()

Determines the style run for the currently highlighted range.

return value
A frame that specifies the style run containing the current highlight range.

DISCUSSION

If the current highlight range contains only one graphics object, *GetContinuousRun returns a graphics specification frame, as described in "The Graphics Specification Frame" .

Otherwise, *GetContinuousRun returns a font specification frame, as described in the section "Font Frame" (8-18) in Newton Programmer's Guide. Any non-nil values in the font specification frame indicate values that are continous for the highlight range.

Note
You can use this method to check the appropriate items in the style menu(s).

Ruler Methods

This section describes the methods you can use to work with the ruler user interface that is built into *protoTXView. The ruler is shown in Figure 3-1.

Note
The ruler occupies screen space, which means that the text view rectangle is smaller when the ruler is displayed. This causes the GetScrollableRect method to return different values when the ruler is hidden than it does when the ruler is displayed.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help