2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
+ * bufferview_funcs.C (currentState): only show paragraph number
+ for is DEVEL_VERSION is set.
+
+ * lyxfunc.C (dispatch): put warning in INFO channel
+
* MenuBackend.C (expand): translate the name of floats
* FloatList.C (FloatList): mark the float names for translation
break;
}
}
-#if 1
+#ifdef DEVEL_VERSION
state << _(", Paragraph: ") << text->cursor.par()->id();
#endif
}
<< id << "]" << endl;
break;
} else {
- lyxerr << "Paragraph " << par->id()
- << " found." << endl;
+ lyxerr[Debug::INFO] << "Paragraph " << par->id()
+ << " found." << endl;
}
if (owner->view()->theLockingInset())
* filetools.C (LibScriptSearch): new command. Searches for scripts
in lyx data directories.
+ (LibScriptSearch): try to use split() correctly.
2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
string const LibScriptSearch(string const & command)
{
- string script = command;
- string args;
- split(script, args, ' ');
+ string script;
+ string args = command;
+ split(args, script, ' ');
script = LibFileSearch("scripts", script);
if (script.empty())
return command;