That is very interesting. Looking forward to examples/demo/etc. Check out BCEditor in case you need nice syntax highlighting.