Quote:
Originally Posted by KevinH
...
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
|
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

.