Bennett Helm wrote:
> You mean matrices? -- I did this, and with 1.5.3 it works,
Good.
> but with some differences from how your patch works in tables.
Yes, but this is yet another story.
Jürgen
On Dec 21, 2007, at 11:09 AM, Jürgen Spitzmüller wrote:
I don't know what's the status wrt math grids. Bennett, does
copying from math
grids work?
You mean matrices? -- I did this, and with 1.5.3 it works, but with
some differences from how your patch works in tables.
In a 5x5 matrix, cu
Jean-Marc Lasgouttes wrote:
> Why is this needed only for tabular?
In text, pasteFromStack is used if the condition fails, which just works
apparently:
case LFUN_PASTE:
cur.message(_("Paste"));
cap::replaceSelection(cur);
if (cmd.argument()
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes:
> Juergen Spitzmueller wrote:
>> So LFUN_PASTE for multiple tabular cells isn't supposed to work both for
>> Mac and Windows.
>
> The attached patch fixes it, according to Bennett's testing. The patch is
> against branch.
Why is this needed only for
Juergen Spitzmueller wrote:
> So LFUN_PASTE for multiple tabular cells isn't supposed to work both for
> Mac and Windows.
The attached patch fixes it, according to Bennett's testing. The patch is
against branch.
Opinions?
Jürgen
Index: src/insets/InsetTabular.cpp
===
Jürgen Spitzmüller wrote:
> Interesting. This is the method that fails:
>
> case LFUN_PASTE:
> if (tabularStackDirty() && theClipboard().isInternal()) {
> recordUndoInset(cur, Undo::INSERT);
> pasteClipboard(cur);
> break;
> }
> cell(cur.idx())->dispatch(cur, cmd);
> break;
>
> Maybe theClipboar
Bennett Helm wrote:
> I have the same problem as Maria. But it *does* work when I use
> V to paste -- which on Mac at least is bound to Edit >
> Paste Special > Plain text. (It also works with Edit > Paste Special
> > Plain text, joint lines.)
Interesting. This is the method that fails:
On Dec 18, 2007 12:57 PM, Bennett Helm <[EMAIL PROTECTED]> wrote:
> On Dec 18, 2007, at 12:49 PM, Jürgen Spitzmüller wrote:
>
> > Also sprach Maria Gouskova:
> >> Here are the steps:
> >>
> >> 1. insert 2x2 table. type a | a in top two cells.
> >> 2. select top two cells and copy (cmd+c).
> >> 3. p
On Dec 18, 2007, at 12:49 PM, Jürgen Spitzmüller wrote:
Also sprach Maria Gouskova:
Here are the steps:
1. insert 2x2 table. type a | a in top two cells.
2. select top two cells and copy (cmd+c).
3. put cursor in bottom lefthand cell, press cmd+v for paste.
contents
paste as aa in the singl