Implementing Highlighting, Search, and Undo

from blog Andrew Healey's Blog, | ↗ original
How I added three new features to my text editor.