mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Character styles should have MultiPar = false, by default.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33041 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ce9d07f5eb
commit
d2dc4652fa
@ -13921,7 +13921,7 @@ reference "des:LatexType"
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
LyxType
|
||||
LyxType
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -13969,6 +13969,62 @@ end
|
||||
(indicating a dummy definition ending definitions of charstyles, etc).
|
||||
This entry is required in and is only meaningful for Flex insets.
|
||||
Among other things, it determines on which menu this inset will appear.
|
||||
Setting
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
LyXType
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
to
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
charstyle
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
will set
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
MultiPar
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
to false.
|
||||
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
MultiPar
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
can be set to true for charstyle insets, if you wish, by setting it
|
||||
\emph on
|
||||
after
|
||||
\emph default
|
||||
you set the
|
||||
\begin_inset Flex CharStyle:Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
LyXType
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Description
|
||||
|
@ -180,6 +180,8 @@ bool InsetLayout::read(Lexer & lex, TextClass const & tclass)
|
||||
lyxtype_ = translateLyXType(lt);
|
||||
if (lyxtype_ == NOLYXTYPE)
|
||||
LYXERR0("Unknown LyXType `" << lt << "'.");
|
||||
if (lyxtype_ == CHARSTYLE)
|
||||
multipar_ = false;
|
||||
break;
|
||||
}
|
||||
case IL_LATEXTYPE: {
|
||||
|
Loading…
Reference in New Issue
Block a user