Announcement

Collapse
No announcement yet.

C++ important comments and tab/space

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

  • C++ important comments and tab/space

    Hello,

    While comparing 2 c++ files, I'd like the comments to be considered as important, but i would also like a space or a tab inside a comment to be considered as non-important.
    Basicaly, i'd like BC to behave the same way for the code and for the comments.

  • #2
    Hello,

    To perform this comparison, you would need to edit (or create a new/clone) file format without the "Comments" grammar. To create a clone, go to the Tools menu -> File Formats, select your C++ file format and Save As. You can uncheck the original to disable it. Then go to the Grammar tab and delete any "Comment" grammars to revert them to 'Everything Else' text, which can mark the text as important but the whitespace as unimportant.

    Adding the option to have grammars optionally treat whitespace at a different level of importance is on our Customer Wishlist.
    Aaron P Scooter Software

    Comment


    • #3
      Thank you very much !

      Comment

      Working...
      X