11 language_tag language;
26 error_type(
spell_errors *self,
size_t offset,
size_t size) noexcept : offset(offset), size(size), _ptr(self) {}
34[[nodiscard]]
spell_errors check_spelling(gstring
text, language_tag language,
size_t offset = 0) noexcept;
36template<typename It,
std::sentinal_for<It> ItEnd>
37[[nodiscard]]
spell_errors check_spelling(It first, ItEnd last) noexcept
44 auto r = spell_errors{};
46 auto run_language = first->attributes().language_tag();
47 auto run_start = first;
48 for (
auto it = first + 1; it != last; ++it) {
49 auto language = it->attributes().language_tag();
50 if (language != run_language) {
DOXYGEN BUG.
Definition algorithm.hpp:13
geometry/margins.hpp
Definition cache.hpp:11
The standard HikoGUI character type.
Definition character.hpp:34
Definition spell_check.hpp:7
Definition spell_check.hpp:9
std::vector< gstring > suggestions() const noexcept
Get the replacements for this error.