mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +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>
|
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
|
* MenuBackend.C (expand): translate the name of floats
|
||||||
|
|
||||||
* FloatList.C (FloatList): mark the float names for translation
|
* FloatList.C (FloatList): mark the float names for translation
|
||||||
|
@ -198,7 +198,7 @@ string const currentState(BufferView * bv)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if 1
|
#ifdef DEVEL_VERSION
|
||||||
state << _(", Paragraph: ") << text->cursor.par()->id();
|
state << _(", Paragraph: ") << text->cursor.par()->id();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -1408,8 +1408,8 @@ string const LyXFunc::dispatch(kb_action action, string argument)
|
|||||||
<< id << "]" << endl;
|
<< id << "]" << endl;
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
lyxerr << "Paragraph " << par->id()
|
lyxerr[Debug::INFO] << "Paragraph " << par->id()
|
||||||
<< " found." << endl;
|
<< " found." << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (owner->view()->theLockingInset())
|
if (owner->view()->theLockingInset())
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
* filetools.C (LibScriptSearch): new command. Searches for scripts
|
* filetools.C (LibScriptSearch): new command. Searches for scripts
|
||||||
in lyx data directories.
|
in lyx data directories.
|
||||||
|
(LibScriptSearch): try to use split() correctly.
|
||||||
|
|
||||||
2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
|
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 const LibScriptSearch(string const & command)
|
||||||
{
|
{
|
||||||
string script = command;
|
string script;
|
||||||
string args;
|
string args = command;
|
||||||
split(script, args, ' ');
|
split(args, script, ' ');
|
||||||
script = LibFileSearch("scripts", script);
|
script = LibFileSearch("scripts", script);
|
||||||
if (script.empty())
|
if (script.empty())
|
||||||
return command;
|
return command;
|
||||||
|
Loading…
Reference in New Issue
Block a user