make sure we take care about UTF-8/byte conversion when we move around the

2009-01-28  Cosimo Cecchi  <cosimoc@gnome.org>

	* eel-editable-label.c: (eel_editable_label_move_cursor):
	make sure we take care about UTF-8/byte conversion when we move
	around the cursor (#569165).

svn path=/trunk/; revision=14890
This commit is contained in:
Cosimo Cecchi 2009-01-28 01:41:07 +00:00 committed by Cosimo Cecchi
parent d2e76cc451
commit 7063d9c216
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2009-01-28 Cosimo Cecchi <cosimoc@gnome.org>
* eel-editable-label.c: (eel_editable_label_move_cursor):
make sure we take care about UTF-8/byte conversion when we move
around the cursor (#569165).
2009-01-22 A. Walton <awalton@gnome.org>
* eel-debug-drawing.c (eel_debug_show_pixbuf_in_external_viewer):

View file

@ -2897,11 +2897,11 @@ eel_editable_label_move_cursor (EelEditableLabel *label,
}
if (extend_selection)
eel_editable_label_select_region_index (label,
label->selection_anchor,
new_pos);
gtk_editable_select_region (GTK_EDITABLE (label),
label->selection_anchor,
new_pos);
else
eel_editable_label_select_region_index (label, new_pos, new_pos);
gtk_editable_set_position (GTK_EDITABLE (label), new_pos);
}
static void