Author: mbarnes
Date: 2007-09-14 14:53:58 +0100 (Fri, 14 Sep 2007)
New Revision: 8567
ViewCVS link: http://svn.gnome.org/viewcvs/gtkhtml?rev=8567&view=rev

Modified:
   trunk/src/ChangeLog
   trunk/src/gtkhtml.c
   trunk/src/htmlcursor.c
   trunk/src/htmlcursor.h
   trunk/src/htmlobject.c
   trunk/src/htmlobject.h
Log:
2007-09-14  Akira TAGOH  <[EMAIL PROTECTED]>

        ** Fixes bug #443850

        * src/gtkhtml.c (gtk_html_im_commit_cb): Move the cursor within only
        the preedit string regardless of what PangoLogAttr decides.
        (gtk_html_im_preedit_changed_cb): likewise.
        (gtk_html_im_delete_surrounding_cb): likewise.

        * src/htmlobject.c (html_object_class_init): Add new methods,
        cursor_forward_one and cursor_backward_one that is supposed to exactly
        move the cursor by one character.
        (html_object_cursor_forward_one): New function.
        (html_object_cursor_backward_one): New function.

        * src/htmlcursor.c (forward): Add an argument to change the behavior of
        forward a cursor according to it.
        (html_cursor_forward_one): New function to move forward exactly by one
        character.
        (backward): Add an argument to change the behavior of backward
        a cursor according to it.
        (html_cursor_backward_one): New function to move backward exactly by
        one character.
        (html_cursor_exactly_jump_to): New function that doesn't adjust
        the cursor position against PangoLogAttr. this function will be useful
        when the cursor position exactly has to be moved with the given offset.
        (html_cursor_exactly_jump_to_position): New function that doesn't
        adjust the cursor position against PangoLogAttr. this function will be
        useful when the cursor position exactly has to be moved to the given
        position.
        (html_cursor_exactly_jump_to_position_no_spell): likewise the above but
        without spellcheck.



_______________________________________________
SVN-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Reply via email to