September 2002
Intermediate to advanced
896 pages
21h 3m
English
It's worth taking a little time to look at a few issues that arise when you're writing a Unicode-compatible text-editing utility. There are a number of Unicode-specific things to keep in mind when allowing a user to edit text.
The first issue isn't actually Unicode-specific at all, but if you don't already know about it, it's worth taking a few minutes to discuss. That's a useful technique for speeding performance during editing.
Suppose you have a 1 million character document, and you start typing at the beginning. If you've stored your text in a single contiguous block (probably with some slop space at the end so you don't have to reallocate your character storage on every ...
Read now
Unlock full access