Class mozile.edit.InsertionPoint

Object
   |
   +--mozile.edit.InsertionPoint

class mozile.edit.InsertionPoint

Defined in InsertionPoint.js


Constructor Summary
mozile.edit.InsertionPoint ()
            An insertion point is the pair of either a) a text node and an offset within the text, or b) an element and an offset among its child nodes.
 
Method Summary
 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 seek(<Integer> direction)
           Sets the node and offset to the next insertion point.
 Void seekNode(<Integer> direction, <Boolean> extraStep)
           Seeks the next node which allows text to be inserted.
 Void select()
           Collapses the selection to the current IP.
 Integer toString()
           Returns a string representation of the IP.

Constructor Detail

mozile.edit.InsertionPoint

mozile.edit.InsertionPoint()

Method Detail

extend

Void extend()

getNode

Node getNode()

getOffset

Integer getOffset()

next

Void next()

previous

Void previous()

seek

Void seek(<Integer> direction)

seekNode

Void seekNode(<Integer> direction, <Boolean> extraStep)

select

Void select()

toString

Integer toString()


Documentation generated by JSDoc on Wed Aug 23 18:45:51 2006