Skip to content

Improve comments in some syntax definitions (Part 3)

This is the continuation of !29 (merged) and !32 (merged).

Add ##Alerts and ##Modelines in all comments and add/fix the <comment .../> elements of the <comments> group.

For example, in the comment elements:

  • Add the region attribute in comment of type multiLine if it's missing. Folding in multiline comment is also added if missing.
  • Add the position attribute in comment of type singleLine in some languages.
  • Remove duplicate comment elements, as only one type singleLine and multiLine are supported.

Also, a few RegExpr rules, used in comments, are replaced by others (such as StringDetect, WordDetect, Detect2Chars, etc).

Merge request reports