Home
last modified time | relevance | path

Searched refs:listArray (Results 1 – 3 of 3) sorted by relevance

/plugin/wysiwyg/fckeditor/editor/_source/commandclasses/
H A Dfcklistcommands.js244 var listArray = FCKDomTools.ListToArray( groupObj.root, markerObj ) ;
259 listArray[listIndex].parent = fakeParent ;
261 var newList = FCKDomTools.ArrayToList( listArray, markerObj ) ;
350 listArray[listIndex].indent = -1 ;
357 for ( var i = lastListIndex + 1; i < listArray.length ; i++ )
359 if ( listArray[i].indent > listArray[i-1].indent + 1 )
361 var indentOffset = listArray[i-1].indent + 1 - listArray[i].indent ;
362 var oldIndent = listArray[i].indent ;
363 while ( listArray[i] && listArray[i].indent >= oldIndent)
365 listArray[i].indent += indentOffset ;
[all …]
H A Dfckindentcommands.js235 var listArray = FCKDomTools.ListToArray( listNode, markerObj ) ;
238 var baseIndent = listArray[lastItem._FCK_ListArray_Index].indent ;
240 listArray[i].indent += indentOffset ;
241 …for ( var i = lastItem._FCK_ListArray_Index + 1 ; i < listArray.length && listArray[i].indent > ba…
242 listArray[i].indent += indentOffset ;
273 var newList = FCKDomTools.ArrayToList( listArray ) ;
/plugin/wysiwyg/fckeditor/editor/_source/internals/
H A Dfckdomtools.js721 ArrayToList : function( listArray, markerObj, baseIndex ) argument
725 if ( ! listArray || listArray.length < baseIndex + 1 )
727 var doc = listArray[baseIndex].parent.ownerDocument ;
731 var indentLevel = Math.max( listArray[baseIndex].indent, 0 ) ;
735 var item = listArray[currentIndex] ;
738 if ( ! rootNode || listArray[currentIndex].parent.nodeName != rootNode.nodeName )
740 rootNode = listArray[currentIndex].parent.cloneNode( false ) ;
751 var listData = this.ArrayToList( listArray, null, currentIndex ) ;
797 …if ( listArray.length <= currentIndex || Math.max( listArray[currentIndex].indent, 0 ) < indentLev…