I'm working on a rich text editor and I would like to study some design patterns for working with text. I know there are lots of editors out there ago I assume some good patterns exist. However, I'm having trouble finding good resources.
Are there any good books on this topic?
What about open source projects with good code that is easy to read?