@feature
Change-Id: I6d20ba7315fed8d17be212a1c03f63ce674afce2
ECORE_IMF_INPUT_HINT_NONE = 0, /**< No active hints @since 1.12 */
ECORE_IMF_INPUT_HINT_AUTO_COMPLETE = 1 << 0, /**< Suggest word auto completion @since 1.12 */
ECORE_IMF_INPUT_HINT_SENSITIVE_DATA = 1 << 1, /**< Typed text should not be stored. @since 1.12 */
+ ECORE_IMF_INPUT_HINT_MULTILINE = 1 << 2, /**< Multiline text @since 1.18 */
} Ecore_IMF_Input_Hints;
enum
rp->part->entry_mode == EDJE_ENTRY_EDIT_MODE_PASSWORD ?
ECORE_IMF_INPUT_MODE_INVISIBLE : ECORE_IMF_INPUT_MODE_FULL);
+ if (rp->part->multiline)
+ ecore_imf_context_input_hint_set(en->imf_context,
+ ecore_imf_context_input_hint_get(en->imf_context) | ECORE_IMF_INPUT_HINT_MULTILINE);
+
if (rp->part->entry_mode == EDJE_ENTRY_EDIT_MODE_PASSWORD)
ecore_imf_context_input_panel_language_set(en->imf_context, ECORE_IMF_INPUT_PANEL_LANG_ALPHABET);
#endif
imcontext->content_hint |= WL_TEXT_INPUT_CONTENT_HINT_SENSITIVE_DATA;
else
imcontext->content_hint &= ~WL_TEXT_INPUT_CONTENT_HINT_SENSITIVE_DATA;
+
+ if (input_hints & ECORE_IMF_INPUT_HINT_MULTILINE)
+ imcontext->content_hint |= WL_TEXT_INPUT_CONTENT_HINT_MULTILINE;
+ else
+ imcontext->content_hint &= ~WL_TEXT_INPUT_CONTENT_HINT_MULTILINE;
}
EAPI void