texstudio icon indicating copy to clipboard operation
texstudio copied to clipboard

Math mode and Bi-Di feature bad effect

Open USisFounderOfISIS opened this issue 2 years ago • 4 comments

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.

USisFounderOfISIS avatar Apr 16 '23 00:04 USisFounderOfISIS

there is an option "automatically switch keyboard layout" for that

benibela avatar Apr 16 '23 09:04 benibela

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').

USisFounderOfISIS avatar Apr 16 '23 12:04 USisFounderOfISIS

Where can I find the source code of "automatically switch keyboard layout" script of texstudio?

USisFounderOfISIS avatar Aug 13 '23 11:08 USisFounderOfISIS