View Single Post
Old 06-16-2016, 05:46 PM   #17
varlog
actually it is /var/log
varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.
 
varlog's Avatar
 
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
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.
varlog is offline   Reply With Quote