This is an old revision of the document!


Lua Scripts

Cleanup MRU List

Detects files in the MRU listings which do not exist anymore by scanning the Geany configuration. Note you may not run it when Geany is running.

Author: Guenther Brunthaler

geany_cleanup_mru_list.lua

Geany Mktags

Solves the problem that “geany -g” can only create tag files for one language at a time, but there may be multiple source code languages present in a project. This script runs “geany -g” with the correct parameters to generate tag files for all supported languages for the source files encountered in the current directory tree.

Author: Guenther Brunthaler

geany_mktags.lua

Compare files

Compares the current file to any open file using an external tool (Meld, Kompare, KDiff, etc, falling back to plain diff). If the current file is unsaved, then a snapshot is saved to a temporary file, so it is possible to compare unsaved changes to other files (or even compare to the saved version of the file).

Author: Carl Antuar

compare.lua

Hex edit

Allows hex editing of binary files. This creates a 'shadow' file containing the hexadecimal representation of the file, and synchronises with the original when the shadow is saved.

hexedit.lua events/saved.lua

Print/export