CrutchWordRule.h header
#include <ew/app/CrutchWordRule.h>
Namespace ew::app
CrutchWordRule class
class ew::app::CrutchWordRule
Flags overused filler and hedge words ("very", "really", "just", "basically") that usually weaken prose and can be cut. Matching is case-insensitive and whole-word. The suggested fix is removal, so no replacement text is offered.
Members
ew::app::CrutchWordRule::CrutchWordRule()
Constructs the rule with its crutch-word alternation pre-compiled.
QString ew::app::CrutchWordRule::id() const override
A stable identifier for this rule (e.g. "repeated-word"), used to enable or disable it in a profile and to refer to it in tests.
StyleCategory ew::app::CrutchWordRule::category() const override
The category of issue this rule reports.
std::vector< StyleDiagnostic > ew::app::CrutchWordRule::analyze(QStringView text) const override
Returns every issue this rule finds in text, with offsets measured into text.