mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix stupid oversight in LibFileScript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3849 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
38a20ba481
commit
bb704aeff6
@ -1,5 +1,10 @@
|
||||
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
|
||||
|
@ -198,7 +198,7 @@ string const currentState(BufferView * bv)
|
||||
break;
|
||||
}
|
||||
}
|
||||
#if 1
|
||||
#ifdef DEVEL_VERSION
|
||||
state << _(", Paragraph: ") << text->cursor.par()->id();
|
||||
#endif
|
||||
}
|
||||
|
@ -1408,8 +1408,8 @@ string const LyXFunc::dispatch(kb_action action, string argument)
|
||||
<< id << "]" << endl;
|
||||
break;
|
||||
} else {
|
||||
lyxerr << "Paragraph " << par->id()
|
||||
<< " found." << endl;
|
||||
lyxerr[Debug::INFO] << "Paragraph " << par->id()
|
||||
<< " found." << endl;
|
||||
}
|
||||
|
||||
if (owner->view()->theLockingInset())
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
* 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>
|
||||
|
||||
|
@ -331,9 +331,9 @@ i18nLibFileSearch(string const & dir, string const & name,
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user