|
ze
|

Files | |
| file | hooks.c |
| Scheme hook invocation implementations. | |
Functions | |
| void | preDirOpenHook (void) |
Invoke the Scheme preDirOpenHook with the directory path. | |
| void | postDirOpenHook (int num_files) |
Invoke the Scheme postDirOpenHook with the file count. | |
| void | preFileOpenHook (void) |
Invoke the Scheme preFileOpenHook with the filename. | |
| void | postFileOpenHook (void) |
Invoke the Scheme postFileOpenHook with current buffer contents. | |
| void | editorPreSaveHook (void) |
Invoke the Scheme preSaveHook with current buffer contents. | |
| void | editorPostSaveHook (void) |
Invoke the Scheme postSaveHook with current buffer contents. | |
| void editorPostSaveHook | ( | void | ) |
Invoke the Scheme postSaveHook with current buffer contents.
Called after saving the current buffer to disk.
Serializes the buffer and passes it to postSaveHook, displaying the returned message.
| void editorPreSaveHook | ( | void | ) |
Invoke the Scheme preSaveHook with current buffer contents.
Called before saving the current buffer to disk.
Serializes the buffer and passes it to preSaveHook, displaying the returned message.
| void postDirOpenHook | ( | int | num_files | ) |
Invoke the Scheme postDirOpenHook with the file count.
Called after reading a directory listing; provides file count.
Calls postDirOpenHook with the number of directory entries scanned and displays its returned message.
| [in] | num_files | Number of entries returned by scandir(). Must be >= 0. |
| void postFileOpenHook | ( | void | ) |
Invoke the Scheme postFileOpenHook with current buffer contents.
Called after a file has been read into the buffer.
Serializes the buffer with editorRowsToString() and passes it to postFileOpenHook. The returned Scheme string is shown in the status bar.
Ownership: the temporary buffer from editorRowsToString() is freed in Guile after conversion; no NUL terminator is guaranteed—length is respected.
| void preDirOpenHook | ( | void | ) |
Invoke the Scheme preDirOpenHook with the directory path.
Called before reading a directory listing into the buffer.
Calls the Guile function preDirOpenHook with E.filename as a Scheme string and displays its returned message in the status bar.
| void preFileOpenHook | ( | void | ) |
Invoke the Scheme preFileOpenHook with the filename.
Called before opening a regular file.
Calls preFileOpenHook with E.filename and displays the returned message.