diff options
Diffstat (limited to 'src/textadept.c')
-rw-r--r-- | src/textadept.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/textadept.c b/src/textadept.c index 13b54274..cef20859 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -426,10 +426,11 @@ void set_statusbar_text(const char *text, bool docbar) { * @see s_command */ static void switch_to_view(GtkWidget *editor) { + l_handle_event("view_before_switch"); focused_editor = editor; l_set_view_global(editor); l_set_buffer_global(SCINTILLA(editor)); - l_handle_event("view_switch"); + l_handle_event("view_after_switch"); } /** |