var i = 0;
while (i < n) {
if (this.cursor+i < this.length) {
var add = this.text[this.cursor+i]; //this.text.get_char(this.cursor+i).to_string();
var i = 0;
while (i < n) {
if (this.cursor+i < this.length) {
var add = this.text[this.cursor+i]; //this.text.get_char(this.cursor+i).to_string();