>
> It seems both are there :)
True, what threw me is the error message:
TypeError: this.formatter.formatters[t - 1] is undefined
That message is still showing
>
> ====
> probably your object.element names are wrong.
>
> should be:
> name:
> match:
> termRegExp:
> lookaheadRegExp:
I checked that, the parameters were wrong but modified later in the
script. Nonetheless I modified everything to those parameters from the
start which did not solve my problem.
>
> ======
> I do have a question:
> Why don't you use a macro for this functions. It could be one macro
> with some parameters that does the whole thing.
True, I ended up doing it this way because I had in mind to do some
templates and I thought this would be a better idea. In the end the
macro can do it all. However, I would not have been way too easy.