Skip to content

0.12.0

Compare
Choose a tag to compare
@jackpot51 jackpot51 released this 18 Jun 21:49
· 28 commits to main since this release
a03ec6b

This release focused on resolving some longstanding issues for toolkit use.

Links

Added

  • Cache codepoint support info for monospace fonts
  • Store a sorted list of monospace font ids in font system
  • Add line ending abstraction
  • Horizontal scroll support in Buffer
  • Concurrently load and parse fonts
  • Add metrics to attributes
  • Support expanding tabs
  • Add an option to set selected text color
  • Add Edit::cursor_position
  • Allow layout to be calculated without specifying width
  • Allow for undefined buffer width and/or height
  • Add method to set syntax highlighting by file extension

Fixed

  • Fix no_std build
  • Handle inverted Ranges in add_span
  • Fix undo and redo updating editor modified status
  • Ensure at least one line is in Buffer

Changed

  • Enable vi feature for docs.rs build
  • Convert editor example to winit
  • Refactor scrollbar width handling for editor example
  • Convert rich-text example to winit
  • Only try monospace fonts that support at least one requested script
  • Skip trying monospace fallbacks if default font supports all codepoints
  • Make vertical scroll by pixels instead of layout lines
  • Upgrade dependencies and re-export ttf-parser