← Back to team overview

desktop-packages team mailing list archive

[Bug 844952] Re: php + html comment = wrong highlight

 

Thank you for taking the time to report this bug and helping to make
Ubuntu better. The issue you are reporting is an upstream one and it
would be nice if somebody having it could send the bug to the developers
of the software by following the instructions at
https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please
tell us the number of the upstream bug (or the link), so we can add a
bugwatch that will inform us about its status. Thanks in advance.

** Package changed: gedit (Ubuntu) => gtksourceview3 (Ubuntu)

** Changed in: gtksourceview3 (Ubuntu)
   Importance: Undecided => Low

** Also affects: gtksourceview
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/844952

Title:
  php + html comment = wrong highlight

Status in GtkSourceView Widget:
  New
Status in “gtksourceview3” package in Ubuntu:
  New

Bug description:
  Nesting of php tags inside html comments is treated incorrectly.
  Code within <?pho and ?> will get parsed by php even if it is inside a <!-- --> html comment, so it should be highlighted with php syntax highlight in gedit. However it isn't. It is shown in blue as if it was part of the html comment.

  Example:

  <html>
  <!-- comment
  <?php
  // This code will be parsed and executed by php, so it should be highlighted in php syntax
  echo "This will be output within the html comment";
  ?>
  -->
  </html>

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: gedit 2.30.3-1ubuntu1
  ProcVersionSignature: Ubuntu 2.6.35-30.56-generic 2.6.35.13
  Uname: Linux 2.6.35-30-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Thu Sep  8 18:01:13 2011
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: gedit

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtksourceview/+bug/844952/+subscriptions


References