B4J Question Does TextArea support bidirectional languages like Arabic?

xulihang

Active Member
Licensed User
Longtime User
Hi there,

I do not know bidirecitonal languages like Arabic but one of my users ask me to add support for these languages.

If TextArea does not support this, is it possible to use WebView with a <textarea> to serve as a text editor?
 

xulihang

Active Member
Licensed User
Longtime User
Thanks. I set the font to Arial and the nodeOrientation to RIGHT_TO_LEFT and it works.

B4X:
Dim enum1 As EnumClass
enum1.Initialize("javafx.geometry.NodeOrientation")
Dim jo As JavaObject=sourceTextArea
jo.RunMethod("setNodeOrientation",Array(enum1.ValueOf("RIGHT_TO_LEFT")))
 
Upvote 0
Top