When ‘errorColors’ was added in LT 2.8, its purpose was to add colours to types of error (CHANGES.txt). At the time, LanguageTool Options did not have tabs for different types of error.
Now, to keep all rules on one tab and to use errorColors correctly is not possible. For example, I have a set of rules which I want on one tab (the rules have names such as Rule 1.1, Rule 1.2, …). Some of those rules are style rules, and I would like to use type=“style”, but I cannot do this.
Proposal for a new optional category attribute called ‘tab’ to let a rule writer specify the tab name on which a rule appears:
<category id="BLAH" name="MyRules1" type="xxx" tab="My Tab">
If a category element does not contain a tab attribute, the LT GUI puts the rules on a tab that is specified in the LT code. (This is the current behaviour in LT.)
If a category element contains a tab attribute, the LT GUI uses the tab value to create a tab on LanguageTool Options and put all the category rules on that tab.
This change would benefit primarily those rule writers who add customized rules to LT.
Are there other better ways to let a rule writer keep all rules on one tab and also use errorColors? What are the possible problems if my proposal were implemented?