Re: TextView and position of the text cursor
- From: Armin Burgmeier <armin arbur net>
- To: Olivier- <olivier_martin laposte net>
- Cc: gtkmm-list gnome org
- Subject: Re: TextView and position of the text cursor
- Date: Fri, 14 Apr 2006 21:13:10 +0200
get_line_index() : get the number of character before the cursor in the
current line
Just to clarify: get_line_offset() returns the number of characters.
get_line_index() returns the number of bytes in the line. They may
differ when the line contains non-ASCII characters.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]