GNOME Bugzilla – Bug 567116
gedit doesn't highlight php "endif" token
Last modified: 2009-09-04 22:00:02 UTC
From Ubuntu bug 315312: When I open (or type) php source like: <?php if($hello): ?> Hello, world <?php endif ?> I expect that endif will highlight like, for instance, endforeach in <?php foreach($items as $item): ?> Item: <?php echo $item?> <?php endforeach ?> but i can't see that. Ubuntu 8.10 (desktop, x86) gedit 2.24.2-0ubuntu1 package ProblemType: Bug Architecture: i386 DistroRelease: Ubuntu 8.10 ExecutablePath: /usr/bin/gedit Package: gedit 2.24.2-0ubuntu1 ProcEnviron: SHELL=/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=ru_RU.UTF-8 SourcePackage: gedit Uname: Linux 2.6.27-9-generic i686
I'm sure this is because we didn't know about the alternative syntax of certain statements. I'm reassigning this to gtksourceview.
I added the endif keyoword
Sorry, but could we also add the other alternative syntax keywords at the same time? (Maybe you already did)
Seems this has been fixed (either was already, or is at least now). Closing the bug