22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
this.formatText = this.TextFormatter.formatTextRuleCount;
this.removeHyphenAtEndOfParagraphs = this.TextFormatter.removeHyphenAtEndOfParagraphsCount;
this.mergeContiguousParagraphs = this.TextFormatter.mergeContiguousParagraphsCount;
this.getParagraph = this.TextFormatter.getParagraph;
this.xCloseButton.onclick = () => {
if (this.bTextChanged) {
// recheck text after modification
this.xGCPanel.recheckAll();
this.hide();
}
};
}
_createTextFormatter () {
let xTFNode = document.createElement("div");
try {
// Options
|
<
|
>
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
this.formatText = this.TextFormatter.formatTextRuleCount;
this.removeHyphenAtEndOfParagraphs = this.TextFormatter.removeHyphenAtEndOfParagraphsCount;
this.mergeContiguousParagraphs = this.TextFormatter.mergeContiguousParagraphsCount;
this.getParagraph = this.TextFormatter.getParagraph;
this.xCloseButton.onclick = () => {
if (this.bTextChanged) {
this.xGCPanel.recheckAll();
this.bTextChanged = false;
}
this.hide();
};
}
_createTextFormatter () {
let xTFNode = document.createElement("div");
try {
// Options
|