texstudio-org/texstudio

Math mode and Bi-Di feature bad effect

Open

#3,070 opened on Apr 16, 2023

 (4 comments) (0 reactions) (0 assignees)C++ (397 forks)auto 404
help wanted

Repository metrics

Stars
 (3,516 stars)
PR merge metrics
 (Avg merge 5h 26m) (19 merged PRs in 30d)

Description

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.

Contributor guide