vte r1494 - in trunk: . src



Author: cpwilson
Date: 2007-01-22 17:51:45 +0000 (Mon, 22 Jan 2007)
New Revision: 1494
ViewCVS link: http://svn.gnome.org/viewcvs/vte?rev=1494&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/vteaccess.c
Log:
2007-01-22  Chris Wilson <chris chris-wilson co uk>

	Bug 399137 â UTF-8 problem in VteAccess

	* src/vteaccess.c: (emit_text_changed_insert),
	(emit_text_changed_delete):
		use g_utf8_pointer_to_offset() instead of open coding
	(vte_terminal_accessible_update_private_data_if_needed):
		add the number of UTF-8 characters to the debug output.
	(vte_terminal_accessible_text_modified):
		iterate backwards over the UTF-8 string using
		g_utf8_prev_char() and convert the caret into a byte offset
		before it as such.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]