class Language;
class ParIterator;
-// When lyx 1.3.x starts we should enable this
-// btw. we should also test this with 1.2 so that we
-// do not get any surprises. (Lgb)
#define NO_COMPABILITY 1
///
bool save() const;
/// Write file. Returns \c false if unsuccesful.
- bool writeFile(string const &, bool) const;
+ bool writeFile(string const &) const;
///
void writeFileAscii(string const & , int);
Language const * getLanguage() const;
///
int runChktex();
- ///
- bool isLyxClean() const;
+ /// return true if the main lyx file does not need saving
+ bool isClean() const;
///
bool isBakClean() const;
///
bool isDepClean(string const & name) const;
- ///
- void markLyxClean() const;
+ /// mark the main lyx file as not needing saving
+ void markClean() const;
///
void markBakClean();
}
return tmp;
}
+
///
Inset * operator*() { return *it; }
inline
-bool Buffer::isLyxClean() const
+bool Buffer::isClean() const
{
return lyx_clean;
}
inline
-void Buffer::markLyxClean() const
+void Buffer::markClean() const
{
if (!lyx_clean) {
lyx_clean = true;