PDA

View Full Version : gedit PHP and HTML syntax highlighting



codeking
November 22nd, 2008, 04:50 AM
gEdit performs wonderfully for me. There's only one thing that bugs me: There's syntax highlighting for PHP, and for HTML, but nothing if they're for both of them. (PHP documents containing HTML) Is there a way to do this?

geirha
November 22nd, 2008, 10:12 AM
I just created a simple .php file with both html and php, and gedit highlighted both. This is in Hardy. Which ubuntu release are you running?

drubin
November 22nd, 2008, 02:16 PM
I just created a simple .php file with both html and php, and gedit highlighted both. This is in Hardy. Which ubuntu release are you running?

This was in 7.10 as well. It would be a silly not to make the assumption that php does not contain html so I would assume it was always there.