(text, linewise)
| 471 | * inserted at the cursor position.) |
| 472 | */ |
| 473 | function Register(text, linewise) { |
| 474 | this.clear(); |
| 475 | if (text) { |
| 476 | this.set(text, linewise); |
| 477 | } |
| 478 | } |
| 479 | Register.prototype = { |
| 480 | set: function(text, linewise) { |
| 481 | this.text = text; |