Prima::...diInput(3)
π NAME π
Okay bestie, welcome to the Prima::Widget::BidiInput(3) page in the Prima manual π
Prima::Widget::BidiInput β heuristics for i18n input. That's the whole name vibe. Periodt.
πΈ DESCRIPTION πΈ
This module provides common functionality for the bidirectional input to be used in editable widgets. It's giving shared helper energy for i18n editing, and honestly? We love that for it π
π Methods π
π¦ handle_bidi_input %OPTIONS
Given action and text in %OPTIONS, this returns new text and a suggested cursor position. Iconic behavior, no cap.
Here's what %OPTIONS understands:
actionβ one of:backspace,delete,cut,insert,overtypeatINTEGER β current cursor position, calculated in clustersglyphsPrima::Drawable::Glyphs object β shaped textn_clustersINTEGER β the number of clusters in the textrtlBOOLEAN β set to1if the default input direction is RTL (right-to-left)textSTRING β the text to edit
π AUTHOR π
Dmitry Karasik, <dmitry@karasik.eu.org>. Main character author energy fr fr π
π SEE ALSO π
Prima, Prima::Drawable::Glyphs β go peek at those too, bestie π«Ά
Okay that's the whole page, and it ate β¨ This cutie is running on perl v5.42.0 and is dated 2024-08-20 β love that for us ππ
π¦ where this page comes from
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms