Class InsertionPoint

Object
   |
   +--InsertionPoint

class InsertionPoint

Defined in core.js


Field Summary
 Object _matchLeadingWS
          
 Object _matchNonWS
          
 Object _matchTrailingWS
          
 
Constructor Summary
InsertionPoint (<Text> node, <Integer> offset)
            An insertion point is the pair of a text node and an offset within that node which is an approprite location for text to be inserted in the document.
 
Method Summary
 Void _seek(<String> direction)
           Sets the node and offset to the next insertion point.
 Void _seekTextNode(<String> direction)
           Sets the node to the next text node.
 Void extend()
           Extends the selection to the IP.
 Node getNode()
           Gets the current node.
 Integer getOffset()
           Gets the offset in the current node.
 Void next()
           Sets the node and offset to the next insertion point.
 Void previous()
           Sets the node and offset to the previous insertion point.
 Void select()
           Changes the selection to match the IP.
 Node setNode(<Node> node)
           Sets the current node.
 Integer setOffset(<Integer> offset)
           Sets the offset in the current node.

Field Detail

_matchLeadingWS

Object _matchLeadingWS

_matchNonWS

Object _matchNonWS

_matchTrailingWS

Object _matchTrailingWS

Constructor Detail

InsertionPoint

InsertionPoint(<Text> node, <Integer> offset)

Method Detail

_seek

Void _seek(<String> direction)

_seekTextNode

Void _seekTextNode(<String> direction)

extend

Void extend()

getNode

Node getNode()

getOffset

Integer getOffset()

next

Void next()

previous

Void previous()

select

Void select()

setNode

Node setNode(<Node> node)

setOffset

Integer setOffset(<Integer> offset)


Documentation generated by JSDoc on Wed Mar 15 11:59:24 2006