kishikawakatsumi / SECoreTextView

SECoreTextView is multi style text view.
MIT License
943 stars 143 forks source link

How to make SECoreTextView support language that have writing direction right to left (RTL) like Arabic #44

Open hahv opened 9 years ago

hahv commented 9 years ago

I have use SECoreTextView in my project. It's nice but my app want to support many languages (included language that have writing direction right to left (RTL) like Arabic). The problem will happen when user switch beetween RTL language (e.g:Arabic) and Left to right (LTR) language (e.g:English) --> the cursor, text display and other behavior of SECoreTextView will be wrong.

My question is how to implement SECoreTextView support both RTL and LRT language? What shoud I do ? I google for many days but every sample implemented UITextInput only support LTR language :(