(start: number, limit: number)
| 9 | // Get the substring of HTML corresponding to text.substr(start, len). |
| 10 | // Leading markup is included with index 0, trailing with the last char. |
| 11 | getHtmlSubstring(start: number, limit: number) { |
| 12 | const count = limit - start; |
| 13 | return html_substr(this.html_, start, count); |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | // Returns the HTML corresponding to text in positions [start, start+count). |
no test coverage detected