kyle-n / HighlightedTextEditor

A SwiftUI view for dynamically highlighting user input
MIT License
719 stars 68 forks source link

Right to left language support #46

Closed kyle-n closed 8 months ago

kyle-n commented 3 years ago

Is your feature request related to a problem? Please describe.

I would like HLTE to support right-to-left languages, such as Arabic.

Describe the solution you'd like

HLTE should let users type RTL text into the AppKit and UIKit editors with zero config required from the developer.

Describe alternatives you've considered

N/A

Additional context

@ceojosef opened #35 and #37 with some code to add RTL support. Unfortunately, I do not have any experience with RTL languages. I cannot verify those PRs work, or they are not missing some important feature.

I would greatly appreciate help from anyone who can read and write a RTL language and English to help me out with this issue.