Skip to content

v0.1.3

Choose a tag to compare

@rhysd rhysd released this 08 Jul 09:29
· 279 commits to main since this release
  • Text search was implemented. Text search is gated behind search feature flag to avoid depending on regex crate until it is necessary. See the usage document, the API document, and the working example for more details.
    • TextArea::set_search_pattern sets a search pattern in regular expression. This updates highlights at matches in textarea, but does not move the cursor.
    • TextArea::search_forward moves cursor to the next match of the text search based on current cursor position.
    • TextArea::search_back moves cursor to the previous match of the text search based on current cursor position.
    • TextArea::set_search_style sets the text style for highlighting matches of text search.
    search in editor example