ze
Loading...
Searching...
No Matches
hooks.h
Go to the documentation of this file.
1
8#pragma once
9
10#include "ze.h"
11#include <libguile.h>
12
14void preDirOpenHook(void);
16void postDirOpenHook(int num_files);
18void preFileOpenHook(void);
20void postFileOpenHook(void);
22void editorPreSaveHook(void);
24void editorPostSaveHook(void);
25
void editorPostSaveHook(void)
Invoke the Scheme postSaveHook with current buffer contents.
Definition hooks.c:133
void postDirOpenHook(int num_files)
Invoke the Scheme postDirOpenHook with the file count.
Definition hooks.c:46
void postFileOpenHook(void)
Invoke the Scheme postFileOpenHook with current buffer contents.
Definition hooks.c:89
void preDirOpenHook(void)
Invoke the Scheme preDirOpenHook with the directory path.
Definition hooks.c:25
void editorPreSaveHook(void)
Invoke the Scheme preSaveHook with current buffer contents.
Definition hooks.c:111
void preFileOpenHook(void)
Invoke the Scheme preFileOpenHook with the filename.
Definition hooks.c:66
Core editor types, macros, and global state.