185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
|
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) {
else if (iParagraph < this.lNode.length && this.lNode[iParagraph].textContent != oGrammalecteTextEditor.getParagraph(iParagraph)) {
this.lNode[iParagraph].textContent = oGrammalecteTextEditor.getParagraph(iParagraph);
}
}
catch (e) {
showError(e);
}
}
|