Overview
| Comment: | [fx][tb] editor: fix wrong variable name | 
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive | 
| Timelines: | family | ancestors | descendants | both | trunk | tb | fx | 
| Files: | files | file ages | folders | 
| SHA3-256: | 03ae204c73327bc8dcd4c1cf13ffc4eb | 
| User & Date: | olr on 2021-01-04 19:28:58 | 
| Other Links: | manifest | tags | 
Context
| 2021-01-05 | ||
| 15:53 | [build][core] function info for tokens check-in: d82e5dd021 user: olr tags: trunk, core, build | |
| 2021-01-04 | ||
| 19:28 | [fx][tb] editor: fix wrong variable name check-in: 03ae204c73 user: olr tags: trunk, tb, fx | |
| 18:58 | [fx][tb] exclude signature from grammar checking check-in: 63e4b15913 user: olr tags: trunk, tb, fx | |
Changes
Modified gc_lang/fr/webext/content_scripts/editor.js from [20f1f7547f] to [c002cedb14].
| ︙ | ︙ | |||
| 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | 
        }
        catch (e) {
            showError(e);
        }
    }
    loadText (sText) {
        oGrammalecteTextEditor.loadText(sText);
        this.write();
    }
    write () {
        if (!this.bWrite) {
            return;
        }
        for (let [i, sParagraph] of oGrammalecteTextEditor.getParagraphs()) {
            if (i < this.lNode.length) {
 | > | | 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | 
        }
        catch (e) {
            showError(e);
        }
    }
    loadText (sText) {
        // function also used by the text formatter
        oGrammalecteTextEditor.loadText(sText);
        this.write();
    }
    write () {
        if (!this.bWrite) {
            return;
        }
        for (let [i, sParagraph] of oGrammalecteTextEditor.getParagraphs()) {
            if (i < this.lNode.length) {
                this.lNode[i].textContent = sParagraph;
            }
        }
    }
    clear () {
        this.xDocument = null;
        this.xRootNode = null;
 | 
| ︙ | ︙ |