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


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 is nil 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.


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