Because the paragraph direction is RTL for Farsi input, I would expect that when typing, the sentence would start from the rightmost position on the screen; the right arrow would go right and in the reverse direction of the input text, which would be natural.