[Libreoffice] Inconsistencies in GoDownSel and GoUpSel (cell selection in Calc)

Eike Rathke ooo at erack.de
Wed Jul 27 15:06:44 PDT 2011


Hi Olivier,

On Wednesday, 2011-07-27 14:50:33 -0300, Olivier Hallot wrote:

> Investigating sc/sdi/cellsh.sdi
> [...]
> So it looks like GoDownSel has an argument "By", which seems to be "select
> FN_PARAM_1 cells down", but GoUpSel (GoRightSel and GoLeftSel) does not have
> this parameter.
> 
> Which one is the correct?

Tricky.. both ;-)  The slot parameters of the first definition of an
ExecMethod are inherited by following definitions with the same
ExecMethod. So actually SID_CURSORUP_SEL inherits By from the first
definition of ExecuteCursorSel that happens to be SID_CURSORDOWN_SEL.
Compare with the generated sc/$INPATH/inc/scslots.hxx

  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110728/ae387186/attachment.pgp>


More information about the LibreOffice mailing list