Commit 126efafc authored by Committed by Owen TaylorBrowse files
Don't paint in the trailing end of a wrapped line when the selection
Tue Nov 30 16:25:29 2004 Owen Taylor <email@example.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.
Showing with 52 additions and 3 deletions