automatedTextmanipulation->formatTexSource.txsMacro
I know this script is very old, but is there a fix for this issue?
There must be an equivalent for "getLineTokens" we could use to revive this macro.
Environment
- TeXstudio: 4.8.7
- Qt: 6.9.0
- OS: Win 11
- TeX distribution: miktex
Expected behavior
Exec Macro in .tex file should format the document.
Actual behavior
We get an exception:
Property 'getLineTokens' of object LatexDocument(...) is not a function
How to reproduce
- Import automatedTextmanipulation->formatTexSource.txsMacro
- Exec Macro in a .tex document
I got a quick fix, an absolut minimal one to format the .tex file. Maybe this could be used instead of the old script for now:
format-tex-source
automatedTextmanipulation->formatTexSource.txsMacro
I know this script is very old, but is there a fix for this issue?
There must be an equivalent for "getLineTokens" we could use to revive this macro.
Environment
Expected behavior
Exec Macro in .tex file should format the document.
Actual behavior
We get an exception:
Property 'getLineTokens' of object LatexDocument(...) is not a function
How to reproduce
I got a quick fix, an absolut minimal one to format the .tex file. Maybe this could be used instead of the old script for now:
format-tex-source