AreaEdit

Class EnterParagraphs

Object
   |
   +--EnterParagraphs

class EnterParagraphs

Defined in EnterParagraphs/enter-paragraphs.js


Field Summary
 Object _elemSolid
          Elements which count as content, as distinct from whitespace or containers
 Object _pBreak
          Elements which may not contain paragraphs, and would prefer a break to being split
 Object _pContainers
          elements which may contain a paragraph
 Object _permEmpty
          Elements which may not contain children
 Object _pExclusions
          The pragmatic list of which elements a paragraph may not contain
 Object _pifyForced
          
 Object _pifyParent
          Elements which should get a new P, before or after a close parent, when enter is pressed at either end
 Object _pifySibling
          Elements which should get a new P, before or after, when enter is pressed at either end
 Object _whiteSpace
          Whitespace Regex
 Object name
          name member for debugging
<static>  Object _pluginInfo
          plugin Info
 
Constructor Summary
EnterParagraphs (editor)
            EnterParagraphs Constructor
 
Method Summary
 Object __onKeyPress(ev)
           Called when a key is pressed in the editor
 Object _fenCullIds( ep_ref, node, pong )
           remove duplicate Id's.
 Object _fenEmptySet( node, next_node, mode, last_flag)
           Find a post-insertion node, only if all nodes are empty, or the first content
 Object forEachNode(left_node, right_node, mode, direction, init)
           perform a depth first descent in the direction requested.
 Object forEachNodeUnder( root, mode, direction, init )
           Passes a global parent node or document fragment to forEachNode
 Object handleEnter(ev)
           Handles the pressing of an unshifted enter for Gecko
 void insertAdjacentElement(ref,pos,el)
           Gecko's a bit lacking in some odd ways...
 Object isNormalListItem(rng)
           are we an
  • that should be handled by the browser?
  •  Object processRng(rng, search_direction, roam, neighbour, insertion, pWrap, preBr)
               processRng - process Range.
     Object processSide( rng, search_direction)
               Grabs a range suitable for paragraph stuffing

    Field Detail

    _elemSolid

    Object _elemSolid

    _pBreak

    Object _pBreak

    _pContainers

    Object _pContainers

    _permEmpty

    Object _permEmpty

    _pExclusions

    Object _pExclusions

    _pifyForced

    Object _pifyForced

    _pifyParent

    Object _pifyParent

    _pifySibling

    Object _pifySibling

    _whiteSpace

    Object _whiteSpace

    name

    Object name

    _pluginInfo

    <static> Object _pluginInfo

    Constructor Detail

    EnterParagraphs

    EnterParagraphs(editor)

    Method Detail

    __onKeyPress

    Object __onKeyPress(ev)

    _fenCullIds

    Object _fenCullIds( ep_ref, node, pong )

    _fenEmptySet

    Object _fenEmptySet( node, next_node, mode, last_flag)

    forEachNode

    Object forEachNode(left_node, right_node, mode, direction, init)

    forEachNodeUnder

    Object forEachNodeUnder( root, mode, direction, init )

    handleEnter

    Object handleEnter(ev)

    insertAdjacentElement

    void insertAdjacentElement(ref,pos,el)

    isNormalListItem

    Object isNormalListItem(rng)

    processRng

    Object processRng(rng, search_direction, roam, neighbour, insertion, pWrap, preBr)

    processSide

    Object processSide( rng, search_direction)

    AreaEdit

    Documentation generated by JSDoc on Mon Jun 13 20:27:40 2005