prep();
try { doc.getText(segmentEnd, doc.getLength(), text); } catch (BadLocationException e) { throw new RuntimeException(e); } segmentEnd = text.count;
	DocumentCharacterIterator(Document doc) {		this.doc = doc;		size = doc.getLength();		text = new Segment();		text.setPartialReturn(true);		prep();	}