}
}
private TextDocumentDefiner getNextDefiner() {
TextDocument document = getDisplayedObject();
TextStructureType structureType = model.getStructureType();
boolean fixed = model.getSegmentType() == SegmentType.FIXED_FIELD;
return structureType == TextStructureType.SIMPLE ? new SimpleTextPanel(document, fixed) :
new ComplexTextPanel(document, fixed);
}