]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetindex.h
pos=string::npos for regex not found, use handcoded transform in lstring.C, fix the...
[lyx.git] / src / insets / insetindex.h
index 6470404e28bf5c8303930a9c8155953aa7678043..0f037ba7f17ab27d27ceffc38285db77c76e7b62 100644 (file)
@@ -1,13 +1,13 @@
 // -*- C++ -*-
 /* This file is part of*
- * ======================================================
+ * ====================================================== 
  *
  *           LyX, The Document Processor
  *      
  *         Copyright 1995 Matthias Ettrich
  *          Copyright 1996-1999 the LyX Team.
  * 
- * ======================================================*/
+ * ====================================================== */
 
 #ifndef INSET_INDEX_H
 #define INSET_INDEX_H
@@ -29,13 +29,13 @@ struct LaTeXFeatures;
 class InsetIndex: public InsetCommand {
 public:
        ///
-       InsetIndex(): InsetCommand("index") {;}
+       InsetIndex() : InsetCommand("index") {}
        ///
        InsetIndex(string const & key);
        ///
        ~InsetIndex();
        ///
-       Inset * Clone() { return new InsetIndex(contents);}
+       Inset * Clone() const { return new InsetIndex(contents);}
        ///
        void Edit(int, int);
        ///
@@ -48,7 +48,7 @@ public:
 };
 
 
-class InsetPrintIndex: public InsetCommand {
+class InsetPrintIndex : public InsetCommand {
 public:
        ///
        InsetPrintIndex();
@@ -64,8 +64,9 @@ public:
        unsigned char Editable() const{
                return 1;
        }
+       /// WHY is clone missing? (Lgb)
        ///
-       bool Display() const { return true; }
+       bool display() const { return true; }
        ///
        Inset::Code LyxCode() const;
        ///