GNOME Bugzilla – Bug 337564
Syntax highlighting fails to refresh after an "external" command
Last modified: 2006-08-25 04:05:01 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.
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
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