Re: finding the beginning of the current line in a text buffer



On 2003.06.17 05:13, Rajarshi Guha wrote:
I should have rephrased that question - how do I get the iterator for
the current cursor position. I see that there is a function that returns
the 'insert' mark. But that returns a GtkTextMark - how can I go from a
text mark to an iterator?

You can use gtk_text_buffer_get_iter_at_mark().

kz.



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