Bug 530575 – GtkEntry with invisible chars has a confused cursor in
2008-10-02 Matthias Clasen <mclasen@redhat.com> Bug 530575 – GtkEntry with invisible chars has a confused cursor in overwrite mode * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text in the layout when positioning the cursor, not the actual text content of the entry. This makes a different when using overwrite mode in an invisible entry. Problem noticed by Jonathan Blandford * gtk/gtktextutil.c: Fix a typo in a comment svn path=/trunk/; revision=21580
This commit is contained in:

committed by
Matthias Clasen

parent
ae2bf7863c
commit
3a4fea3307
@ -406,7 +406,7 @@ layout_get_char_width (PangoLayout *layout)
|
||||
* @layout: a #PangoLayout
|
||||
* @index: index at which cursor is located
|
||||
* @pos: cursor location
|
||||
* @at_line_end: whether cursor i sdrawn at line end, not over some
|
||||
* @at_line_end: whether cursor is drawn at line end, not over some
|
||||
* character
|
||||
*
|
||||
* Returns: whether cursor should actually be drawn as a rectangle.
|
||||
|
Reference in New Issue
Block a user