I'm working primarily with the LaTeX parser, which for various reasons has multiple node types as possible targets for doing something like implementing change surrounding environment in Lua. Concretely, the text
\begin{SOMETHING}
% yadda yadda
\end{SOMETHING}
will be captured as either generic_environment or math_environment depending on the contents of SOMETHING. Anyway for this reason it would be nice to be able to use the node option to get_selection with multiple arguments; hence the change.
I'm working primarily with the LaTeX parser, which for various reasons has multiple node types as possible targets for doing something like implementing
c
hanges
urroundinge
nvironment in Lua. Concretely, the textwill be captured as either
generic_environment
ormath_environment
depending on the contents ofSOMETHING
. Anyway for this reason it would be nice to be able to use thenode
option toget_selection
with multiple arguments; hence the change.