[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-devel
Subject: Re: [Patch] Outline Drag and Drop (Backend)
From: Pavel Sanda <sanda () lyx ! org>
Date: 2009-06-30 12:16:59
Message-ID: 20090630121659.GY17002 () atrey ! karlin ! mff ! cuni ! cz
[Download RAW message or body]
Vincent van Ravesteijn wrote:
> - Do we really want an lfun that cannot be used by the user as he will not
> know the necessary paragraph-ids ?
actually we already have such lfuns. the fact that it is not to be used by users
is done by simply avoiding string identifier.
pavel
["d.patch" (text/plain)]
diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp
index 0d80f5e..342038c 100644
--- a/src/LyXAction.cpp
+++ b/src/LyXAction.cpp
@@ -1996,7 +1996,9 @@ void LyXAction::init()
* \li Notion: The heading is a paragraph with style Part/Chapter/Section/
etc. Id number of the paragraph is not the sequential number
seen on the screen, but an internal number that is unique
- for all opened buffers (documents).
+ for all opened buffers (documents).\n
+ This is an internal LyX function, not to be used by normal
+ users.
* \li Syntax: outline-dragmove <PAR_ID_SECTION> <PAR_ID_DROP_POSITION>
* \li Params: <PAR_ID_SECTION>: paragraph id of the section heading which
is to be moved. \n
@@ -2005,7 +2007,7 @@ void LyXAction::init()
* \li Origin: Rob Oakes, 22 June 2009
* \endvar
*/
- { LFUN_OUTLINE_DRAGMOVE, "outline-dragmove", Noop, Edit },
+ { LFUN_OUTLINE_DRAGMOVE, "", Noop, Edit },
/*!
* \var lyx::FuncCode lyx::LFUN_INSET_EDIT
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic