(range)
| 439 | } |
| 440 | |
| 441 | getStringAtRange(range) { |
| 442 | let endIndex |
| 443 | const array = range = normalizeRange(range), |
| 444 | endPosition = array[array.length - 1] |
| 445 | if (endPosition !== this.getLength()) { |
| 446 | endIndex = -1 |
| 447 | } |
| 448 | return this.getDocumentAtRange(range).toString().slice(0, endIndex) |
| 449 | } |
| 450 | |
| 451 | getBlockAtIndex(index) { |
| 452 | return this.blockList.getObjectAtIndex(index) |
no test coverage detected