632633634635636637638639640641642
for(Annotation a: c.getAnnotations()){ if(a.getOffset() < (offset+offs)) a.updateOffset(offset+offs); doc.addAnnotation(a); } doc.addConcept(c); } } } offset += (line.length()+1); }