In an nutshell: \currentsectionlevel[-1] should refer to the parent of the current sectioning level and \currentsectionlevel[+1] to the children,
and \currentsectionlevel should do what it always did.
I think this is literally just incrementing or decrementing \l_stex_current_section_level_int suitably.
I have wanted this for quite a while.
In an nutshell:
\currentsectionlevel[-1]should refer to the parent of the current sectioning level and\currentsectionlevel[+1]to the children,and
\currentsectionlevelshould do what it always did.I think this is literally just incrementing or decrementing
\l_stex_current_section_level_intsuitably.I have wanted this for quite a while.