context: function setText( textIndex, wordIndex, newText ) {	var word = this._getWordObject( textIndex, wordIndex );	var beginStr;	var endStr;	if( word ) {		var pos = this.indexes[textIndex][wordIndex];		var oldText = word.value;		// update the text given the index of the string		beginStr = this.textInputs[textIndex].substring( 0, pos );		endStr = this.textInputs[textIndex].substring( 			pos + oldText.length, 			this.textInputs[textIndex].length 		);		this.textInputs[textIndex] = beginStr + newText + endStr;				// adjust the indexes on the stack given the differences in 		// length between the new word and old word. 		var lengthDiff = newText.length - oldText.length;		this._adjustIndexes( textIndex, wordIndex, lengthDiff );				word.size = newText.length;		word.value = newText;		this.removeFocus( textIndex, wordIndex );	}}
meta: 1235	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1235/c3e806dd2e80d30e5028083f65e626da8d5acba4/wordWindow.js/clean/reference/library/src/webapp/editor/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js