jasper182 Posted November 15, 2006 Share Posted November 15, 2006 I was wondering if anyone here knew how to setup syntax highlighting inside of a textarea for a web based php editor I'm trying to build for myself. I've looked around and haven't found much, so I'm hoping someone here has seen it done before. Thanks Link to comment https://forums.phpfreaks.com/topic/27344-syntax-highlighting/ Share on other sites More sharing options...
fert Posted November 15, 2006 Share Posted November 15, 2006 highlight_string Link to comment https://forums.phpfreaks.com/topic/27344-syntax-highlighting/#findComment-125030 Share on other sites More sharing options...
trq Posted November 15, 2006 Share Posted November 15, 2006 That wont work within a textarea. You'll need to use javascript for this. Link to comment https://forums.phpfreaks.com/topic/27344-syntax-highlighting/#findComment-125032 Share on other sites More sharing options...
jasper182 Posted November 15, 2006 Author Share Posted November 15, 2006 Ok, thanks. I'll start researching the javascript needed to do this. Link to comment https://forums.phpfreaks.com/topic/27344-syntax-highlighting/#findComment-125044 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.