line = root.getElement(3);
startOffset = line.getStartOffset();
view = parent.new LineView(line) {
@Override
public void preferenceChanged(View child, boolean w, boolean h) {
preferenceParams = new PreferenceChange(child, w, h);
}
};
view.setParent(parent);
doc.addDocumentListener(this);
}