mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Some hints from JMarc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25310 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dcc50a2454
commit
8018bef22b
@ -1915,7 +1915,7 @@ void LyXAction::init()
|
|||||||
* \li Origin: sanda, 6 May 2008
|
* \li Origin: sanda, 6 May 2008
|
||||||
* \endvar
|
* \endvar
|
||||||
*/
|
*/
|
||||||
{ LFUN_GRAPHICS_GROUPS_UNIFY, "graphics-groups-unify", ReadOnly, Edit },
|
{ LFUN_GRAPHICS_GROUPS_UNIFY, "graphics-groups-unify", Argument, Edit },
|
||||||
/*!
|
/*!
|
||||||
* \var lyx::FuncCode lyx::LFUN_SET_GRAPHICS_GROUP
|
* \var lyx::FuncCode lyx::LFUN_SET_GRAPHICS_GROUP
|
||||||
* \li Action: Set the group for the graphics inset on the cursor position.
|
* \li Action: Set the group for the graphics inset on the cursor position.
|
||||||
@ -1925,7 +1925,7 @@ void LyXAction::init()
|
|||||||
* \li Origin: sanda, 6 May 2008
|
* \li Origin: sanda, 6 May 2008
|
||||||
* \endvar
|
* \endvar
|
||||||
*/
|
*/
|
||||||
{ LFUN_SET_GRAPHICS_GROUP, "set-graphics-group", ReadOnly, Edit },
|
{ LFUN_SET_GRAPHICS_GROUP, "set-graphics-group", Noop, Edit },
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \var lyx::FuncCode lyx::LFUN_FINISHED_FORWARD
|
* \var lyx::FuncCode lyx::LFUN_FINISHED_FORWARD
|
||||||
|
@ -1408,7 +1408,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
|||||||
|
|
||||||
case LFUN_GRAPHICS_GROUPS_UNIFY: {
|
case LFUN_GRAPHICS_GROUPS_UNIFY: {
|
||||||
LASSERT(lyx_view_, /**/);
|
LASSERT(lyx_view_, /**/);
|
||||||
if (argument.empty() || !lyx_view_->buffer())
|
if (argument.empty())
|
||||||
break;
|
break;
|
||||||
//view()->cursor().recordUndoFullDocument(); let inset-apply do that job
|
//view()->cursor().recordUndoFullDocument(); let inset-apply do that job
|
||||||
graphics::unifyGraphicsGroups(*lyx_view_->buffer(), argument);
|
graphics::unifyGraphicsGroups(*lyx_view_->buffer(), argument);
|
||||||
@ -1423,7 +1423,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
|||||||
// once the insets refactoring is done.
|
// once the insets refactoring is done.
|
||||||
case LFUN_NOTES_MUTATE: {
|
case LFUN_NOTES_MUTATE: {
|
||||||
LASSERT(lyx_view_ && lyx_view_->view(), /**/);
|
LASSERT(lyx_view_ && lyx_view_->view(), /**/);
|
||||||
if (argument.empty() || !lyx_view_->buffer())
|
if (argument.empty())
|
||||||
break;
|
break;
|
||||||
view()->cursor().recordUndoFullDocument();
|
view()->cursor().recordUndoFullDocument();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user