On 27/04/15 15:58, Sean P. DeNigris wrote:
Design Questions: - TxModel - what is the advantage of a double linked list vs the old Text implementation?
I vaguely remember being told in a data structures class to use circular linked lists instead of begin and end markers. I assume that could have performance implications. It was also assumed to be much easier to get right. The performance of a 2-array-backed structure like the old Text becomes unacceptable for larger texts. It is fine when just adding at the end, but editing somewhere in the middle gets slow.
- Why no strike fonts? Why is Verdana commented out in TxFontAttribute class>>#defaultValue?
AFAIK the default font needs to either be supplied by the image or be platform dependent. I assume the Athens renderer is (was?) not able to render strike fonts. It took me a while to realize that text in TxBasicSpan is the TxModel. Stephan