(start: number, end: number)
| 142 | } |
| 143 | |
| 144 | private between(start: number, end: number): string { |
| 145 | let result = '' |
| 146 | for (let c = start; c < end; c++) |
| 147 | result += this.right[c] + this.text[c] + this.left[c + 1] |
| 148 | return result |
| 149 | } |
| 150 | |
| 151 | private isInsideHolder(index: number): boolean { |
| 152 | return this.holderEnd.some((holderEnd, h) => this.text[h] !== '' && h < index && index < holderEnd) |