From 7387f7acfdf3f91515ad5bc5ca3259876dbd215a Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Tue, 16 Sep 2014 14:22:19 +0900 Subject: [PATCH] Add explanation about ecore_imf_context_retrieve_surrounding_callback_set ecore_imf_context_retrieve_surrounding_callback_set () is very important to input languages such as Thai. --- src/lib/ecore_imf/Ecore_IMF.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/ecore_imf/Ecore_IMF.h b/src/lib/ecore_imf/Ecore_IMF.h index c1a255c21d..6d0719e667 100644 --- a/src/lib/ecore_imf/Ecore_IMF.h +++ b/src/lib/ecore_imf/Ecore_IMF.h @@ -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.