R&D Phase. Syntax hightlighted editing in IE
As I want to make a complete new framework for the Kids Community and I got the complete free hand in it. (Although it needs to be finished the end of June, and this is not my only project).
I didn't like the textbox for script and object generation templates I started to look at how SharpDeveloper had the syntax highlighting in their editor. I noticed that this is a independent dll so I opened up the source code for it and added a new user control :-)
This usercontrol holds the SharpDeveloper control with some settings. It seemed not possible to set them through some java script. Now I indeed can incorporate the control inside IE. Editing and saving the text. The text is put inside a hidden field on form submit and loaded on form load. I needed to make some adjustments in the property Text to keep the line breaks and other stuff so that the java script doesn't break.
It really looks cool but I must keep in mind that I am building an internet application and that only a few very specific functionalities should be build in this manner. Darn.. I like this too much. Why couldn't we program a web app as we would do a win form.
Please any hints and tips are welcome!