rem: else if(txtarea.selectionStart || txtarea.selectionStart == 0) 
add: if(txtarea.selectionStart || txtarea.selectionStart == 0) 
context: function getCaretPosition(txtarea){	var caretPos = new caretPosition();		// dirty IE way	// Idea by tkirby on http://www.csie.ntu.edu.tw/~b88039/html/jslib/caret.html	if(document.selection && is_ie)	{						//insert dummy caracter at current position		var dummy = "\001";		var sel	= document.selection.createRange();		var dul	= sel.duplicate();		var len	= 0;		dul.moveToElementText(txtarea);		sel.text = dummy;				//find dummy chraracter again		len	= (dul.text.indexOf(dummy));		sel.moveStart('character',-1);		sel.text = "";				if (len == -1)		{			len = txtarea.value.length;		}				caretPos.start = len;		caretPos.end = len;			}	// simple Gecko/Opera way	else if(txtarea.selectionStart || txtarea.selectionStart == 0)	{		caretPos.start = txtarea.selectionStart;		caretPos.end = txtarea.selectionEnd;	}	return caretPos;}
meta: 632	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/632/eb856283a6cde7ba3919d905c0105327f311c361/editor.js/clean/phpBB/styles/subSilver/template/editor.js