Grammalecte  Diff

Differences From Artifact [e6011e0390]:

To Artifact [6fa5e97a98]:


367
368
369
370
371
372
373



374

375
376
377
378
379
380
381
                let sLum = oErr["aColor"][2].toString();
                xNodeErr.style.color = `hsl(${sHue}, ${sSat}%, 15%)`;
                xNodeErr.style.backgroundColor = `hsl(${sHue}, ${sSat}%, 85%)`;
                xNodeErr.style.borderBottom = `solid 2px hsl(${sHue}, ${sSat}%, ${sLum}%)`;
            }
        }
        else {



            xNodeErr.className = "grammalecte_spellerror";

        }
        return xNodeErr;
    }

    _blockParagraph (xParagraph) {
        xParagraph.contentEditable = "false";
        this.xParent.getElementById("grammalecte_check"+xParagraph.dataset.para_num).textContent = "!!";







>
>
>
|
>







367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
                let sLum = oErr["aColor"][2].toString();
                xNodeErr.style.color = `hsl(${sHue}, ${sSat}%, 15%)`;
                xNodeErr.style.backgroundColor = `hsl(${sHue}, ${sSat}%, 85%)`;
                xNodeErr.style.borderBottom = `solid 2px hsl(${sHue}, ${sSat}%, ${sLum}%)`;
            }
        }
        else {
            if (sUnderlined.search(/^[A-ZÀ-ÖØ-ߌ][a-zà-öø-ÿff-st]/) !== -1) {
                xNodeErr.className = "grammalecte_maybe_spellerror";
            } else {
                xNodeErr.className = "grammalecte_spellerror";
            }
        }
        return xNodeErr;
    }

    _blockParagraph (xParagraph) {
        xParagraph.contentEditable = "false";
        this.xParent.getElementById("grammalecte_check"+xParagraph.dataset.para_num).textContent = "!!";