Hi all,

I made one change in rule syntax today. The name attribute was optional 
until today but it was inconsistent with configuration: neither the GUI, 
nor the command-line, nor even the API allows to disable just one rule 
from a rule group. You disable the whole group at the same time. But in 
some languages, there were separate names of rules in a group listed 
together, and there was no warning that disabling them in the Options 
window actually also disables all the other rules in the group 
(displayed separately). This pertains to the following languages:

- French,
- Galician,
- Icelandic,
- Romanian.

To make the behavior consistent, I fixed this by requiring that rule 
groups and categories have non-empty attribute "name". That also 
required setting some rule names as the rule group name. See here the 
changes:

https://github.com/languagetool-org/languagetool/commit/2fdaa2f61f47d5fef3e4202498042516f468ac95

I don't think this is a controversial change as it was plainly a bug. If 
you want to have a rule that is configurable separately, simply move it 
out of the rulegroup.

Best regards,
Marcin

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to