i think there will be no problem with adding a "insert color at cursor" button, noted for the next release
but the code highlighting... woohoo. we would need an other way to get the code displayed, because a textarea - as it is implemented atm - is not able to mix formats. we only have one style definition for the whole textareas content. so the best way would be to develop a javascript class with a brand new textarea like htmlarea and fckeditor do, but for source code with highlighting. i dont know why there isnt already one available, or maybe i just didnt notice, but for this project this would be too heavy to code. i think the better way is to code such a project externally and then just _use_ it for our purposes, as it is with the mentioned html editor areas. so its a project that is made for more widespread use than just one plugin. but at the moment i am not able (as of my available time) to do this. does anyone have infos if this is on the todo for htmlarea or fckeditor or something?
a preview will be difficult to implement too. you have to take in mind that these files have to be parsed before it is displayed, so you can not just preview the file you're editing, but have to call the whole site. therefore the - imho - only possibility to do this is to use a save-and-fallback function, so it is saved and backuped when you click "preview" and then rewinded to call back the original version before you save it. but maybe we can work around this by implementing some sort of backup handling, or - even better, file handling, so we can give the possibility to rename files in the editor and so on. this would help you to save and recover the last version on your own. if you have further ideas how it could be implemented, just let me know