diff options
author | 2009-07-08 19:14:33 -0400 | |
---|---|---|
committer | 2009-07-08 19:14:33 -0400 | |
commit | 9827462bc8ac4ecc6009f2285c2397bf6ff64777 (patch) | |
tree | cc2d9b16d23a904d1107b111bf19f39ced993db1 /src/textadept.h | |
parent | bfef6fc70792fe002df7f8c0bfc82749fcd08152 (diff) | |
download | textadept-9827462bc8ac4ecc6009f2285c2397bf6ff64777.tar.gz textadept-9827462bc8ac4ecc6009f2285c2397bf6ff64777.zip |
Extended the event system to include project manager, find, command entry, etc.
Diffstat (limited to 'src/textadept.h')
-rw-r--r-- | src/textadept.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/src/textadept.h b/src/textadept.h index 666c361d..73064fdf 100644 --- a/src/textadept.h +++ b/src/textadept.h @@ -3,6 +3,7 @@ #ifndef TEXTADEPT_H #define TEXTADEPT_H +#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -62,23 +63,11 @@ void l_remove_scintilla_buffer(sptr_t doc); void l_goto_scintilla_buffer(GtkWidget *editor, int n, bool absolute); void l_set_buffer_global(ScintillaObject *sci); -void l_handle_error(const char *errmsg); -bool l_handle_event(const char *e, const char *arg=NULL); -bool l_handle_keypress(int keyval, bool shift, bool control, bool alt); +bool l_handle_event(const char *e, ...); void l_handle_scnnotification(SCNotification *n); void l_ta_popup_context_menu(GdkEventButton *event); -void l_pm_view_fill(GtkTreeStore *store, GtkTreeIter *initial_iter); -void l_pm_perform_action(GtkTreeStore *store, GtkTreePath *path); -void l_pm_popup_context_menu(GtkTreeStore *store, GtkTreePath *path, - GdkEventButton *event, GCallback callback); -void l_pm_perform_menu_action(GtkTreeStore *store, GtkTreePath *path, int id); - -void l_find(const char *ftext, bool next); -void l_find_replace(const char *rtext); -void l_find_replace_all(const char *ftext, const char *rtext); - -void l_ce_command(const char *command); -void l_cec_fill(GtkListStore *store); +int l_pm_pathtableref(GtkTreeStore *store, GtkTreePath *path); +void l_pm_popup_context_menu(GdkEventButton *event); #endif |