()
| 186 | } |
| 187 | |
| 188 | clear(): void { |
| 189 | this._text = ""; |
| 190 | this._cursor = 0; |
| 191 | this._pasteMap.clear(); |
| 192 | this._pasteCounter = 0; |
| 193 | this._imageMap.clear(); |
| 194 | this._imageCounter = 0; |
| 195 | this._pasteBuffer = ""; |
| 196 | this._inPasteMode = false; |
| 197 | this._rapidInputBuffer = ""; |
| 198 | this._rapidInputStartPos = 0; |
| 199 | this._lastInputTime = 0; |
| 200 | if (this._rapidInputTimer) { |
| 201 | clearTimeout(this._rapidInputTimer); |
| 202 | this._rapidInputTimer = null; |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | isInPasteMode(): boolean { |
| 207 | return this._inPasteMode; |
no outgoing calls
no test coverage detected