in factory.cpp. Bye bye routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28366
a592a061-630c-0410-9148-
cb99ea01b6c8
}
-void InsetFlex::read(Lexer & lex)
-{
- string token;
- while (lex.isOK()) {
- lex >> token;
- if (token == "Flex") {
- lex.next();
- name_ = lex.getString();
- } else if (token == "status") {
- // This is handled in Collapsable
- lex.pushToken(token);
- break;
- }
- }
- InsetCollapsable::read(lex);
-}
-
-
int InsetFlex::plaintext(odocstream & os, OutputParams const & runparams) const
{
return InsetText::plaintext(os, runparams);
InsetCode lyxCode() const { return FLEX_CODE; }
///
void write(std::ostream &) const;
- ///
- void read(Lexer & lex);
///
int plaintext(odocstream &, OutputParams const &) const;