I have been trying to change the default settings of Atom, the text editor, to support RTL (right-to-left)languages.
So on class LinesTileComponent, I added a new attribute dir="rtl" here.
This has switched the entire script to switch to right as shown here.
The cursor disappears when typing Arabic. Any clicks on the texts do NOT bring back the cursor (happens later in the GIF). There is no way I could select a specific word out of the line and the cursor only appears at the left when I click after the RTL text.
I'm suspecting this could be due to the code on cursor.js, cursor.less or in selection.js or others.
I'm struggling with fixing this cursor's behaviour. Are there any specific files or quick fixes that you could help with to fix this issue?

