diff options
Diffstat (limited to 'src/textadept.h')
-rw-r--r-- | src/textadept.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/textadept.h b/src/textadept.h index 581be76f..4397b5f2 100644 --- a/src/textadept.h +++ b/src/textadept.h @@ -79,8 +79,7 @@ void l_goto_scintilla_buffer(GtkWidget *editor, int n, bool absolute); void l_set_buffer_global(ScintillaObject *sci); void l_handle_error(lua_State *lua, const char *errmsg); -bool l_handle_event(const char *e); -bool l_handle_event(const char *e, const char *arg); +bool l_handle_event(const char *e, const char *arg=NULL); bool l_handle_keypress(int keyval, bool shift, bool control, bool alt); void l_handle_scnnotification(SCNotification *n); void l_ta_command(const char *command); |