I'm trying to followup a defect in Kate #246162. The typing direction suddenly switches from LTR to RTL for a section of the code.

The best guess we have so far is that I inadvertently hit a shortcut key or inserted an RTL language character.

Is there is a keyboard shortcut in QT that would trigger a direction change in typing?

Does anybody else know other reasons in QT why direction changes might occur?