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 337564 - Syntax highlighting fails to refresh after an "external" command
Syntax highlighting fails to refresh after an "external" command
Status: RESOLVED FIXED
Product: bluefish
Classification: Other
Component: application
1.0.5
Other All
: Normal normal
: ---
Assigned To: Bluefish Maintainer(s)
Bluefish Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-04-07 00:49 UTC by cshamis1
Modified: 2006-08-25 04:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description cshamis1 2006-04-07 00:49:46 UTC
Please describe the problem:
I have two external code-reformatters, one for work and one for home.  The
problem is, after I run one of the exteral commands, the syntax highlighting
turns everything black-n-white.  On previous versions of bluefish I just hit
CTRL-S, and resaved the file and the syntax highlighting would refresh.  But on
1.0.5 it does not refresh the whole file.  Only 3 or four lines before and after
the cursor.

Below is the specific external commands I run 

external_commands: astyle WorkStyle:astyle --style=linux -b -o < %i > %f:
external_commands: astyle MyStyle:astyle --style=kr -s2 -S --convert-tabs -o <
%i > %f:


Here is where you can get astyle:

http://sourceforge.net/project/showfiles.php?group_id=2319




Steps to reproduce:
1. Load a .c or .cpp source code file into the editor
2. Run one of the above "external commands"
3. Look at screen



Actual results:
Syntax highlighting fails to refresh, leaving all text in plain black-and-white.

Expected results:
Syntax highlighting to work

Does this happen every time?
Yes

Other information:
No.
Comment 1 Jim Hayward 2006-08-23 12:41:04 UTC
Fixed in the 1.0.x branch of CVS. If you want to test the fix, you can download 1.0.6rc2 from below.

MD5SUM's

8eee0000ac150e811d561eea728c17f0  bluefish-1.0.6rc2.tar.bz2
491a2865572775b74cd2a343a7355d9c  bluefish-1.0.6rc2.tar.gz

http://www.linuxexperience.net/bluefish/snapshots/bluefish-1.0.6rc2.tar.bz2
http://www.linuxexperience.net/bluefish/snapshots/bluefish-1.0.6rc2.tar.gz
Comment 2 Jim Hayward 2006-08-25 04:05:01 UTC
Closing as FIXED. Also I would use 1.0.6rc3 or newer to test. 1.0.6rc2 has a silly bug in the search/replace dialog. Please reopen the bug if you see the problem again.

MD5SUM's

5e587c6dc3ae5e2551b42515dcd3e5a3  bluefish-1.0.6rc3.tar.bz2
525bf04765f14ce52f15d876295b46e6  bluefish-1.0.6rc3.tar.gz

http://www.linuxexperience.net/bluefish/snapshots/bluefish-1.0.6rc3.tar.bz2
http://www.linuxexperience.net/bluefish/snapshots/bluefish-1.0.6rc3.tar.gz