A Text Editor in C#