(text: string)
| 35 | } |
| 36 | |
| 37 | setText(text: string): void { |
| 38 | this._text = text; |
| 39 | this._cursor = Math.min(this._cursor, text.length); |
| 40 | } |
| 41 | |
| 42 | setCursor(position: number): void { |
| 43 | this._cursor = Math.max(0, Math.min(position, this._text.length)); |
no outgoing calls
no test coverage detected