Menu

#88 tkdiff fails to highlight in-line changed characters

V5.5.1
closed-fixed
None
5
2022-08-31
2022-08-28
Duncan Roe
No

Attached file with has a trailing space while file without does not. tkdiff shows them as being different but with no actual diff visible. This is because the inline modified highlight colour is set the same as the modified line background.
The attached patch reinstates the inline modified highlight colour to be the same as the map modified area colour.

--- tkdiff      2022/08/19 18:48:08     1.1
+++ tkdiff      2022/08/25 00:37:03     1.2
@@ -587,7 +587,7 @@
     ignoreRegexLn     0                {Suppress diffs of RegExp-matched lines}
     ignSuprs          0               {Utilize Engine suppresions when Diffing}
     inform        "$Pinf"        {Informational highlight: Tooltips + bindings}
-    inlinetag     "-background $Pcht -font $bold"
+    inlinetag     "-background $Pchm -font $bold"
                                {Tag options for diff region inline differences}
     inlSuprs      0                         {Designated suppression attributes}
     instag        "-background $Pins -font $bold"
3 Attachments

Discussion

  • michael-m

    michael-m - 2022-08-28
    • status: open --> accepted
    • assigned_to: michael-m
     
  • michael-m

    michael-m - 2022-08-28

    Wow. Actually had to go find when this happened (was V5.1) - quite a while. Apparently all the other issues with in-lining managed to keep this obscured since then. Excellent catch and problem analysis. Next release will definitely contain this.

     
  • michael-m

    michael-m - 2022-08-31
    • status: accepted --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.