add: myField.scrollTop = scrollTop; 
context: function edInsertTag(myField, i) {	//IE support	if (document.selection) {		myField.focus();	    sel = document.selection.createRange();		if (sel.text.length > 0) {			sel.text = edButtons[i].tagStart + sel.text + edButtons[i].tagEnd;		}		else {			if (!edCheckOpenTags(i) || edButtons[i].tagEnd == '') {				sel.text = edButtons[i].tagStart;				edAddTag(i);			}			else {				sel.text = edButtons[i].tagEnd;				edRemoveTag(i);			}		}		myField.focus();	}	//MOZILLA/NETSCAPE support	else if (myField.selectionStart || myField.selectionStart == '0') {		var startPos = myField.selectionStart;		var endPos = myField.selectionEnd;		var cursorPos = endPos;		if (startPos != endPos) {			myField.value = myField.value.substring(0, startPos)			              + edButtons[i].tagStart			              + myField.value.substring(startPos, endPos) 			              + edButtons[i].tagEnd			              + myField.value.substring(endPos, myField.value.length);			cursorPos += edButtons[i].tagStart.length + edButtons[i].tagEnd.length;		}		else {			if (!edCheckOpenTags(i) || edButtons[i].tagEnd == '') {				myField.value = myField.value.substring(0, startPos) 				              + edButtons[i].tagStart				              + myField.value.substring(endPos, myField.value.length);				edAddTag(i);				cursorPos = startPos + edButtons[i].tagStart.length;			}			else {				myField.value = myField.value.substring(0, startPos) 				              + edButtons[i].tagEnd				              + myField.value.substring(endPos, myField.value.length);				edRemoveTag(i);				cursorPos = startPos + edButtons[i].tagEnd.length;			}		}		myField.focus();		myField.selectionStart = cursorPos;		myField.selectionEnd = cursorPos;	}	else {		if (!edCheckOpenTags(i) || edButtons[i].tagEnd == '') {			myField.value += edButtons[i].tagStart;			edAddTag(i);		}		else {			myField.value += edButtons[i].tagEnd;			edRemoveTag(i);		}		myField.focus();	}}
meta: 10574	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10574/b74be90ac2d7b4544e282c652e1f01b2386f390b/quicktags.js/buggy/wp-admin/quicktags.js