Bo Peng wrote:
So, I'd personally prefer that you extent Inset::display() to pass the default paragraph alignment.Abdel.Then I will have to change the interface of display() for all insets. It is ok if intrusiveness is not judged by the number of lines changed.
If you return an enum instead of a bool there won't be much line changed, something like that:
enum DisplayType { Inline = 0, AlignRight, AlignLeft, AlignCenter }; Abdel.