bold.setBegin(77 - 2); bold.setEnd(82 - 2); bold.addToIndexes(); italics.setBegin(94 - 2); italics.setEnd(110 - 2); italics.addToIndexes();
s.setEnd(cursor); s.setDepth(depth); s.addToIndexes(); Figure f = new Figure(jCas); f.setBegin(cursor); cursor += "only".length(); em.setEnd(cursor); em.addToIndexes();