On 03/03/2010 04:19 AM, Manoj Rajagopalan wrote:
Hi lyx-devel,
1. placing the cursor *immediately outside* a table
2. using Shift-<L/R> arrow key to select the entire table in one key-press,
3. unset-all-lines buttonpress on table toolbar
only unsets some of the lines of the top-left cell. Seems like a bug because
the set/unset should entire go through or not.
The fault is somewhere in InsetTabular::getSelection() which incorrectly
sets sel_row_end and sel_col_end to 0 (sel_row_start and sel_col_start are
already at 0) thereby effectively selecting only the top-left cell. This is
possible because the begin and end position of the cursor selection are
within the same CursorSlice one level above the table-cells.
All table lines are successfully set/unset if the table cells are selected
by first positioning the cursor *within* an extremal table cell and then
dragging to select all others.
Shall I file this on trac?
Yes please.
Abdel.