Hi all,

I have a project in which I have a simple Javascript editor (It's basically just a rich text box ) and i want to be make it act in a similar way to the VB6 IDE:
  • Validating of code (when the user finished editing each line)
  • Automatically coloring relevant bits of code
  • Automatically put in indentation and brackets (see .NET IDE)


Does anyone have any sample code like this? Or any ideas where to start?