You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val optionals = label.childrenOfType(LatexOptionalParam::class).firstOrNull() ?:returnnull
is to blame for the first example. I have no idea why it isnt using label.getOptionalParameterMap() to try to extract only item's optional param. Instead it will just extract the first optional param it finds.
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
IntelliJ IDEA Ultimate 2023.2.4
Operating System
Win 10
TeXiFy IDEA version
0.9.1
What I did (steps to reproduce)
I have the custom command
\alignspc
with one optional parameter defined.Expected behavior
Actual behavior
with the second
\Leftrightarrow
in a selectionThe text was updated successfully, but these errors were encountered: