Expand description
Locating a piece of text inside an element’s value for select_text.
Structs§
- Text
Selection - A request to select (or place the caret around) some text inside an element.
Enums§
- Selection
Mode - What
select_textshould do with the matched text.
Functions§
- char_
offset - Converts a byte offset in
valueto achar(Unicode scalar) offset. - utf16_
offset - Converts a byte offset in
valueto a UTF-16 code-unit offset.