GNOME Bugzilla – Bug 485253
selecting the "Ignore changes which insert or delete blank lines" doesn't work
Last modified: 2010-03-02 05:55:25 UTC
Please describe the problem: Ticking or unticking the box under Preferences:Text Filters "Ignore changes which insert or delete blank lines" makes no difference to blank lines being flagged as changes. This bug invalidates being able to use regular expressions because the matched line is still shown as a change unless you put a blank line in the corresponding area on the other file Steps to reproduce: 1. Make a new file comparison 2. Enter in the first file asdf asdf asdf 3. Enter in the second file asdf asdf asdf 4. Untick references:Text Filters "Ignore changes which insert or delete blank lines" 5. View the difference on the files (hit refresh to make sure) 6. Tick references:Text Filters "Ignore changes which insert or delete blank lines" 7. View the difference on the files (hit refresh to make sure) Actual results: The blank line in the second file is not ignored Expected results: when the option is unticked the blank line in the second file should be ignored Does this happen every time? yes Other information: version 1.1.4 from the Ubuntu repository
I think the option is working only for {link,diff}map but should be doing the same for gtktextviewer... CONFIRMED !
The way ignore blank lines works now is to trim blank lines on either side of diffs. As you can see, this sometimes breaks. As a sidenote I'd like to see the the differences very faintly both in the textview and the sidebar, so you can see something when your vc tells you the files differ! As you can see the diff is skipped by the central pane drawing and "next/prev" buttons. First file: asdf asdf asdf x Second file: asdf asdf asdf x
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.