]> Pileus Git - ~andy/gtk/commit
Handle chopping off \r\n and 0x2029 in addition to \n before passing to
authorHavoc Pennington <hp@redhat.com>
Mon, 11 Dec 2000 15:51:20 +0000 (15:51 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Mon, 11 Dec 2000 15:51:20 +0000 (15:51 +0000)
commit310a0d4fcca113f1dbc60feaba406f6b5526df43
treede25976d3423470edd30ab727c6e09f9f774e968
parent116853db94f841c81565ecd8cd94302143e3dda8
Handle chopping off \r\n and 0x2029 in addition to \n before passing to

2000-12-11  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextlayout.c (gtk_text_layout_get_line_display):
Handle chopping off \r\n and 0x2029 in addition to \n before
passing to PangoLayout

* gtk/gtkimcontextsimple.c
(gtk_im_context_simple_get_preedit_string):
return an empty string if no match is pending

* gtk/gtkimcontext.c (gtk_im_context_get_preedit_string): add
assertion that the returned preedit string was sane

* gtk/gtktext*.[hc], gtk/testtext.c, gtk/testtextbuffer.c:
s/gtk_text_iter_next_char/gtk_text_iter_forward_char/g;
s/gtk_text_iter_prev_char/gtk_text_iter_backward_char/g;
20 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkimcontext.c
gtk/gtkimcontextsimple.c
gtk/gtktextbtree.c
gtk/gtktextbuffer.c
gtk/gtktextchild.c
gtk/gtktextiter.c
gtk/gtktextiter.h
gtk/gtktextlayout.c
gtk/gtktextview.c
gtk/testtext.c
gtk/testtextbuffer.c
tests/testtext.c
tests/testtextbuffer.c