diff options
author | Havoc Pennington <hp@redhat.com> | 2000-10-24 22:44:14 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-10-24 22:44:14 +0000 |
commit | 2fab0eb1fa92964cca24d55e51203c5af5113c8e (patch) | |
tree | 6198960908bd87ef72de178dd3ad0452d825832a /gtk/gtktextiter.h | |
parent | 873b316f2346ad4cc928b798337d35f46a0ec716 (diff) | |
download | gtk+-2fab0eb1fa92964cca24d55e51203c5af5113c8e.tar.gz |
make it a static function
2000-10-24 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_scroll_to_mark_adjusted): make
it a static function
* gtk/gtktextbtree.c (gtk_text_btree_tag): Gee, maybe we should
redraw text when a tag is applied to it.
* gtk/gtktexttag.c (gtk_text_tag_affects_size)
(gtk_text_tag_affects_nonsize_appearance): private functions to
see if a tag requires various kinds of redraw/layout to be queued
up.
* gtk/gtktexttag.h (struct _GtkTextTag): Remove relief crackrock
* gtk/testtext.c (fill_example_buffer): Put the cursor
at the start of the buffer, so search works by default
* gtk/gtktextiter.c (lines_match): init match_start always
* gtk/gtktextbuffer.c (gtk_text_buffer_get_iter_at_line_index): New
function, get iter at a line + a byte index
* gtk/gtktextiter.c (gtk_text_iter_set_line_index): New function,
to set byte position within a line
(gtk_text_iter_check): remove leftover G_BREAKPOINT thing
Diffstat (limited to 'gtk/gtktextiter.h')
-rw-r--r-- | gtk/gtktextiter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktextiter.h b/gtk/gtktextiter.h index 8e6eeaecdd..9a49dfbfab 100644 --- a/gtk/gtktextiter.h +++ b/gtk/gtktextiter.h @@ -160,6 +160,8 @@ void gtk_text_iter_set_line (GtkTextIter *iter, gint line_number); void gtk_text_iter_set_line_offset (GtkTextIter *iter, gint char_on_line); +void gtk_text_iter_set_line_index (GtkTextIter *iter, + gint byte_on_line); void gtk_text_iter_forward_to_end (GtkTextIter *iter); gboolean gtk_text_iter_forward_to_newline (GtkTextIter *iter); |