| Top |  |  |  |  | 
| GType | gtr_view_register_type () | 
| GtkWidget * | gtr_view_new () | 
| gboolean | gtr_view_get_selected_text () | 
| void | gtr_view_enable_spellcheck () | 
| void | gtr_view_enable_visible_whitespace () | 
| void | gtr_view_cut_clipboard () | 
| void | gtr_view_copy_clipboard () | 
| void | gtr_view_paste_clipboard () | 
| void | gtr_view_set_search_text () | 
| gchar * | gtr_view_get_search_text () | 
| gboolean | gtr_view_get_can_search_again () | 
| gboolean | gtr_view_search_forward () | 
| gboolean | gtr_view_search_backward () | 
| gint | gtr_view_replace_all () | 
| void | gtr_view_reload_scheme_color () | 
| void | gtr_view_set_language () | 
GtkWidget *
gtr_view_new (void);
Creates a new GtrView. An empty default buffer will be created for you.
gboolean gtr_view_get_selected_text (GtrView *view,gchar **selected_text,gint *len);
Gets the selected text region of the GtrView
void gtr_view_enable_spellcheck (GtrView *view,gboolean enable);
Enables the spellcheck
void gtr_view_enable_visible_whitespace (GtrView *view,gboolean enable);
Enables special chars for white spaces including \n and \t
void
gtr_view_cut_clipboard (GtrView *view);
Copies the currently-selected text to a clipboard, then deletes said text if it's editable.
void
gtr_view_copy_clipboard (GtrView *view);
Copies the currently-selected text to a clipboard.
void
gtr_view_paste_clipboard (GtrView *view);
Pastes the contents of a clipboard at the insertion point, or at override_location.
void gtr_view_set_search_text (GtrView *view,const gchar *text,guint flags);
Stores the text to search for in the view
 with some specific flags
.
gchar * gtr_view_get_search_text (GtrView *view,guint *flags);
Returns the text to search for it and the GtrSearchFlags of that text.
gboolean gtr_view_search_forward (GtrView *view,const GtkTextIter *start,const GtkTextIter *end,GtkTextIter *match_start,GtkTextIter *match_end);
Searches forward for str. Any match is returned by setting match_start to the first character of the match and match_end to the first character after the match. The search will not continue past limit. Note that a search is a linear or O(n) operation, so you may wish to use limit to avoid locking up your UI on large buffers.
gboolean gtr_view_search_backward (GtrView *view,const GtkTextIter *start,const GtkTextIter *end,GtkTextIter *match_start,GtkTextIter *match_end);
Searches backward for str. Any match is returned by setting match_start to the first character of the match and match_end to the first character after the match. The search will not continue past limit. Note that a search is a linear or O(n) operation, so you may wish to use limit to avoid locking up your UI on large buffers.
gint gtr_view_replace_all (GtrView *view,const gchar *find,const gchar *replace,guint flags);
Replaces all matches of find
 with replace
 and returns the number of 
replacements.
void
gtr_view_reload_scheme_color (GtrView *view);
Reloads the gtksourceview scheme color. Neccessary when the scheme color changes.