Add explanation about ecore_imf_context_retrieve_surrounding_callback_set
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 16 Sep 2014 05:22:19 +0000 (14:22 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 16 Sep 2014 05:22:19 +0000 (14:22 +0900)
ecore_imf_context_retrieve_surrounding_callback_set () is very important to input languages such as Thai.

src/lib/ecore_imf/Ecore_IMF.h

index c1a255c..6d0719e 100644 (file)
@@ -923,6 +923,8 @@ EAPI void                          ecore_imf_context_use_preedit_set(Ecore_IMF_C
  *
  * This callback will be called when the Input Method Context
  * module requests the surrounding context.
+ * Input methods typically want context in order to constrain input text based on existing text;
+ * this is important for languages such as Thai where only some sequences of characters are allowed.
  *
  * @param ctx An #Ecore_IMF_Context.
  * @param func The callback to be called.