feat(spellchecking): ignore commands for spellchecking (#6731)

This commit is contained in:
Arne
2026-01-11 13:00:40 +01:00
committed by GitHub
parent b817054947
commit a8ac28425f
4 changed files with 50 additions and 3 deletions
@@ -55,6 +55,13 @@ public:
}
#endif
/// Returns the length of the command trigger in `text`, including leading
/// spaces. If `text` does not start with a command trigger, 0 is returned.
/// Examples:
/// - " /ban forsen" returns 5
/// - "/non-existing-command" returns 0
qsizetype commandTriggerLen(QStringView text);
private:
void load(Paths &paths);