SetHiliteRange
protoTXView:SetHiliteRange(newRange, showHilite, setKeyView)
Changes the current highlight range.
- newRange
- A range frame that specifies the new highlight range. Range frames are described in "The Range Frame".
- showHilite
- A Boolean value. If this is
true
, the content of the view is scrolled as necessary to display the new range. If the range is larger than the screen, the start of the range is displayed.
- setKeyView
- A Boolean value. If this is
true
, the view becomes the current key view, which activates the view for keyboard input. If this isnil
and there already is a key view, the highight range is shown as an inactive selection, which has a different on-screen appearance than a selection in the key view.
- return value
- An error code, or
nil
if the operation worked.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help