#include <gtk/gtk.h>#include <stdio.h>#include <errno.h>#include <stdlib.h>#include <string.h>Go to the source code of this file.
Functions | |
| void | find (GtkTextView *text_view, const gchar *text, GtkTextIter *iter) |
| Finds the text in the textbuffer. | |
| void | next_button_clicked (GtkWidget *next_button) |
| Event handler when "next" button is clicked. | |
| 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 | search_button_clicked (GtkWidget *search_button) |
| Event handler when "search" button is clicked. | |
| void | show_about (void) |
| This tells about the editor. | |
| void | show_help (void) |
| Explains the functions available. | |
| void | text_find_replace (void) |
| Opens a window to enter text to find and text to be replaced. | |
| void | textfind (void) |
| Displays a window to enter search text. | |
| void | win_destroy (void) |
| Destroy the window. | |
Variables | |
| GtkWidget * | replace_entry |
| replace variables | |
| GtkWidget * | search_entry |
| Search entry variable. | |
| GtkWidget * | text_view |
| GtkWidget * | view |
| These give us text view widgets where all the typing is done. | |
| void find | ( | GtkTextView * | text_view, | |
| const gchar * | text, | |||
| GtkTextIter * | iter | |||
| ) |
Finds the text in the textbuffer.
Definition at line 19 of file search.c.
Referenced by next_button_clicked(), and search_button_clicked().
| void next_button_clicked | ( | GtkWidget * | next_button | ) |
Event handler when "next" button is clicked.
Definition at line 45 of file search.c.
References find(), search_entry, text_view, and window1.
Referenced by textfind().
| void replace | ( | GtkTextView * | text_view, | |
| const gchar * | text, | |||
| const gchar * | text1, | |||
| GtkTextIter * | iter | |||
| ) |
Replaces the text with text1 in textbuffer.
Definition at line 139 of file search.c.
Referenced by replace_button_clicked().
| void replace_button_clicked | ( | GtkWidget * | replace_button | ) |
Event handler when replace button is clicked.
Definition at line 160 of file search.c.
References replace(), replace_entry, search_entry, and text_view.
Referenced by text_find_replace().
| void search_button_clicked | ( | GtkWidget * | search_button | ) |
Event handler when "search" button is clicked.
Definition at line 83 of file search.c.
References find(), search_entry, and text_view.
Referenced by text_find_replace(), and textfind().
| void show_about | ( | void | ) |
This tells about the editor.
Definition at line 219 of file search.c.
References window1.
Referenced by help_about().
| void show_help | ( | void | ) |
Explains the functions available.
Definition at line 245 of file search.c.
References window1.
Referenced by help_contents().
| void text_find_replace | ( | void | ) |
Opens a window to enter text to find and text to be replaced.
Definition at line 174 of file search.c.
References replace_button_clicked(), replace_entry, search_button_clicked(), search_entry, text_view, and view.
Referenced by search_replace().
| void textfind | ( | void | ) |
Displays a window to enter search text.
Definition at line 98 of file search.c.
References next_button_clicked(), search_button_clicked(), search_entry, text_view, and view.
Referenced by search_find().
| GtkWidget* replace_entry |
replace variables
Definition at line 14 of file search.c.
Referenced by replace_button_clicked(), and text_find_replace().
| GtkWidget* search_entry |
Search entry variable.
Definition at line 11 of file search.c.
Referenced by next_button_clicked(), replace_button_clicked(), search_button_clicked(), text_find_replace(), and textfind().
| GtkWidget* text_view |
Definition at line 9 of file search.c.
Referenced by next_button_clicked(), replace_button_clicked(), search_button_clicked(), text_find_replace(), and textfind().
| 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().
1.5.8