Page 1 of 1

Syntax Highlighting Is Automatically Enabled after Swap Files

Posted: Thu Oct 31, 2024 11:44 am
by martinm
I have the Document Type Settings (syntax highlighting) disabled by default.
Now I compare two XML files or two UNIX shell scripts. Everything is fine and the comparison results are displayed without syntax highlighting.
Now I click the "Swap Files" toolbar button to swap the display of the two files. After swapping the two files, syntax highlighting and the scope bar are automatically enabled. The same thing happens when I click the "Re-Compare" toolbar button.
Is this intentional and how can I disable it?

Re: Syntax Highlighting Is Automatically Enabled after Swap Files

Posted: Sat Nov 02, 2024 3:49 pm
by psguru
I cannot reproduce this in build 15.0.1.14.

Re: Syntax Highlighting Is Automatically Enabled after Swap Files

Posted: Sun Nov 03, 2024 2:59 am
by martinm
I am also using ExamDiff Pro build 15.0.1.14 (64-bit) on Windows 10. I have now performed the following steps for easy reproduction:
  • Download the example file https://github.com/apache/logging-log4j ... erties.xml.
  • Fresh installation of ExamDiff Pro Build 15.0.1.14 (64-bit) in a fresh Windows 10 installation (in my case in a VHD) with the setup type Typical Installation.
  • Option Use document type settings disabled in the options:
    SC1.PNG
    SC1.PNG (51.35 KiB) Viewed 31664 times
  • Comparing the properties.xml file with itself. The result looks like this:
    SC2.PNG
    SC2.PNG (130.57 KiB) Viewed 31664 times
  • Click the Swap Files button to swap the display. The result looks like this:
    SC3.PNG
    SC3.PNG (138.6 KiB) Viewed 31664 times

Re: Syntax Highlighting Is Automatically Enabled after Swap Files

Posted: Sun Nov 03, 2024 10:14 am
by psguru
Thanks, I thought were talking about a different option specific to a document type. This bug will be fixed in the next build of v. 15.