]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetindex.h
Revert this change as it sneaked in and wasn't discussed yet.
[lyx.git] / src / insets / insetindex.h
index 2f4baef458506144adf493181586614d726a7fcc..88c76bab6b3538e196082236615450a688f9e4c1 100644 (file)
@@ -1,12 +1,12 @@
 // -*- C++ -*-
 /* This file is part of*
- * ====================================================== 
+ * ======================================================
  *
  *           LyX, The Document Processor
- *      
+ *
  *         Copyright 1995 Matthias Ettrich
  *          Copyright 1996-2001 the LyX Team.
- * 
+ *
  * ====================================================== */
 
 #ifndef INSET_INDEX_H
@@ -20,7 +20,7 @@
 
 struct LaTeXFeatures;
 
-/** Used to insert index labels  
+/** Used to insert index labels
   */
 class InsetIndex : public InsetCommand {
 public:
@@ -60,13 +60,15 @@ public:
        ///
        void edit(BufferView *, bool = true) {}
        ///
-       EDITABLE editable() const{ return NOT_EDITABLE; }
+       EDITABLE editable() const { return NOT_EDITABLE; }
        ///
        bool display() const { return true; }
        ///
        Inset::Code lyxCode() const;
        ///
        string const getScreenLabel(Buffer const *) const;
+       ///
+       virtual bool needFullRow() const { return true; }
 };
 
 #endif