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 the common functionality for the bidirectional input to be used in editable widgets

Methods

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

The following options are understood:

One of: backspace, delete, cut, insert, overtype
Current cursor position in clusters
Shaped text
Amount of clusters in the text
Is widget or currently selected method is RTL (right-to-left)
A text to edit

AUTHOR

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

SEE ALSO

Prima, Prima::Drawable::Glyphs

2023-09-05 perl v5.26.1