Scroll to navigation

Prima::Widget::BidiInput(3) User Contributed Perl Documentation Prima::Widget::BidiInput(3)

NAME

Prima::Widget::BidiInput - heuristics for i18n input

DESCRIPTION

Provides common functionality for the bidirectional input to be used in editable widgets

Methods

Given "action" and "text" in %OPTIONS, returns new text and a suggested cursor position.

The following options are understood:

One of: backspace, delete, cut, insert, overtype
Current cursor position, calculated in clusters
Shaped text
The number of clusters in the text
Set to 1 if the default input direction is RTL (right-to-left)
The text to edit

AUTHOR

Dmitry Karasik, <dmitry@karasik.eu.org>.

SEE ALSO

Prima, Prima::Drawable::Glyphs

2024-02-01 perl v5.38.2