mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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:
parent
5109ff0262
commit
ccfab158ec
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -5684,7 +5684,7 @@ _gtk_draw_insertion_cursor (GtkWidget *widget,
|
||||
for (i = 0; i < stem_width; i++)
|
||||
gdk_draw_line (drawable, gc,
|
||||
location->x + i - stem_width / 2, location->y,
|
||||
location->x + i - stem_width / 2, location->y + location->height);
|
||||
location->x + i - stem_width / 2, location->y + location->height - 1);
|
||||
|
||||
if (dir == GTK_TEXT_DIR_RTL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user