In The Source: The Player of the Games
... yes, your suspicion is right... at the moment I'm reading Iain.
HtmlSpellCheck:
Not so scary after all. Just a collection of some static functions. The heart of it is:
static QList<MisspelledWord> GetMisspelledWords(const QString &text,
int start_offset,
int end_offset,
const QString &search_regex,
bool first_only = false,
bool include_all_words = false);
It has a fine word seeking loop... which is tag aware...
...must update my regex apparently...
...wish I had more time... it got so interesting...
...added "language" to struct MisspeledWord...let's play this one...
tbc...?
Last edited by varlog; 06-16-2016 at 05:59 PM.
|