Skip to content

Add getText() method for retrieving a substring of the text. - #145

Open
ltenmoz wants to merge 1 commit into
w3c:gh-pagesfrom
ltenmoz:get-text-substring
Open

Add getText() method for retrieving a substring of the text.#145
ltenmoz wants to merge 1 commit into
w3c:gh-pagesfrom
ltenmoz:get-text-substring

Conversation

@ltenmoz

@ltenmoz ltenmoz commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Fixes #107.

I think it will also be useful to have a textLength attribute, because currently this can only be queried with .text.length which is also not great for performance.

For normative changes, the following tasks have been completed:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EditContext.text can be problematic from performance point of view

1 participant