rem: } 
add: }  
context: function insert_text(text, spaces, popup){	var textarea;		if (!popup) 	{		textarea = document.forms[form_name].elements[text_name];	} 	else 	{		textarea = opener.document.forms[form_name].elements[text_name];	}	if (spaces) 	{		text = ' ' + text + ' ';	}		if (!isNaN(textarea.selectionStart))	{		var sel_start = textarea.selectionStart;		var sel_end = textarea.selectionEnd;		mozWrap(textarea, text, '')		textarea.selectionStart = sel_start + text.length;		textarea.selectionEnd = sel_end + text.length;	}			else if (textarea.createTextRange && textarea.caretPos)	{		if (baseHeight != textarea.caretPos.boundingHeight) 		{			textarea.focus();			storeCaret(textarea);		}				var caret_pos = textarea.caretPos;		caret_pos.text = caret_pos.text.charAt(caret_pos.text.length - 1) == ' ' ? caret_pos.text + text + ' ' : caret_pos.text + text;			}	else	{		textarea.value = textarea.value + text;	}	if (!popup) 	{		textarea.focus();	} 	}
meta: 2692	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2692/09c9a3e7a10d36dc7cbfa7d48f8c533f6a2fd107/editor.js/buggy/styles/prosilver/template/editor.js