(3) Is there support for comments in the code replacement files?
No.
Kirk,
If duplicate codes are entered, it appears the last one takes precedence. Based on this, it looks like we could add comments by using a specific "code" as a prefix for all comment lines. Obviously, it must be a code not likely to be needed as an actual replacement code. Codes such as "Note:", "Comment:" or "NB." would seem to work well for this. I also tried this using more traditional comment characters, such as "#", ";" and "//" and they seems to work fine as well. (Which is good, because "//" is what I would use.)
Interestingly, it also appears that after the replacement text, a tab character and any following text is ignored. If this is by design, then even in-line comments could be used, as long as they were separated from the replacement text by at least one tab.
Do you see any problems with any of this?
Thanks,
Ian