252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
|
}
apply () {
try {
const t0 = Date.now();
//window.setCursor("wait"); // change pointer
this.resetProgressBar();
let sText = this.xTextArea.value;
document.getElementById('grammalecte_tf_progressbar').max = 7;
let n1 = 0, n2 = 0, n3 = 0, n4 = 0, n5 = 0, n6 = 0, n7 = 0;
// Restructuration
if (this.isSelected("o_group_struct")) {
if (this.isSelected("o_remove_hyphens_at_end_of_paragraphs")) {
[sText, n1] = this.removeHyphenAtEndOfParagraphs(sText);
|
|
|
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
|
}
apply () {
try {
const t0 = Date.now();
//window.setCursor("wait"); // change pointer
this.resetProgressBar();
let sText = this.xTextArea.value.normalize("NFC");
document.getElementById('grammalecte_tf_progressbar').max = 7;
let n1 = 0, n2 = 0, n3 = 0, n4 = 0, n5 = 0, n6 = 0, n7 = 0;
// Restructuration
if (this.isSelected("o_group_struct")) {
if (this.isSelected("o_remove_hyphens_at_end_of_paragraphs")) {
[sText, n1] = this.removeHyphenAtEndOfParagraphs(sText);
|