Grammalecte  Diff

Differences From Artifact [4d28a215de]:

To Artifact [17e5612fca]:


185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
                if (this.xResultNode) {
                    this.xResultNode.dispatchEvent(xEvent);
                } else {
                    this.xWhat.dispatchEvent(xEvent);
                }
                //console.log("[Grammalecte debug] Text sent to xWhat via event:", xEvent.detail);
            }
            else if (iParagraph < this.lNode.length) {
                this.lNode[iParagraph].textContent = oGrammalecteTextEditor.getParagraph(iParagraph);
            }
        }
        catch (e) {
            showError(e);
        }
    }







|







185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
                if (this.xResultNode) {
                    this.xResultNode.dispatchEvent(xEvent);
                } else {
                    this.xWhat.dispatchEvent(xEvent);
                }
                //console.log("[Grammalecte debug] Text sent to xWhat via event:", xEvent.detail);
            }
            else if (iParagraph < this.lNode.length  &&  this.lNode[iParagraph].textContent != oGrammalecteTextEditor.getParagraph(iParagraph)) {
                this.lNode[iParagraph].textContent = oGrammalecteTextEditor.getParagraph(iParagraph);
            }
        }
        catch (e) {
            showError(e);
        }
    }