On Mon, Jan 08, 2001 at 12:24:35PM +0100, Juergen Vigna wrote:
> 
> On 08-Jan-2001 Dekel Tsur wrote:
> 
> >> Last() returns a pointer so it really should be .. && inset->par->Last() &&
> >> shouldn't it?
> > 
> > No, Last() returns LyXParagraph::size_type (= unsigned int).
> > 
> 
> Sure dump from me :(, but what if the inset has more then one paragraph
> and one is RTL and the other not???

If there are more than one paragraphs then the column must be a fixed width
column, in which case the test GetPWidth(cell).empty() fails, so LyX doesn't
write the \R{}. However, the \selectlanguage{} commands between the
paragraph will cause the correct text direction for the text.

> > Why do you need this? (you can use Home/End).
> > 
> 
> Home/End goes only to the end of a Row if we have a multirow paragraph!

So use Ctrl+Home/End (actually, ctrl+home/end doesn't work in a tabular.
Please fix).
Furthermore, with my suggestion, when you press left when the cursor is on a
dummy position, the cursor will move into the end of the insettext of the
previous cell.

> >> would you make selection of columns possible form both directions?
> > 
> > I don't understand what you meant here. Currently, the selection behave the
> > same whether the cursor is currently at a left dummy position or at the
> > right dummy position.
> 
> Assume you have only the position "before the inset" now select the last
> column in a tabular!

Just press ctrl+down several times: The selection always contain the column
from which the selection started!

Reply via email to