Public bug reported:

I'm running Ubuntu 13.10 and Bluefish 2.2.4. I'm using a clean install
of Ubuntu with my old /home directory copied over after installation,
including my .bluefish folder. Syntax coloring in PHP files fails
whenever a single line comment using // or # precedes a codeblock
without an intervening empty line.

In this example, all the code between the PHP tags appears gray:
<?php
// Here is a comment.
$var =
echo "The value is " . $var;
?>

However, if I put an empty line between the comment and the code, the code has 
the proper syntax highlighting:
<?php
// Here is a comment.

$var =
echo "The value is " . $var;
?>

You can see what I mean in the screenshot to follow.

If I use a # instead of //, the same problem occurs. If I use multi-line
comments (/* and */), the syntax coloring is correct. Refreshing the
syntax coloring with F5 makes no difference. I also renamed my .bluefish
file and restarted Bluefish to see if some old setting was causing the
issue, but the problem persisted. Bluefish seems to work fine otherwise,
but I really miss my syntax coloring.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: bluefish 2.2.4-2
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Tue Dec 24 08:58:11 2013
InstallationDate: Installed on 2013-12-16 (7 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
SourcePackage: bluefish
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: bluefish (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy

** Attachment added: "Screenshot of Syntax Coloring Issue"
   
https://bugs.launchpad.net/bugs/1263967/+attachment/3935194/+files/screenshot.jpg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1263967

Title:
  PHP Syntax Coloring Fails In Bluefish with Single-Line Comments

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluefish/+bug/1263967/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to