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 an HTML editor which showed updates to an HTML file as a person typed. A web-view which refreshed each time a key was pressed. The most interesting thing about the experience 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).