atg / chocolat-public

Public bug tracker for the private chocolat project
http://chocolatapp.com
180 stars 4 forks source link

BiDi/RTL mishap: option to disable it entirely? #1719

Open cpfair opened 9 years ago

cpfair commented 9 years ago

Mixing RTL and LTR is never fun, as demonstrated with this Python dict:

{"و": None, "ه": 1, "ذ": 1, "م": 1, "ل": -1, "ك": None, "ق": None, "ف": None, "ع": None, "ط": 1, "ص": None, "س": None, "ر": -1, "د": -1, "ج": -1,"ب": None, "أ": 1, None: 5}

In Chocolat, it looks like

aaaah

Which is... technically correct, but nearly incomprehensible, not to mention frustrating to edit.

Forcing the writing direction to LTR (right click->writing direction->...) helps, but there's still weirdness:

closer

It'd be nice to be able to turn bi-directional support off entirely, to get a purely LTR result like this:

that's beter