After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567116 - gedit doesn't highlight php "endif" token
gedit doesn't highlight php "endif" token
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
git master
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-09 03:36 UTC by mcopple
Modified: 2009-09-04 22:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description mcopple 2009-01-09 03:36:19 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
Comment 1 jessevdk@gmail.com 2009-01-09 10:01:43 UTC
I'm sure this is because we didn't know about the alternative syntax of certain statements. I'm reassigning this to gtksourceview.
Comment 2 Paolo Borelli 2009-01-19 20:00:47 UTC
I added the endif keyoword
Comment 3 jessevdk@gmail.com 2009-01-19 21:08:15 UTC
Sorry, but could we also add the other alternative syntax keywords at the same time? (Maybe you already did)
Comment 4 jessevdk@gmail.com 2009-09-04 22:00:02 UTC
Seems this has been fixed (either was already, or is at least now). Closing the bug