The Grammar page in the File Formats dialog defines the syntax of a file. Grammar elements such as comments and keywords are defined here.
1.Choose Tools | File Formats (Beyond Compare | File Formats on macOS) to open the File Formats dialog.
2.Select a text format.
3.Click the Grammar page.
4.Each grammar element can be described by one or more grammar items that appear in the list. The order of the list is significant. Items higher on the list take precedence over lower items. Click the New button to add a Grammar Item.
5.Line weights are used to improve alignment in a comparison. The alignment algorithm will try to line up matching lines with higher line weights.