rem: BX_dump("BX_walker_findNextEditableNode(" + startnode.nodeName +")"); 
add: if (startnode.nodeType == 1 && startnode.getAttribute("name") == "bitfluxspan" && startnode.childNodes.length == 0 ) { var newTextNode = startnode.appendChild(document.createTextNode("")); return newTextNode; }  
context: function BX_walker_findNextEditableNode(startnode) {	BX_dump("BX_walker_findNextEditableNode(" + startnode.nodeName +")");    var nodeIt = document.createTreeWalker(document,                                           NodeFilter.SHOW_TEXT,{                                           acceptNode : function(node) {										   	if (node.parentNode.getAttribute("name") == "bitfluxspan") {												return NodeFilter.FILTER_ACCEPT;											} else {												return NodeFilter.FILTER_REJECT;											}																							}											},                                           false);	nodeIt.currentNode = startnode;    var node;	node = nodeIt.nextNode(  );	if (node == null) {		node = nodeIt.previousNode();	}	if (node != null && !(/[^\t\n\r\s]/.test(node.data))) {	    var nodeIt2 = document.createTreeWalker(startnode,                                           NodeFilter.SHOW_TEXT,{                                           acceptNode : function(node) {										   	if ((/[^\t\n\r\s]/.test(node.data))) {												return NodeFilter.FILTER_ACCEPT;											} else {												return NodeFilter.FILTER_REJECT;											}																							}											},                                           false);		node = nodeIt2.nextNode(  );										   		}		if (node) {		return node;	} else {		return  null;	}}
meta: 791	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/ffb59be12713348724e09814524fa70b5200d06e/bitfluxeditor_core.js/buggy/src/webapp/lenya/resources/misc/bitflux/bxe/js/bitfluxeditor_core.js