]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloatlist.C
Implemented Search/Replace functionality for Insets. Cleaned up a bit.
[lyx.git] / src / insets / insetfloatlist.C
index 63b0ba6bcf00580af63b7e2f0049ac571805aa0b..3cb79a2c25c2d32143ec42d82ea1d10f3f86f5b5 100644 (file)
@@ -10,6 +10,7 @@
 #include "gettext.h"
 #include "debug.h"
 
+using std::endl;
 
 string const InsetFloatList::getScreenLabel() const 
 {
@@ -22,19 +23,19 @@ string const InsetFloatList::getScreenLabel() const
 }
 
 
-Inset::Code InsetFloatList::LyxCode() const
+Inset::Code InsetFloatList::lyxCode() const
 {
        return Inset::FLOAT_LIST_CODE;
 }
 
 
-void InsetFloatList::Write(Buffer const *, ostream & os) const
+void InsetFloatList::write(Buffer const *, std::ostream & os) const
 {
        os << "FloatList " << float_type << "\n";
 }
 
 
-void InsetFloatList::Read(Buffer const *, LyXLex & lex) 
+void InsetFloatList::read(Buffer const *, LyXLex & lex) 
 {
        string token;
 
@@ -56,7 +57,7 @@ void InsetFloatList::Read(Buffer const *, LyXLex & lex)
 }
 
 
-void InsetFloatList::Edit(BufferView *, int, int, unsigned int)
+void InsetFloatList::edit(BufferView *, int, int, unsigned int)
 {
 #ifdef WITH_WARNINGS
 #warning Implement me please.
@@ -67,7 +68,13 @@ void InsetFloatList::Edit(BufferView *, int, int, unsigned int)
 }
 
 
-int InsetFloatList::Latex(Buffer const *, ostream & os, bool, bool) const
+void InsetFloatList::edit(BufferView * bv, bool)
+{
+       edit(bv, 0, 0, 0);
+}
+
+
+int InsetFloatList::latex(Buffer const *, std::ostream & os, bool, bool) const
 {
        FloatList::const_iterator cit = floatList[float_type];
 
@@ -95,7 +102,7 @@ int InsetFloatList::Latex(Buffer const *, ostream & os, bool, bool) const
 }
 
 
-int InsetFloatList::Ascii(Buffer const * buffer, std::ostream & os, int) const
+int InsetFloatList::ascii(Buffer const * buffer, std::ostream & os, int) const
 {
        os << getScreenLabel() << "\n\n";