diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-11-30 21:33:36 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-11-30 21:33:36 +0000 |
commit | 126efafc406d5945663b5bd86c7833796e12e349 (patch) | |
tree | 0279486a55ab6814906f6dd602d251565b50bcc9 /gtk/gtktreesortable.c | |
parent | 1b45c64014d37e89fcaa2600cbda266f4d8cb5ca (diff) | |
download | gtk+-126efafc406d5945663b5bd86c7833796e12e349.tar.gz |
Don't paint in the trailing end of a wrapped line when the selection
Tue Nov 30 16:25:29 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextdisplay.c (render_para): Don't paint in the
trailing end of a wrapped line when the selection
starts after the line. (#159984, Matthias Clasen)
* gtk/gtktextdisplay.c (gtk_text_layout_draw): pass in byte_count + 1
for selection_end index when the selection end is past the end of the
line so that render_para() can distinguish it from selection-end
*at* the end of the line. Fixes newlines not being selected.
Diffstat (limited to 'gtk/gtktreesortable.c')
0 files changed, 0 insertions, 0 deletions