(text, linewise, blockwise)
| 10240 | * inserted at the cursor position.) |
| 10241 | */ |
| 10242 | function Register(text, linewise, blockwise) { |
| 10243 | this.clear(); |
| 10244 | this.keyBuffer = [text || '']; |
| 10245 | this.insertModeChanges = []; |
| 10246 | this.searchQueries = []; |
| 10247 | this.linewise = !!linewise; |
| 10248 | this.blockwise = !!blockwise; |
| 10249 | } |
| 10250 | Register.prototype = { |
| 10251 | setText: function(text, linewise, blockwise) { |
| 10252 | this.keyBuffer = [text || '']; |