Skip to content

Releases: marcheiligers/dr-input

v0.0.23

16 Feb 23:30
fdee82d
Compare
Choose a tag to compare

v0.0.23 - 17 February 2025

  • Exposed @text_keys as an instance variable instead of a local.
  • Wrote up notes on custom keyboard handling with a filtering example.
  • Documented #delete_forward and #delete_back methods.
  • Deprecated on_clicked and added on_click in it's place.
  • Documented focused argument and #focused? aliases for focussed and #focussed?

v0.0.22

09 Feb 21:25
474fa58
Compare
Choose a tag to compare

v0.0.22 - 9 February 2025

  • Fixed a bug when using max_length where selection_end (and selection_start) where incorrectly set (thanks to @TheCire for reporting in Discord).
  • Fixed a cursor placement and selection background issues in the Text component.

v0.0.21

04 Jan 22:55
098b202
Compare
Choose a tag to compare

v0.0.21 - 4 Jan 2024

  • Updated clipboard to use getclipboard and setclipboard so the system clipboard is used
  • Updated menu to handle scrolling with keyboard if there are too many items, including menu sizing
  • First pass at menu positioning which tries to maximize the height to show as many items as possible
  • Added :focused alias for :focussed and focused? for focussed?
  • Added autocomplete filtering as you type
  • Added #shift_lock attribute which helps with autocomplete on the prompt

v0.0.20

11 Aug 17:17
5774d97
Compare
Choose a tag to compare

v0.0.20 - 11 August 2024

  • The cursor now returns to (nearly) full alpha while you're typing (or the value is changed in some other way)
  • Exposed value_changed accessor which is true if the value changed in the last tick

v0.0.19

11 Aug 01:09
3d282ec
Compare
Choose a tag to compare

v0.0.19 - 10 August 2024

  • Slight optimizations in reflow, including not reflowing the text if you assign the same w, size_enum or size_px.

v0.0.18

28 Jul 23:38
1fbbd92
Compare
Choose a tag to compare

v0.0.18 - 28 July 2024

  • Added #size_px=, #size_enum= and updated #w= to allow resizing or changing the font size of the Multiline
    • Note: this causes the content to be "reflowed" (find word breaks) which may impact performance for large texts
    • Note: odd pixel sizes for fonts appear to measure incorrectly, so stick to even font sizes
    • Updated "book" sample with a resizer and font size controls to demonstrate the above
  • This release contains experimental Menu support as part of the DragonRuby console prompt replacement

v0.0.17

25 May 01:22
6f17fb1
Compare
Choose a tag to compare

v0.0.17 - 24 May 2024

  • Moved FontStyle module inside Input module to avoid global namespace pollution

v0.0.16

20 May 00:49
976e112
Compare
Choose a tag to compare

v0.0.16 - 19 May 2024

  • Added experimental support for replacing the DragonRuby console prompt
    • Use Input.replace_console! to enable (See book_sample.rb)

v0.0.15

19 May 00:34
a823dfb
Compare
Choose a tag to compare

v0.0.15 - 18 May 2024

  • Fixed a bug in current_word where 'wor|d pair' would result in 'word pair' being returned
  • Fixed performance for current_word in very long words in large documents

v0.0.14

18 May 01:55
2c506db
Compare
Choose a tag to compare

v0.0.14 - 17 May 2024

  • Added support for size_px to specify font-sizes