Comments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21887 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2007-11-30 22:16:02 +00:00
parent 23a672cf26
commit a663ba2f1b
2 changed files with 7 additions and 0 deletions

View File

@ -284,6 +284,12 @@ public:
/// Is the width forced to some value?
virtual bool hasFixedWidth() const { return false; }
// FIXME This should really disappear in favor of
// docstring name() const { return from_ascii(insetName(lyxCode()))); }
// There's no reason to be using different names in different places.
// But to do this we would need to change the file format, since the names
// used there don't correspond to what is used here.
///
virtual docstring name() const;
///

View File

@ -161,6 +161,7 @@ InsetInclude::InsetInclude(InsetInclude const & other)
CommandInfo const * InsetInclude::findInfo(std::string const & /* cmdName */)
{
// FIXME
// This is only correct for the case of listings, but it'll do for now.
// In the other cases, this second parameter should just be empty.
static const char * const paramnames[] = {"filename", "lstparams", ""};