Overview
Comment: | [fx] TextFormatter always on top |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | fx |
Files: | files | file ages | folders |
SHA3-256: |
fcbc7d9332db29fc83c926085d561023 |
User & Date: | olr on 2019-05-03 11:40:59 |
Other Links: | manifest | tags |
Context
2019-05-03
| ||
11:42 | [fx] useless comments check-in: 9341ef2dbf user: olr tags: trunk, fx | |
11:40 | [fx] TextFormatter always on top check-in: fcbc7d9332 user: olr tags: trunk, fx | |
11:40 | [fr] ajustements check-in: f69bfa4b3e user: olr tags: trunk, fr | |
Changes
Modified gc_lang/fr/webext/content_scripts/panel.js from [e8afa544eb] to [fea7f6e3b1].
︙ | |||
30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - + | this.xWaitIcon = this._createWaitIcon(); this.xPanel = this._createPanel(sTitle); this.center(); } _createPanel (sTitle) { try { |
︙ | |||
122 123 124 125 126 127 128 | 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | - + + - + + - + + - + + - + + + + + + + + + + + + + | hide () { this.xPanel.style.display = "none"; oGrammalecte.clearRightClickedNode(); } center () { let nHeight = (this.bFlexible) ? window.innerHeight-100 : this.nHeight; |
︙ |
Modified gc_lang/fr/webext/content_scripts/panel_tf.js from [397ac93475] to [af5a3d9e1f].
︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | + | class GrammalecteTextFormatter extends GrammalectePanel { constructor (...args) { super(...args); this.xTFNode = this._createTextFormatter(); this.xPanelContent.appendChild(this.xTFNode); this.xTextArea = null; this.xPanel.style.zIndex = 2147483647; /* maximum is 2147483647: https://stackoverflow.com/questions/491052/minimum-and-maximum-value-of-z-index */ this.TextFormatter = new TextFormatter(); this.formatText = this.TextFormatter.formatTextRuleCount; this.removeHyphenAtEndOfParagraphs = this.TextFormatter.removeHyphenAtEndOfParagraphsCount; this.mergeContiguousParagraphs = this.TextFormatter.mergeContiguousParagraphsCount; this.getParagraph = this.TextFormatter.getParagraph; } |
︙ |