Syntax Highlighting Is Automatically Enabled after Swap Files

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
martinm
Junior Member
Posts: 10
Joined: Fri Jul 22, 2011 12:03 pm

Syntax Highlighting Is Automatically Enabled after Swap Files

Post 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?
User avatar
psguru
Site Admin
Posts: 2305
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Syntax Highlighting Is Automatically Enabled after Swap Files

Post by psguru »

I cannot reproduce this in build 15.0.1.14.
psguru
PrestoSoft
martinm
Junior Member
Posts: 10
Joined: Fri Jul 22, 2011 12:03 pm

Re: Syntax Highlighting Is Automatically Enabled after Swap Files

Post 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 1120 times
  • Comparing the properties.xml file with itself. The result looks like this:
    SC2.PNG
    SC2.PNG (130.57 KiB) Viewed 1120 times
  • Click the Swap Files button to swap the display. The result looks like this:
    SC3.PNG
    SC3.PNG (138.6 KiB) Viewed 1120 times
User avatar
psguru
Site Admin
Posts: 2305
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Syntax Highlighting Is Automatically Enabled after Swap Files

Post 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.
psguru
PrestoSoft
Post Reply