mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Add InsetOptArg to standard insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21627 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e73f8040fe
commit
bba8891efb
@ -224,3 +224,11 @@ InsetLayout URL
|
||||
EndPreamble
|
||||
End
|
||||
|
||||
InsetLayout OptArg
|
||||
LabelString opt
|
||||
LabelFont
|
||||
Color collapsable
|
||||
Size Small
|
||||
EndFont
|
||||
MultiPar false
|
||||
End
|
||||
|
@ -23,16 +23,12 @@ namespace lyx {
|
||||
|
||||
InsetOptArg::InsetOptArg(BufferParams const & ins)
|
||||
: InsetCollapsable(ins)
|
||||
{
|
||||
setLabel(_("opt"));
|
||||
}
|
||||
{}
|
||||
|
||||
|
||||
InsetOptArg::InsetOptArg(InsetOptArg const & in)
|
||||
: InsetCollapsable(in)
|
||||
{
|
||||
setLabel(_("opt"));
|
||||
}
|
||||
{}
|
||||
|
||||
|
||||
Inset * InsetOptArg::clone() const
|
||||
|
@ -29,6 +29,8 @@ public:
|
||||
|
||||
/// code of the inset
|
||||
InsetCode lyxCode() const { return OPTARG_CODE; }
|
||||
///
|
||||
docstring name() const { return from_ascii("OptArg"); }
|
||||
/// return an message upon editing
|
||||
virtual docstring const editMessage() const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user