subtract 1 from line endpoint, to avoid cursor dirt in the text widget.

2002-02-22  Havoc Pennington  <hp@redhat.com>

	* gtk/gtkstyle.c (_gtk_draw_insertion_cursor): subtract 1 from
	line endpoint, to avoid cursor dirt in the text widget.
	zero-width lines appear to draw the endpoint always. #67999
This commit is contained in:
Havoc Pennington
2002-02-22 17:16:59 +00:00
committed by Havoc Pennington
parent 5109ff0262
commit ccfab158ec
8 changed files with 43 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-02-22 Havoc Pennington <hp@redhat.com>
* gtk/gtkstyle.c (_gtk_draw_insertion_cursor): subtract 1 from
line endpoint, to avoid cursor dirt in the text widget.
zero-width lines appear to draw the endpoint always. #67999
2002-02-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (buffer_to_widget): implement more cleanly by