[texworks] Making TeXWorks a real bidi editor

Stefan Löffler st.loeffler at gmail.com
Mon Sep 7 20:14:26 CEST 2009

Hi again,

On 2009-09-07 20:07, Stefan Löffler wrote:
> If I understand you correctly I'm afraid it's not possible. AFAIK,
> there's no way to obtain information about the current keyboard layout
> through Qt, let alone determine when it's changed.

I just found that there is a way to determine the current keyboard
locale (which seems not to work in all cases) and - more importantly -
the current keyboard direction. See QApplication::isLeftToRight,
QApplication::isRightToLeft, QApplication::layoutDirection. I still have
no idea how to get notified about a change, though, and I haven't tested
if these functions actually do what you need.


More information about the texworks mailing list