Prima::...diInput(3)

πŸ“¦
version 1.74000 Β· 5 versions
, in opensuse-leap 16.0

πŸ’– 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, overtype
  • at INTEGER β€” current cursor position, calculated in clusters
  • glyphs Prima::Drawable::Glyphs object β€” shaped text
  • n_clusters INTEGER β€” the number of clusters in the text
  • rtl BOOLEAN β€” set to 1 if the default input direction is RTL (right-to-left)
  • text STRING β€” 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