Re: gtktextbtree.h public?

Mark <jamess1 wwnet com> writes:
>   I've started writing my zooming text view. After copying the
> GtkTextView class, the next obvious step was to replace the
> gtk_text_layout_draw function. Here I have encountered the use of these
> private functions:
> _gtk_text_line_byte_count
> _gtk_text_btree_get_iter_at_line

If we make get_iter_at_line available, probably as
gtk_text_layout_get_iter_at_line(), you can use
gtk_text_iter_get_bytes_in_line() for the byte count. So probably
that's the right solution. I'll do this soon.


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