findreplace.c File Reference

#include <gtk/gtk.h>
#include <string.h>

Go to the source code of this file.

Functions

void replace (GtkTextView *text_view, const gchar *text, const gchar *text1, GtkTextIter *iter)
 Replaces the text with text1 in textbuffer.
void replace_button_clicked (GtkWidget *replace_button)
 Event handler when replace button is clicked.
void text_find_replace (void)
 Opens a window to enter text to find and text to be replaced.

Variables

GtkWidget * replace_entry
GtkWidget * search_entry
 Search and replace variables.
GtkWidget * text_view
GtkWidget * view
 These give us text view widgets where all the typing is done.


Function Documentation

void replace ( GtkTextView *  text_view,
const gchar *  text,
const gchar *  text1,
GtkTextIter *  iter 
)

Replaces the text with text1 in textbuffer.

Definition at line 12 of file findreplace.c.

Referenced by replace_button_clicked().

void replace_button_clicked ( GtkWidget *  replace_button  ) 

Event handler when replace button is clicked.

Definition at line 33 of file findreplace.c.

References replace(), replace_entry, search_entry, and text_view.

Referenced by text_find_replace().

void text_find_replace ( void   ) 

Opens a window to enter text to find and text to be replaced.

Definition at line 47 of file findreplace.c.

References replace_button_clicked(), replace_entry, search_button_clicked(), search_entry, text_view, and view.

Referenced by search_replace().


Variable Documentation

GtkWidget * replace_entry

Definition at line 7 of file findreplace.c.

Referenced by replace_button_clicked(), and text_find_replace().

GtkWidget* search_entry

Search and replace variables.

Definition at line 7 of file findreplace.c.

GtkWidget* text_view

Definition at line 5 of file findreplace.c.

GtkWidget* view

These give us text view widgets where all the typing is done.

Definition at line 40 of file fileselect.c.

Referenced by file_new(), file_open(), getLine(), main(), text_find_replace(), and textfind().


Generated on Wed Apr 7 17:12:30 2010 for C_Editor by  doxygen 1.5.8