Differences From Artifact [137acfaece]:
- File gc_lang/fr/webext/content_scripts/panel_gc.js — part of check-in [f4a00c03d1] at 2019-05-20 14:57:46 on branch trunk — [fx] gc panel: fix copy to clipboard again (user: olr, size: 52342) [annotate] [blame] [check-ins using]
To Artifact [27ba96b762]:
- File gc_lang/fr/webext/content_scripts/panel_gc.js — part of check-in [f3750381d4] at 2019-05-25 12:14:00 on branch trunk — [fx][bug] text formatter: fix restructuration (user: olr, size: 52379) [annotate] [blame] [check-ins using]
︙ | |||
966 967 968 969 970 971 972 973 974 975 976 977 978 979 | 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 | + | setParagraph (iParagraph, sText) { this.dParagraph.set(iParagraph, sText); } loadText (sText) { if (typeof(sText) === "string") { this.dParagraph.clear(); let i = 0; let iStart = 0; let iEnd = 0; sText = sText.replace(/\r\n/g, "\n").replace(/\r/g, "\n").normalize("NFC"); while ((iEnd = sText.indexOf("\n", iStart)) !== -1) { this.dParagraph.set(i, sText.slice(iStart, iEnd)); i++; |
︙ |