Table of Contents
0000a51e:0006 - OOP command renaming [DRAFT]
|… What about syntax highlighting?
|Number of commands to rename.
|array[2*count] of pstring
A list of key-value pairs is provided; a command using the given key is renamed to the given value.
- Renaming commands which precede the extension SHOULD work correctly. This is required to support WeaveZZT 2.0-style “renaming of added commands”.
- Renaming commands which succeed the extension is undefined behaviour.
- Renaming commands which do not exist SHOULD produce a loading error.
- The extension MAY be used multiple times. In particular, the extension MAY be used as a conflict resolution measure: given two competing implementations of the same new command, the extension MAY be used to rename one of them before adding the second new command. (However, implementations which do not support this may produce a loading error.)
zxt/extension/0000a51e/0006.txt · Last modified: 2021/12/27 08:45 by asie