Math mode and Bi-Di feature bad effect
Environment
- TeXstudio: 4.5.1
- Qt:
- OS: Windows 10
- TeX distribution: texlive 2022
Expected behavior
When I write in math mode (e.g. By pressing Ctrl+Shift+M) I expect it switch language to En automatically and when I press End button or move cursor away from math mode it switches back to local language again.
Actual behavior
When I write in math mode (e.g. By pressing Ctrl+Shift+M) it switches language to En correctly but when I enter one character it switches language back to local even in math mode.
sometimes I switch to En manually but after inserting one character it switches back to local again.
there is an option "automatically switch keyboard layout" for that
there is an option "automatically switch keyboard layout" for that
I know that, but as I explained it is buggy. (I've checked 'depending on text/math mode').
Where can I find the source code of "automatically switch keyboard layout" script of texstudio?