1Prima::Widget::BidiInpuUts(e3r)Contributed Perl DocumentPartiimoan::Widget::BidiInput(3)
2
3
4
6 Prima::Widget::BidiInput - heuristics for i18n input
7
9 Provides the common functionality for the bidirectional input to be
10 used in editable widgets
11
13 handle_bidi_input %OPTIONS
14 Given "action" and "text" in %OPTIONS, returns new text and
15 suggested new cursor position.
16
17 The following options are understood:
18
19 action
20 One of: backspace, delete, cut, insert, overtype
21
22 at INTEGER
23 Current cursor position in clusters
24
25 glyphs Prima::Drawable::Glyphs object
26 Shaped text
27
28 n_clusters INTEGER
29 Amount of clusters in the text
30
31 rtl BOOLEAN
32 Is widget or currently selected method is RTL (right-to-left)
33
34 text STRING
35 A text to edit
36
38 Dmitry Karasik, <dmitry@karasik.eu.org>.
39
41 Prima, Prima::Drawable::Glyphs
42
43
44
45perl v5.36.0 2023-03-20 Prima::Widget::BidiInput(3)