HTML Editor

November 07, 2007

My first real program. I worked on it throughout my freshman year of high school, discovering programming as I went along.

Done in VB.NET, it was a basic HTML editor which showed updates to an HTML file as a person typed. A simple web-view which refreshed each time a key was pressed. The most impressive thing about the editor was that I didn’t know how to do syntax highlighting, but I noticed that when something was highlighted by cursor, one could change its color programmatically. So I implemented syntax highlighting by doing programmatic cursor manipulations, and color changes. It was ridiculously slow, but it worked!

You can get the code here (7zip file).