View Single Post
Old 07-23-2020, 04:07 PM   #21
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
Quote:
Originally Posted by KevinH View Post
...
The issue is showing on the fly spelling mistakes (with red squiggly underlines) as you are editing the code itself in CodeView. The existence of potentially incomplete or broken code and the need to walk the tree back up the parent path to determine the language on the fly makes things hard to determine what language to check the just completed word in (and do it quickly).
...
Actually, my idea to solve this problem was somehow working - AFAIremeber . Not perfect, but the only feasible under circumstances, I think.
By every spellchecking Sigil created language map of the text: every letter position in text had a language assigned to it. By new text input, when the spellchecking was triggered, Sigil checked where the input was relative to the current language map and "guessed" the input language from it.
Of course if the input was "<span lang=..." ...
But, in most of the cases, it should work. The time penalty for this check was negligible in comparison to other multi language necessities.

Quote:
Originally Posted by Doitsu View Post
If I understand his development thread correctly, varlog didn't achieve his goal:
That needs clarification: I did create somehow working multi language spellchecking version of Sigil - but it was not my actual goal.

Why this version has not found its way into Sigil?
Probably it has not met Kevin's expectations - but but he was nice enough never to elaborate on it .

Last edited by varlog; 07-23-2020 at 04:18 PM.
varlog is offline   Reply With Quote