Interface changes
-----------------
Interface changes
-----------------
-Some lyxrc variables have been removed:
-
-- \plaintext_roff_command was not used anymore, it is now removed.
-
+The following variables are obsoleted in 2.0
+- \plaintext_roff_command (was not used anymore)
+- \spell_command and \use_spell_lib (ispell support has been removed)
Known issues in version 2.0.0
-----------------------------
Known issues in version 2.0.0
-----------------------------
int le = lexrc.lex();
switch (le) {
int le = lexrc.lex();
switch (le) {
- case Lexer::LEX_UNDEF:
- // dro[ obsolete tag
- if (lexrc.getString() != "\\plaintest_roff_command")
- lexrc.printError("Unknown tag `$$Token'");
- continue;
- case Lexer::LEX_FEOF:
- continue;
- default:
- break;
+ case Lexer::LEX_UNDEF:
+ lexrc.printError("Unknown tag `$$Token'");
+ continue;
+ case Lexer::LEX_FEOF:
+ continue;
+ default:
+ break;
}
switch (static_cast<LyXRCTags>(le)) {
case RC_INPUT: // Include file
}
switch (static_cast<LyXRCTags>(le)) {
case RC_INPUT: // Include file
break;
case RC_PLAINTEXT_ROFF_COMMAND:
break;
case RC_PLAINTEXT_ROFF_COMMAND:
- (void) lexrc.getString(); // Obsoleted in 1.7
+ (void) lexrc.getString(); // Obsoleted in 2.0
break;
case RC_PLAINTEXT_LINELEN:
lexrc >> plaintext_linelen;
break;
case RC_PLAINTEXT_LINELEN:
lexrc >> plaintext_linelen;
lexrc >> open_buffers_in_tabs;
break;
lexrc >> open_buffers_in_tabs;
break;
- (void) lexrc.getString();
- break;
- // Obsoleted in 1.7
case RC_USE_SPELL_LIB:
(void) lexrc.getString();
break;
case RC_USE_SPELL_LIB:
(void) lexrc.getString();
break;
if (tag != RC_LAST)
break;
// Ignore it
if (tag != RC_LAST)
break;
// Ignore it
- case RC_PLAINTEXT_ROFF_COMMAND: // Obsoleted in 1.7
+ case RC_PLAINTEXT_ROFF_COMMAND: // Obsoleted in 2.0
if (tag != RC_LAST)
break;
case RC_PLAINTEXT_LINELEN:
if (tag != RC_LAST)
break;
case RC_PLAINTEXT_LINELEN:
<< "# SPELLCHECKER SECTION ##############################\n"
<< "#\n\n";
case RC_SPELL_COMMAND:
<< "# SPELLCHECKER SECTION ##############################\n"
<< "#\n\n";
case RC_SPELL_COMMAND:
+ // Obsoleted in 2.0
+ if (tag != RC_LAST)
+ break;
case RC_ACCEPT_COMPOUND:
if (ignore_system_lyxrc ||
spellchecker_accept_compound != system_lyxrc.spellchecker_accept_compound) {
case RC_ACCEPT_COMPOUND:
if (ignore_system_lyxrc ||
spellchecker_accept_compound != system_lyxrc.spellchecker_accept_compound) {