Frames for multi-columns

2005-09-11 Thread Michael Gerz

Hello,

I guess the following indicates a bug:

1. Create new doc
2. Insert 5x5 table
3. Show "table" buttons
4. Go to the cell in row 3, column 3
5. Press "Multi-column" button in the table bar
6. Deactivate upper line (choose button in the table bar)
=> upper line is deactivated for all cells in row 3 except for the 
current one


=> Question: How do I deactivate the line for the current cell?

(Yes, I know, multi-columns are tricky)

Michael


Re: Frames for multi-columns

2005-09-15 Thread Juergen Spitzmueller
Michael Gerz wrote:
> I guess the following indicates a bug:
>
> 1. Create new doc
> 2. Insert 5x5 table
> 3. Show "table" buttons
> 4. Go to the cell in row 3, column 3
> 5. Press "Multi-column" button in the table bar
> 6. Deactivate upper line (choose button in the table bar)
> => upper line is deactivated for all cells in row 3 except for the
> current one
>
> => Question: How do I deactivate the line for the current cell?

a.) using the tabular dialog instead of the toolbar
b.) M-x m-toggle-line-top

Seriously, your bug report only refers to the tabular toolbar, not the dialog.
The problem is that the toolbar only has toggle-line-* lfuns, while the (qt) 
dialog uses the corresponding m-toggle-line-* lfun while being in a 
multicolumn cell.

I don't know if it is possible to implement such a context sensitive behaviour 
in the toolbars.

Jürgen


Re: Frames for multi-columns

2005-09-16 Thread Michael Gerz

Juergen Spitzmueller wrote:


=> Question: How do I deactivate the line for the current cell?
 


a.) using the tabular dialog instead of the toolbar
b.) M-x m-toggle-line-top
 


I am not sure whether the user will actually be aware of these options.


Seriously, your bug report only refers to the tabular toolbar, not the dialog.
 



Well, the same applies to the menu entries ("Edit" => "Table") which 
makes things a bit more problematic.


The problem is that the toolbar only has toggle-line-* lfuns, while the (qt) 
dialog uses the corresponding m-toggle-line-* lfun while being in a 
multicolumn cell.


I don't know if it is possible to implement such a context sensitive behaviour 
in the toolbars.
 


IMHO we should introduce LFUN_M_TOGGLE_OR_TOGGLE_DEPENDING_ON_CONTEXT.

Michael