From: handa Date: Mon, 7 Nov 2005 12:59:09 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: REL-1-3-0~90 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=ab3f3d327febb6e30cec06263809106652a3bc97;p=m17n%2Fm17n-lib.git *** empty log message *** --- diff --git a/example/ChangeLog b/example/ChangeLog index e45c87b..28965a6 100644 --- a/example/ChangeLog +++ b/example/ChangeLog @@ -1,3 +1,9 @@ +2005-11-07 Kenichi Handa + + * medit.c (surrounding_text_handler): New function. + (setup_input_methods): Add callback functions for surrounding text + handling. + 2005-10-20 Kenichi Handa * medit.c (setup_input_methods): Ignore an input method of name diff --git a/src/ChangeLog b/src/ChangeLog index f5b93b9..001e27b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,24 @@ +2005-11-07 Kenichi Handa + + * input.c: Include . + (get_surrounding_text, delete_surrounding_text) + (get_preceding_char, get_following_char): New functions. + (integer_value): New arg surrounding. If it is nonzero, try to + get a surrounding character. Callers changed. + (take_action_list): Check `value' before setting an element. + (destroy_ic): Unref ic_info->preceding_text and + ic_info->following_text. + (minput__init): Initialize Minput_get_surrounding_text and + Minput_delete_surrounding_text. + (Minput_get_surrounding_text, Minput_delete_surrounding_text): New + variables. + + * m17n.h (Minput_get_surrounding_text, Minput_delete_surrounding_text): + Extern them. + + * input.h (MInputContextInfo): New members preceding_text and + following_text. + 2005-11-04 Kenichi Handa * input.c (parse_nested_list_value): Fix handling of the global