Most programming languages are left-to-right, so dir="ltr" should be the default for CodeEditor. However, some programming languages are right-to-left, for example qlb and others (see [[Non-English-based programming languages]] and search the page for Arabic), and they should be supported, too. The direction should probably be a parameter when initializing the editing control.
Version: unspecified
Severity: enhancement