GetContinuousRun
protoTXView:GetContinuousRun()
Determines the style run for the currently highlighted range.
DISCUSSION
- return value
- A frame that specifies the style run containing the current highlight range.
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.![]()
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help