Releases: marcheiligers/dr-input
Releases · marcheiligers/dr-input
v0.0.23
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 addedon_click
in it's place. - Documented
focused
argument and#focused?
aliases forfocussed
and#focussed?
v0.0.22
v0.0.21
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
andfocused?
forfocussed?
- Added autocomplete filtering as you type
- Added
#shift_lock
attribute which helps with autocomplete on the prompt
v0.0.20
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
v0.0.19 - 10 August 2024
- Slight optimizations in reflow, including not reflowing the text if you assign the same
w
,size_enum
orsize_px
.
v0.0.18
v0.0.18 - 28 July 2024
- Added
#size_px=
,#size_enum=
and updated#w=
to allow resizing or changing the font size of theMultiline
- 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
v0.0.17 - 24 May 2024
- Moved
FontStyle
module insideInput
module to avoid global namespace pollution
v0.0.16
v0.0.16 - 19 May 2024
- Added experimental support for replacing the DragonRuby console prompt
- Use
Input.replace_console!
to enable (Seebook_sample.rb
)
- Use
v0.0.15
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
v0.0.14 - 17 May 2024
- Added support for
size_px
to specify font-sizes