Re: [Cvslog] r22556 - /lyx-devel/trunk/src/LyXAction.cpp

2008-01-14 Thread Pavel Sanda
> 2. the name of the toolbar image for the lfun is derived from > (try to add the lfun "command-sequence word-select; cut; ert-insert; > self-insert \; paste; self-insert {}; inset-toggle;" directly to a toolbar > and assign an image to it!) wow :) p

Re: [Cvslog] r22556 - /lyx-devel/trunk/src/LyXAction.cpp

2008-01-14 Thread Bernhard Roider
it's basically an alias for an lfun, but it has two big advantages (mainly if the lfun is complicated, see e.g. http://wiki.lyx.org/Tips/CommandSequences): 1. the complicated part has to be written only once and can then be used in menu, toolbar or bind file (-> easier to change) 2. the name of t

Re: [Cvslog] r22556 - /lyx-devel/trunk/src/LyXAction.cpp

2008-01-14 Thread Pavel Sanda
> Author: broider > Date: Mon Jan 14 20:37:52 2008 > New Revision: 22556 > > * \var lyx::kb_action lyx::LFUN_CALL > * \li Action: Executes a command defined in a .def file. > * \li Syntax: call > * \li Params: : Name of the command that must be called. > * \li Origin: broider, 2 Oct 2007 what i