diamondburned
6140b5a131
This commit clarifies text.Imager and text.Avatarer's bound behaviors. Prior to this, the only behavior that those two interfaces have regarding bounds is that only the starting bound matters, because images must not substitute texts. This commit clarifies that images are allowed complement other sections. For example, a Mentioner can "have" an Imager by having the bounds overlap. These details are intentionally vaguely defined (it doesn't list any interfaces beyond Mentioner), so implementations of either side can implement these however they want, as long as the bounds overlap. In the future, further clarification rules may be added if needed. |
||
---|---|---|
.. | ||
text.go | ||
text_extras.go |