PHP Syntax Coloring Fails In Bluefish with Single-Line Comments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bluefish |
Fix Released
|
Medium
|
|||
bluefish (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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
ProcVersionSign
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)
Changed in bluefish: | |
importance: | Unknown → Medium |
status: | Unknown → Incomplete |
Changed in bluefish: | |
status: | Incomplete → Fix Released |
I confirm this bug also in Ubuntu 13.10 32 bit.
Thanks for the tip of the empy line: that saves my brain!
This little bug will greatly affect the use of bluefish.
Nicola.