mathdown icon indicating copy to clipboard operation
mathdown copied to clipboard

Support RTL text

Open cben opened this issue 11 years ago • 5 comments

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.)

cben avatar Nov 12 '13 08:11 cben

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.

cben avatar Oct 03 '14 13:10 cben

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.

cben avatar Dec 03 '14 14:12 cben

CM's summer-of-code on bidi made great progress; it hasn't landed yet, but I'm comfortable switching to the expirimental branch.

cben avatar Jan 05 '15 12:01 cben

  • [ ] Allow non-english chars in URL #hash (#5). [Should match Pandoc's heading id algorithm. Just checked: Pandoc retains Hebrew chars, only filters out punctuation.]

cben avatar Jan 20 '15 10:01 cben

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...)

cben avatar Mar 25 '18 09:03 cben