function NoCodePressAssistFormCallback(textArea, startPos, endPos)
{
    this.fTextArea = textArea;
    this.fStartPos = startPos;
    this.fEndPos   = endPos;

    this.setCurrentDirective = function(newContents) {
	replaceTextAreaContents(this.fTextArea, this.fStartPos, this.fEndPos, newContents);
	var e = this.fStartPos + newContents.length;
	replaceTextAreaContents(this.fTextArea, e, e, "" );
	this.fTextArea.focus();
    }
}
/**
 * callback object for assistform which gets called when user clicks
 * ok on the assistform - this is used when not using codepress i.e.
 * plain text area
 *
 * @param textArea	the text area control
 * @param startPos	position of start of line containing directive being
 *			assisted
 * @param endPPos   	position of end of line containing directive being 
 *			assisted
 */
callback object for assistform which gets called when user clicks
ok on the assistform - this is used when not using codepress i.e.
plain text area

@param textArea      the text area control
@param startPos      position of start of line containing directive being
assisted
@param endPPos       position of end of line containing directive being
assisted
callback object for assistform which gets called when user clicks ok on the assistform - this is used when not using codepress i . e . plain text area @param textArea the text area control @param startPos position of start of line containing directive being assisted @param endPPos position of end of line containing directive being assisted
function NoCodePressAssistFormCallback(textArea, startPos, endPos)
{
    this.fTextArea = textArea;
    this.fStartPos = startPos;
    this.fEndPos   = endPos;
    this.setCurrentDirective = function(newContents) {
	replaceTextAreaContents(this.fTextArea, this.fStartPos, this.fEndPos, newContents);
	var e = this.fStartPos + newContents.length;
	replaceTextAreaContents(this.fTextArea, e, e, "" );
	this.fTextArea.focus();
    }
}
function NoCodePressAssistFormCallback ( textArea , startPos , endPos ) { this . fTextArea = textArea ; this . fStartPos = startPos ; this . fEndPos = endPos ; this . setCurrentDirective = function ( newContents ) { replaceTextAreaContents ( this . fTextArea , this . fStartPos , this . fEndPos , newContents ) ; var e = this . fStartPos + newContents . length ; replaceTextAreaContents ( this . fTextArea , e , e , "" ) ; this . fTextArea . focus ( ) ; } }
callback object for assistform which gets called when user clicks
 ok on the assistform - this is used when not using codepress i.e.
callback object for assistform which gets called when user clicks ok on the assistform - this is used when not using codepress i . e .