Bug 390871

Summary: Unable to change syntax highlighting in Bluefish
Product: [Fedora] Fedora Reporter: Adam Deacon <adam>
Component: bluefishAssignee: Paul Howarth <paul>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: daniel.leidert.spam
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.0.7-3.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-13 05:11:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch that was committed upstream to workaround this issue none

Description Adam Deacon 2007-11-19 18:55:44 UTC
Description of problem:
When you select a file type (e.g. php) from the "Syntax Highlighting" tab in
Preferences, you should be able to change the "PHP Block" start pattern, however
all boxes are empty. They should fill from the settings in
/usr/share/bluefish/highlighting.default.

Version-Release number of selected component (if applicable):

bluefish-1.0.7-2.fc8

How reproducible:
Always

Steps to Reproduce:
1. Edit -> preferences -> Syntax Highlighting
2. Select PHP from filetype
3. Select an entry such as "PHP Block"
  
Actual results:
Details not shown

Expected results:
Details to be shown and editable.

Additional info:
I've tried changing settings directly in file with no affect. Syntax
highlighting is working. If I use <?php...?>, I want to be able to edit it to
use say <?...?>.

Comment 1 Paul Howarth 2007-11-22 12:38:19 UTC
Hmm, yes, I can't seem to get the Syntax Highlighting preferences tab to do
anything sane at all.

Have you tried editing ~/.bluefish/highlighting ?

Comment 2 Adam Deacon 2007-11-23 08:45:02 UTC
Hi. 

I edited ~/.bluefish/highlighting and the changes took effect but still don't
show anything in the preferences tab. I also tried deleting the file and it was
correctly copied from /usr/share/bluefish/highlighting.default to ~/.bluefish/

The permissions and ownership of the file seem fine.


Comment 3 Daniel Leidert 2008-01-12 18:48:05 UTC
This issue has been introduced with Gtk 2.20, however, we did not yet find the
reason (any help is appreciated). More information at GNOME bugzilla.

Comment 4 Jim Hayward 2008-01-20 04:52:15 UTC
Created attachment 292284 [details]
Patch that was committed upstream to workaround this issue

Comment 5 Paul Howarth 2008-01-21 15:53:45 UTC
Patch works for me (thanks); I've committed it for Fedora 8 and Rawhide, and it
should show in updates-testing after the next push.

Comment 6 Fedora Update System 2008-01-24 22:01:45 UTC
bluefish-1.0.7-3.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update bluefish'

Comment 7 Fedora Update System 2008-02-13 05:11:49 UTC
bluefish-1.0.7-3.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.