On Sun, Sep 18, 2011 at 12:05:07AM +0200, PhilipPirrip wrote:

> The only thing left would be to handle, in BufferView.cpp, the case
> when LTR is changed to RTL, so that one (= the cursor) can leave the
> old text (i.e. text that was in a LTR language).

I am not sure what you mean. If you want to write in a RTL language and
the cursor is right after a LTR word, you have to select the RTL language,
e.g., by context menu or the character style dialog.

> Why is (oldL->rightToLeft() == newL->rightToLeft()) needed there at all?

Maybe this is the only check that has some sort of meaning, because when
globally changing from RTL to LTR (or viceversa) the words are reversed,
i.e., Paris would become siraP and this would happen for the whole
document. So, I think that in this case that check is a safe measure.

-- 
Enrico

Reply via email to