summaryrefslogtreecommitdiff
path: root/gtk/gtktextiterprivate.h
blob: b0c38662d5cabd8fbf924270bc142a7fd1951cfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef GTK_TEXT_ITER_PRIVATE_H
#define GTK_TEXT_ITER_PRIVATE_H

#include <gtk/gtktextiter.h>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include <gtk/gtktextiter.h>
#include <gtk/gtktextbtree.h>

GtkTextLineSegment *_gtk_text_iter_get_indexable_segment      (const GtkTextIter *iter);
GtkTextLineSegment *_gtk_text_iter_get_any_segment            (const GtkTextIter *iter);
GtkTextLine *       _gtk_text_iter_get_text_line              (const GtkTextIter *iter);
GtkTextBTree *      _gtk_text_iter_get_btree                  (const GtkTextIter *iter);
gboolean            _gtk_text_iter_forward_indexable_segment  (GtkTextIter       *iter);
gboolean            _gtk_text_iter_backward_indexable_segment (GtkTextIter       *iter);
gint                _gtk_text_iter_get_segment_byte           (const GtkTextIter *iter);
gint                _gtk_text_iter_get_segment_char           (const GtkTextIter *iter);


/* debug */
void _gtk_text_iter_check (const GtkTextIter *iter);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif