27 #ifndef __GTK_TEXT_BTREE_H__
28 #define __GTK_TEXT_BTREE_H__
31 #define DEBUG_VALIDATION_AND_SCROLLING
34 #ifdef DEBUG_VALIDATION_AND_SCROLLING
96 gboolean cursors_only);
124 gint *real_line_number);
127 gint *real_line_number);
131 gint *line_start_index,
132 gint *real_char_index);
137 gboolean include_hidden,
138 gboolean include_nonchars);
159 const gchar *
string);
162 const gchar *mark_name);
189 gboolean left_gravity,
191 gboolean should_exist);
288 gint *seg_byte_offset,
289 gint *line_byte_offset);
294 gint *seg_char_offset,
295 gint *line_char_offset);
298 gint *line_char_offset,
299 gint *seg_char_offset);
302 gint *line_byte_offset,
303 gint *seg_byte_offset);
GtkImageIconNameData name
GtkImagePixbufData pixbuf
GtkTextLine * _gtk_text_btree_find_line_by_y(GtkTextBTree *tree, gpointer view_id, gint ypixel, gint *line_top_y)
gpointer _gtk_text_line_get_data(GtkTextLine *line, gpointer view_id)
GtkTextBuffer * _gtk_text_btree_get_buffer(GtkTextBTree *tree)
GtkTextLineData * _gtk_text_line_data_new(GtkTextLayout *layout, GtkTextLine *line)
void _gtk_text_btree_select_range(GtkTextBTree *tree, const GtkTextIter *ins, const GtkTextIter *bound)
gint _gtk_text_line_char_index(GtkTextLine *line)
GtkTextLineSegment * _gtk_text_line_char_to_any_segment(GtkTextLine *line, gint char_offset, gint *seg_offset)
void _gtk_text_btree_ref(GtkTextBTree *tree)
gboolean _gtk_text_btree_is_end(GtkTextBTree *tree, GtkTextLine *line, GtkTextLineSegment *seg, int byte_index, int char_offset)
GtkTextTag ** _gtk_text_btree_get_tags(const GtkTextIter *iter, gint *num_tags)
void _gtk_text_btree_tag(const GtkTextIter *start, const GtkTextIter *end, GtkTextTag *tag, gboolean apply)
gpointer _gtk_text_line_remove_data(GtkTextLine *line, gpointer view_id)
void _gtk_text_btree_get_iter_at_child_anchor(GtkTextBTree *tree, GtkTextIter *iter, GtkTextChildAnchor *anchor)
GtkTextLineSegment * _gtk_text_line_byte_to_segment(GtkTextLine *line, gint byte_offset, gint *seg_offset)
G_BEGIN_DECLS GtkTextBTree * _gtk_text_btree_new(GtkTextTagTable *table, GtkTextBuffer *buffer)
gboolean _gtk_text_btree_mark_is_insert(GtkTextBTree *tree, GtkTextMark *segment)
GtkTextLine * _gtk_text_line_next_could_contain_tag(GtkTextLine *line, GtkTextBTree *tree, GtkTextTag *tag)
GtkTextLine * _gtk_text_line_previous(GtkTextLine *line)
gchar * _gtk_text_btree_get_text(const GtkTextIter *start, const GtkTextIter *end, gboolean include_hidden, gboolean include_nonchars)
GtkTextMark * _gtk_text_btree_set_mark(GtkTextBTree *tree, GtkTextMark *existing_mark, const gchar *name, gboolean left_gravity, const GtkTextIter *index, gboolean should_exist)
void _gtk_text_btree_spew(GtkTextBTree *tree)
gboolean _gtk_text_view_debug_btree
void _gtk_text_btree_get_iter_at_char(GtkTextBTree *tree, GtkTextIter *iter, gint char_index)
void _gtk_text_line_char_to_byte_offsets(GtkTextLine *line, gint char_offset, gint *line_byte_offset, gint *seg_byte_offset)
void _gtk_text_btree_get_iter_at_line_char(GtkTextBTree *tree, GtkTextIter *iter, gint line_number, gint char_index)
gint _gtk_text_line_char_to_byte(GtkTextLine *line, gint char_offset)
gboolean _gtk_text_btree_get_iter_from_string(GtkTextBTree *tree, GtkTextIter *iter, const gchar *string)
gboolean _gtk_text_line_byte_locate(GtkTextLine *line, gint byte_offset, GtkTextLineSegment **segment, GtkTextLineSegment **any_segment, gint *seg_byte_offset, gint *line_byte_offset)
gboolean _gtk_text_line_byte_has_tag(GtkTextLine *line, GtkTextBTree *tree, gint byte_in_line, GtkTextTag *tag)
GtkTextMark * _gtk_text_btree_get_insert(GtkTextBTree *tree)
void _gtk_text_btree_remove_view(GtkTextBTree *tree, gpointer view_id)
void _gtk_text_btree_notify_will_remove_tag(GtkTextBTree *tree, GtkTextTag *tag)
void _gtk_text_line_byte_to_char_offsets(GtkTextLine *line, gint byte_offset, gint *line_char_offset, gint *seg_char_offset)
gboolean _gtk_text_btree_get_selection_bounds(GtkTextBTree *tree, GtkTextIter *start, GtkTextIter *end)
gboolean _gtk_text_line_char_locate(GtkTextLine *line, gint char_offset, GtkTextLineSegment **segment, GtkTextLineSegment **any_segment, gint *seg_char_offset, gint *line_char_offset)
GtkTextLine * _gtk_text_line_next_excluding_last(GtkTextLine *line)
GtkTextLine * _gtk_text_btree_get_line(GtkTextBTree *tree, gint line_number, gint *real_line_number)
guint _gtk_text_btree_get_segments_changed_stamp(GtkTextBTree *tree)
void _gtk_text_btree_remove_mark(GtkTextBTree *tree, GtkTextMark *segment)
void _gtk_text_btree_get_end_iter(GtkTextBTree *tree, GtkTextIter *iter)
GtkTextMark * _gtk_text_btree_get_selection_bound(GtkTextBTree *tree)
gint _gtk_text_btree_line_count(GtkTextBTree *tree)
gboolean _gtk_text_btree_char_is_invisible(const GtkTextIter *iter)
GtkTextLineSegment * _gtk_text_line_byte_to_any_segment(GtkTextLine *line, gint byte_offset, gint *seg_offset)
gint _gtk_text_line_byte_to_char(GtkTextLine *line, gint byte_offset)
void _gtk_text_btree_unref(GtkTextBTree *tree)
gboolean _gtk_text_btree_get_iter_at_mark_name(GtkTextBTree *tree, GtkTextIter *iter, const gchar *mark_name)
gboolean _gtk_text_btree_mark_is_selection_bound(GtkTextBTree *tree, GtkTextMark *segment)
void _gtk_text_btree_segments_changed(GtkTextBTree *tree)
void _gtk_text_btree_get_iter_at_mark(GtkTextBTree *tree, GtkTextIter *iter, GtkTextMark *mark)
GtkTextLine * _gtk_text_btree_get_line_no_last(GtkTextBTree *tree, gint line_number, gint *real_line_number)
void _gtk_text_btree_insert_pixbuf(GtkTextIter *iter, GdkPixbuf *pixbuf)
void _gtk_text_btree_unregister_child_anchor(GtkTextChildAnchor *anchor)
void _gtk_text_btree_add_view(GtkTextBTree *tree, GtkTextLayout *layout)
gboolean _gtk_text_btree_get_iter_at_first_toggle(GtkTextBTree *tree, GtkTextIter *iter, GtkTextTag *tag)
void _gtk_text_btree_get_view_size(GtkTextBTree *tree, gpointer view_id, gint *width, gint *height)
gboolean _gtk_text_line_char_has_tag(GtkTextLine *line, GtkTextBTree *tree, gint char_in_line, GtkTextTag *tag)
gint _gtk_text_line_char_count(GtkTextLine *line)
gint _gtk_text_line_get_number(GtkTextLine *line)
GtkTextLine * _gtk_text_btree_get_line_at_char(GtkTextBTree *tree, gint char_index, gint *line_start_index, gint *real_char_index)
gboolean _gtk_text_line_is_last(GtkTextLine *line, GtkTextBTree *tree)
GtkTextLineSegment * _gtk_text_line_char_to_segment(GtkTextLine *line, gint char_offset, gint *seg_offset)
void _gtk_text_line_invalidate_wrap(GtkTextLine *line, GtkTextLineData *ld)
gint _gtk_text_btree_char_count(GtkTextBTree *tree)
GtkTextMark * _gtk_text_btree_get_mark_by_name(GtkTextBTree *tree, const gchar *name)
gboolean _gtk_text_btree_validate(GtkTextBTree *tree, gpointer view_id, gint max_pixels, gint *y, gint *old_height, gint *new_height)
void _gtk_toggle_segment_check_func(GtkTextLineSegment *segPtr, GtkTextLine *line)
gboolean _gtk_text_line_contains_end_iter(GtkTextLine *line, GtkTextBTree *tree)
gint _gtk_text_line_byte_count(GtkTextLine *line)
GtkTextLine * _gtk_text_line_previous_could_contain_tag(GtkTextLine *line, GtkTextBTree *tree, GtkTextTag *tag)
void _gtk_text_btree_delete(GtkTextIter *start, GtkTextIter *end)
void _gtk_text_btree_place_cursor(GtkTextBTree *tree, const GtkTextIter *where)
GtkTextLine * _gtk_text_btree_get_end_iter_line(GtkTextBTree *tree)
void _gtk_text_btree_invalidate_region(GtkTextBTree *tree, const GtkTextIter *start, const GtkTextIter *end, gboolean cursors_only)
void _gtk_text_btree_remove_mark_by_name(GtkTextBTree *tree, const gchar *name)
void _gtk_text_btree_insert_child_anchor(GtkTextIter *iter, GtkTextChildAnchor *anchor)
GtkTextLine * _gtk_text_btree_first_could_contain_tag(GtkTextBTree *tree, GtkTextTag *tag)
void _gtk_text_btree_release_mark_segment(GtkTextBTree *tree, GtkTextLineSegment *segment)
void _gtk_text_btree_validate_line(GtkTextBTree *tree, GtkTextLine *line, gpointer view_id)
gboolean _gtk_text_btree_is_valid(GtkTextBTree *tree, gpointer view_id)
gboolean _gtk_text_btree_get_iter_at_last_toggle(GtkTextBTree *tree, GtkTextIter *iter, GtkTextTag *tag)
void _gtk_text_btree_get_iter_at_line_byte(GtkTextBTree *tree, GtkTextIter *iter, gint line_number, gint byte_index)
GtkTextLine * _gtk_text_btree_last_could_contain_tag(GtkTextBTree *tree, GtkTextTag *tag)
GtkTextLine * _gtk_text_line_next(GtkTextLine *line)
gint _gtk_text_btree_find_line_top(GtkTextBTree *tree, GtkTextLine *line, gpointer view_id)
void _gtk_text_btree_check(GtkTextBTree *tree)
void _gtk_text_btree_get_iter_at_line(GtkTextBTree *tree, GtkTextIter *iter, GtkTextLine *line, gint byte_offset)
guint _gtk_text_btree_get_chars_changed_stamp(GtkTextBTree *tree)
void _gtk_text_btree_insert(GtkTextIter *iter, const gchar *text, gint len)
void _gtk_text_line_add_data(GtkTextLine *line, GtkTextLineData *data)
void _gtk_change_node_toggle_count(GtkTextBTreeNode *node, GtkTextTagInfo *info, gint delta)
struct _GtkTextBTree GtkTextBTree
typedefG_BEGIN_DECLS struct _GtkTextChildAnchor GtkTextChildAnchor
typedefG_BEGIN_DECLS struct _GtkTextLine GtkTextLine
typedefG_BEGIN_DECLS struct _GtkTextMark GtkTextMark
typedefG_BEGIN_DECLS struct _GtkTextTagInfo GtkTextTagInfo
typedefG_BEGIN_DECLS struct _GtkTextIter GtkTextIter
struct _GtkTextBTreeNode GtkTextBTreeNode
PBD::PropertyDescriptor< timepos_t > start
guchar dir_propagated_back
guchar dir_propagated_forward
GtkTextBTreeNode * parent
GtkTextLineSegment * segments