GtkSourceCompletion 2.0 Reference Manual | ||||
---|---|---|---|---|
Top | Description |
void gsc_utils_get_iter_at_insert (GtkTextView *view, GtkTextIter *iter); gchar * gsc_utils_clear_word (const gchar *word); gboolean gsc_utils_is_separator (gunichar ch); gchar * gsc_utils_get_word_iter (GtkTextBuffer *text_buffer, GtkTextIter *current, GtkTextIter *start_word, GtkTextIter *end_word); gchar * gsc_utils_get_word (GtkTextBuffer *text_view); void gsc_utils_replace_word (GtkTextBuffer *text_buffer, GtkTextIter *iter, const gchar *text, gint len); void gsc_utils_replace_current_word (GtkTextBuffer *text_buffer, const gchar *text, gint len); void gsc_utils_move_to_iter (GtkWindow *window, GtkTextView *view, GtkTextIter *iter); void gsc_utils_move_to_cursor (GtkWindow *window, GtkTextView *view);
void gsc_utils_get_iter_at_insert (GtkTextView *view, GtkTextIter *iter);
|
|
|
gchar * gsc_utils_get_word_iter (GtkTextBuffer *text_buffer, GtkTextIter *current, GtkTextIter *start_word, GtkTextIter *end_word);
text_buffer
: The GtkTextBuffer
start_word
: if != NULL then assign it the start position of the word
end_word
: if != NULL then assing it the end position of the word
|
|
|
|
|
|
|
|
Returns : |
the current word |
gchar * gsc_utils_get_word (GtkTextBuffer *text_view);
|
|
Returns : |
the current word |
void gsc_utils_replace_word (GtkTextBuffer *text_buffer, GtkTextIter *iter, const gchar *text, gint len);
|
|
|
|
|
|
|
void gsc_utils_replace_current_word (GtkTextBuffer *text_buffer, const gchar *text, gint len);
|
|
|
|
|
void gsc_utils_move_to_iter (GtkWindow *window, GtkTextView *view, GtkTextIter *iter);
|
the GtkWindow to move |
|
the view |
|
the iter to move window to
|
void gsc_utils_move_to_cursor (GtkWindow *window, GtkTextView *view);
|
|
|