TLAObjects tlao = new TLAObjects(tp_config);
while(for_lineRetrieval.hasMoreLines()) {
StringBuffer sbLine = for_lineRetrieval.getNextLine();
TemplateLineAnalyzer tla = new TemplateLineAnalyzer(getName(), for_lineRetrieval.getLineNumberPrev(), sbLine, tlao);
String sFinalSurrTxt = null;
while(!tla.isDoneAnalyzing()) {
if(tla.hasAnotherGap()) {
s_s ss = tla.getNextSurrTxtAndGap();
if(!tp_config.doIgnoreSurrTxt()) {
sbCurrentSurrText.append(ss.s1);
addCurrSurrTextOntoArray(acsSurroundingText, sbCurrentSurrText);
}
aoslc.addString(ss.s2);
if(aoslc.wasLastStringUnique()) {
//THIS IS PRINTING OUT AFTER THE GAP *FOLLOWING*
//THE ONE THAT IS UNIQUE. HMMMMM.
optr_dbg.write("\t\t\t[ UNIQUE ]");
}
} else {
//The end of the line has been reached. Get the final
//surrounding text.
sFinalSurrTxt = tla.getFinalSurrTxt();
}
}
if(!tp_config.doIgnoreSurrTxt()) {