[scriptable, uuid(93aaa4a9-b78e-42eb-9d67-5de77ee2f54b)]
Constants
Methods
CharacterMove will move the selection one character forward/backward in the document. this will also have the effect of collapsing the selection if the aExtend = PR_FALSE the "point" of selection that is extended is considered the "focus" point. or the last point adjusted by the selection. @param aForward forward or backward if PR_FALSE @param aExtend should it collapse the selection of extend it?
CheckVisibility will return true if textnode and offsets are actually rendered in the current precontext. @param aNode textNode to test @param aStartOffset offset in dom to first char of textnode to test @param aEndOffset offset in dom to last char of textnode to test @param aReturnBool boolean returned TRUE if visible FALSE if not
CompleteMove will move page view to the top or bottom of the document this will also have the effect of collapsing the selection if the aExtend = PR_FALSE the "point" of selection that is extended is considered the "focus" point. or the last point adjusted by the selection. @param aForward forward or backward if PR_FALSE @param aExtend should it collapse the selection of extend it?
CompleteScroll will move page view to the top or bottom of the document @param aForward forward or backward if PR_FALSE
Gets the current state of the caret.
@param aEnabled [OUT] set to the current caret state, as set by SetCaretEnabled
@return if aOutEnabled==null, returns NS_ERROR_INVALID_ARG
else NS_OK
GetDisplaySelection will get the display mode for the selection. OFF,ON,DISABLED
GetSelection will return the selection that the presentation shell may implement. @param aType will hold the type of selection //SelectionType @param _return will hold the return value
IntraLineMove will move the selection to the front of the line or end of the line in the document. this will also have the effect of collapsing the selection if the aExtend = PR_FALSE the "point" of selection that is extended is considered the "focus" point. or the last point adjusted by the selection. @param aForward forward or backward if PR_FALSE @param aExtend should it collapse the selection of extend it?
LineMove will move the selection one line forward/backward in the document. this will also have the effect of collapsing the selection if the aExtend = PR_FALSE the "point" of selection that is extended is considered the "focus" point. or the last point adjusted by the selection. @param aForward forward or backward if PR_FALSE @param aExtend should it collapse the selection of extend it?
PageMove will move the selection one page forward/backward in the document. this will also have the effect of collapsing the selection if the aExtend = PR_FALSE the "point" of selection that is extended is considered the "focus" point. or the last point adjusted by the selection. @param aForward forward or backward if PR_FALSE @param aExtend should it collapse the selection of extend it?
RepaintSelection repaints the selection specified by aType. @param aType specifies the selection to repaint.
ScrolHorizontal will scroll left or right dependent on the boolean @param aLeft if true will scroll left. if not will scroll right.
ScrolLine will scroll line up or down dependent on the boolean @param aForward scroll forward or backwards in selection
ScrollPage will scroll the page without affecting the selection. @param aForward scroll forward or backwards in selection
ScrollSelectionIntoView scrolls a region of the selection, so that it is visible in the scrolled view. @param aType the selection to scroll into view. //SelectionType @param aRegion the region inside the selection to scroll into view. //SelectionRegion @param aIsSynchronous when true, scrolls the selection into view before returning. If false, posts a request which is processed at some point after the method returns.
Set the caret as enabled or disabled. An enabled caret will draw or blink when made visible. A disabled caret will never show up. Can be called any time. @param aEnable PR_TRUE to enable caret. PR_FALSE to disable. @return always NS_OK
Set the caret readonly or not. An readonly caret will draw but not blink when made visible. @param aReadOnly PR_TRUE to enable caret. PR_FALSE to disable. @return always NS_OK
Show the caret even in selections. By default the caret is hidden unless the selection is collapsed. Use this function to show the caret even in selections. @param aVisibility PR_TRUE to show the caret in selections. PR_FALSE to hide. @return always NS_OK
SetDisplaySelection will set the display mode for the selection. OFF,ON,DISABLED
WordMove will move the selection one word forward/backward in the document. this will also have the effect of collapsing the selection if the aExtend = PR_FALSE the "point" of selection that is extended is considered the "focus" point. or the last point adjusted by the selection. @param aForward forward or backward if PR_FALSE @param aExtend should it collapse the selection of extend it?
Compare to:
