Announcement

Collapse
No announcement yet.

Filtering a single file?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Filtering a single file?

    I was wondering if you could use filters on a single file, and not just while diffing. I'd like to be able to view certain elements in an XML file that frequently have differences, all by themselves. It'd be nice if this program could do this.

  • #2
    It isn't possible to filter the contents of files in the Text Compare.

    However, you can mark differences unimportant to make them display as matches in the Text Compare. As an example, if you're comparing text files that contain dates, you can mark that text unimportant to make it show as a match.

    Instructions to mark text unimportant, along with a video tutorial, are available here:
    http://www.scootersoftware.com/suppo..._unimportantv3
    Chris K Scooter Software

    Comment


    • #3
      To expand on Chris' suggestion, you can mark all other elements as Unimportant, or mark your specific elements as Important. Whichever is easier to define. I would suggest using a series of delimited grammars:
      Element Grammar Name = <element> to </element>
      Element Grammar Name = <element2> to </element2>

      You can then toggle Element Grammar Name as Important or Unimportant in the Text Compare session settings.

      This will allow you to concentrate on only the differences you are trying to find.

      If you have any questions, please let us know.
      Aaron P Scooter Software

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎