Open cben opened 11 years ago
After some attempts to actually edit Hebrew, CodeMirror is pretty bad. Even stuff like selecting a full line with keyboard is impossible for some RTL/LTR mixes. And sometimes CM just hangs.
Anyway, I'm not able to address this in the foreseeable future.
Some RTL/numbers mixes make it impossible to navigate by arrows or select whole line from keyboard. I really should file CM bugs, but for now disabling http://codemirror.net/doc/manual.html#option_rtlMoveVisually should be an easy improvement.
CM's summer-of-code on bidi made great progress; it hasn't landed yet, but I'm comfortable switching to the expirimental branch.
#hash
(#5). [Should match Pandoc's heading id algorithm. Just checked: Pandoc retains Hebrew chars, only filters out punctuation.] Codemirror master has grown decent RTL support! https://codemirror.net/demo/bidi.html No more excuses, time to upgrade CodeMirror. (I'd long ago decided it's worth upgrading even if it would break RTL, really I was just lazy...)
Codemirror supports bidi well enough, but all lines are left-aligned. Want gedit-like automatic paragraph direction. (for starters, per-line direction would be good.)