summaryrefslogtreecommitdiff
path: root/gtk/gtktextiterprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktextiterprivate.h')
-rw-r--r--gtk/gtktextiterprivate.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/gtk/gtktextiterprivate.h b/gtk/gtktextiterprivate.h
new file mode 100644
index 0000000000..4a83c643a6
--- /dev/null
+++ b/gtk/gtktextiterprivate.h
@@ -0,0 +1,32 @@
+#ifndef GTK_TEXT_ITER_PRIVATE_H
+#define GTK_TEXT_ITER_PRIVATE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+#include <gtk/gtktextiter.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_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
+
+