X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxrc.C;h=8208bb2103d240b3632203685e0692ac3c14e77b;hb=d4f8fe124906af839a02d1ad3b7894e14fb69a37;hp=6c204543c1aeaded36a6314d811cd9cc868904a6;hpb=74f3ca32464641e84e67016cf664ec4316b4234e;p=lyx.git diff --git a/src/lyxrc.C b/src/lyxrc.C index 6c204543c1..8208bb2103 100644 --- a/src/lyxrc.C +++ b/src/lyxrc.C @@ -1033,7 +1033,7 @@ int LyXRC::read(LyXLex & lexrc) if (lexrc.next()) { command = lexrc.getString(); } - movers.set(fmt, command); + setMover(fmt, command); break; } @@ -1874,7 +1874,7 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc) const } os << "\n#\n" - << "# ASCII EXPORT SECTION ##############################\n" + << "# PLAIN TEXT EXPORT SECTION ##############################\n" << "#\n\n"; case RC_PLAINTEXT_ROFF_COMMAND: @@ -2111,12 +2111,13 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc) const << "#\n\n"; // Look for new movers - Movers::iterator const sysbegin = system_movers.begin(); - Movers::iterator const sysend = system_movers.end(); + Movers::const_iterator const sysbegin = theSystemMovers().begin(); + Movers::const_iterator const sysend = theSystemMovers().end(); + Movers::const_iterator it = theMovers().begin(); + Movers::const_iterator end = theMovers().end(); - for (Movers::iterator it = movers.begin(), end = movers.end(); - it != end; ++it) { - Movers::iterator const sysit = + for (; it != end; ++it) { + Movers::const_iterator const sysit = std::find_if(sysbegin, sysend, SameMover(*it)); if (sysit == sysend) { std::string const & fmt = it->first; @@ -2177,7 +2178,7 @@ string const LyXRC::getDescription(LyXRCTags tag) break; case RC_PLAINTEXT_LINELEN: - str = _("This is the maximum line length of an exported text file (LaTeX, SGML or plain text). If set to 0, paragraphs are output in a single line; if the line length is != 0, paragraphs are separated by a blank line."); + str = _("The maximum line length of exported plain text/LaTeX/SGML files. If set to 0, paragraphs are output in a single line; if the line length is > 0, paragraphs are separated by a blank line."); break; case RC_AUTOREGIONDELETE: