TL;DR: "endlocal" and "text" are both valid commands but only 1 is listed in the documentation list of valid commands.
So I'm writing a validator and it brought this to my attention.
"Setlocal" and "endlocal" passed my validator as valid commands
"text" did but "endtext" did not
Turns out, for setlocal/endlocal, both the 'begin' and 'end' commands are in the command list documentation
But for text/endtext, only the 'begin' command is in the command list documentation.
It's a minor inconsistency, and not a bug, but it's an inconsistency nonetheless.
Anyone gathering a list of commands from the documentation is getting an incomplete list, which is what happened to me.
So I'm writing a validator and it brought this to my attention.
"Setlocal" and "endlocal" passed my validator as valid commands
"text" did but "endtext" did not
Turns out, for setlocal/endlocal, both the 'begin' and 'end' commands are in the command list documentation
But for text/endtext, only the 'begin' command is in the command list documentation.
It's a minor inconsistency, and not a bug, but it's an inconsistency nonetheless.
Anyone gathering a list of commands from the documentation is getting an incomplete list, which is what happened to me.