Skip to content

0.8.0

Compare
Choose a tag to compare
@gyscos gyscos released this 20 Feb 22:04
· 901 commits to main since this release

Major update. Check CHANGELOG.md for complete list.

Highlights:

  • Add styled text support.
    • TextView can now display a StyledString. A StyledString can be built from multiple sources, including parsing markdown text.
  • Fixed line-breaking algorithm (now doesn't break at invalid locations).
  • Refactored ColorStyle.
  • Added TextContent to manage the content from a TextView remotely.
  • StackView: added methods to re-order the layers, and reposition them on screen.
  • Cursive::cb_sink can now accept FnOnce callbacks
  • Various methods were added to query/update the selection/focus for most views.
  • Usual bunch of bugfixes.