Announcement

Collapse
No announcement yet.

Create new text compare rule

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Create new text compare rule

    Can I create a new text compare rule?

    I have a lot of files that use typedef, for example: "float32" and "Float32"
    I want to ignore compare failures to "float"
    Similar rule for int and int32 | int 64
    I tried to create a regex in grammar to do this but there was no way to set tag for beginning fog word or end of word (VS2010 uses "<" and ">").
    In any case what I did didn't work.

    Is there a way I can set a text comparison failure to be ignored?

  • #2
    It might help to read the tutorial on marking text unimportant here:
    Beyond Compare is a multi-platform utility that combines directory compare and file compare functions in one package. Use it to manage source code, keep directories in sync, compare program output, etc.


    Let us know if you have any questions after reading the above link.
    Chris K Scooter Software

    Comment


    • #3
      In addition to Chris' comments, it sounds like you may also find our BC3 Pro feature Text Replacements useful. This would allow you to define specific rules such as
      "int32" = "int 64"

      Defining the Text as Unimportant should also work as well. You just need to define the grammar to match on "int32", and then mark that grammar as unimportant.

      Our trial can run in Pro mode by enabling it in the Help menu -> About dialog.
      If you have already registered for Std, you can revert to trial mode to evaluate the feature:
      Beyond Compare is a multi-platform utility that combines directory compare and file compare functions in one package. Use it to manage source code, keep directories in sync, compare program output, etc.
      Aaron P Scooter Software

      Comment

      Working...
      X