aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2009-07-13 16:33:06 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2009-07-13 16:33:06 -0400
commit95a7662f208271ca305844266ff74062d50dff5b (patch)
tree390a7524d3608760ca47b9d42bad5710e6f6c892 /src
parentce026c2b52f0461b02b2af4d89fbcce3c8994848 (diff)
Added incremental find.
Diffstat (limited to 'src')
-rw-r--r--src/textadept.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/textadept.c b/src/textadept.c
index 6492e858..88dcca7b 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -58,7 +58,6 @@ GtkWidget *find_create_ui();
GtkListStore *find_store, *repl_store;
static void find_button_clicked(GtkWidget *, gpointer);
-static gbool find_entry_keypress(GtkWidget *, GdkEventKey *, gpointer);
// Command Entry
GtkWidget *command_entry;
@@ -811,7 +810,6 @@ GtkWidget *find_create_ui() {
attach(lua_opt, 5, 6, 0, 1, ao_normal, ao_normal, 5, 0);
attach(in_files_opt, 5, 6, 1, 2, ao_normal, ao_normal, 5, 0);
- signal(find_entry, "key-press-event", find_entry_keypress);
signal(fnext_button, "clicked", find_button_clicked);
signal(fprev_button, "clicked", find_button_clicked);
signal(r_button, "clicked", find_button_clicked);
@@ -891,14 +889,6 @@ static void find_button_clicked(GtkWidget *button, gpointer udata) {
}
}
-/**
- * Signal for a Find entry keypress.
- */
-static gbool find_entry_keypress(GtkWidget *entry, GdkEventKey *event,
- gpointer udata) {
- return l_handle_event("find_keypress", LUA_TNUMBER, event->keyval, -1);
-}
-
// Command Entry
/**
@@ -965,7 +955,6 @@ static gbool cec_match_selected(GtkEntryCompletion *entry, GtkTreeModel *model,
static void c_activated(GtkWidget *entry, gpointer udata) {
l_handle_event("command_entry_command", LUA_TSTRING,
gtk_entry_get_text(GTK_ENTRY(entry)), -1);
- ce_toggle_focus();
}
/**