]> git.lyx.org Git - lyx.git/commit
Fix more of bug #5446: Enable to copy the contents of an InsetInfo through the contex...
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 19 Apr 2010 21:36:32 +0000 (21:36 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 19 Apr 2010 21:36:32 +0000 (21:36 +0000)
commit1df3f70ed14b9cabfdbb687f549d7d4dae5bb9ea
treec285c8c80c40c2b2aa0dabe99c4773b01700382c
parent87caf487e1fd3c6b72dd0b982fe7a6c1a38662d1
Fix more of bug #5446: Enable to copy the contents of an InsetInfo through the context menu.

This introduces a new LFUN LFUN_INSET_COPY_AS, which copies a certain Inset to the clipboard. For InsetInfo this is the text that is visible, but this could also replace LFUN_LABEL_COPY_AS_REF, by copying the INSET to the clipboard as a reference, and also a Math inset to copy to the clipboard as latex (including $'s or \[..\]).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34223 a592a061-630c-0410-9148-cb99ea01b6c8
lib/ui/stdcontext.inc
src/FuncCode.h
src/LyXAction.cpp
src/insets/InsetInfo.cpp