Grammalecte  Check-in [f21379f02a]

Overview
Comment:[fx] revert: one spell error style
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: f21379f02a5870209f97865b53f2783c4db3fc6ca5608bc2fcdc2e699e2e5ab7
User & Date: olr on 2020-04-02 13:57:27
Other Links: manifest | tags
Context
2020-04-02
13:58
[fx] fix web API for Chrome: use JSON.stringify() for dispatching events check-in: 2189e58b3b user: olr tags: trunk, fx
13:57
[fx] revert: one spell error style check-in: f21379f02a user: olr tags: trunk, fx
11:56
[doc] writing rules check-in: 4592c7bfb6 user: olr tags: trunk, doc
Changes

Modified gc_lang/fr/webext/content_scripts/panel_gc.js from [6fa5e97a98] to [e6011e0390].

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 = "!!";







<
<
<
|
<







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 = "!!";