2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
+ * lyxgluelength.h (isValidGlueLength): add default arg on
+ parameter 2. Remove default arg from friend in class.
+
+ * lyxlength.h (isValidLength): add default arg on parameter 2.
+ Remove default arg from friend in class.
+
* text2.C (LyXText): adjust, initialize refresh_row.
(init): adjust
(removeRow): adjust
+2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * ControlDialog.tmpl (show): qualify emergency_exit_ with this->
+ (update): ditto
+ (hide): ditto
+
2003-03-26 Angus Leeming <leeming@lyx.org>
* ControlThesaurus.[Ch]: rewrite to use the Dialog-based scheme.
* ControlConnections.C: temporary renaming of Dialogs::signals.
* Makefile.am: add new files.
-
+
2003-02-21 Angus Leeming <leeming@lyx.org>
* ControlBibtex.C (Browse):
browse, browsedir):
* ControlPrint.C (Browse):
don't pass a LyXView & to browseFile et al.
- * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
+ * helper_funcs.[Ch] (browseFile, browseRelFile, browseDir):
don't pass a LyXView & to fileDlg.
2003-02-17 John Levon <levon@movementarian.org>
2003-01-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* helper_funcs.[Ch]: implement browseDir (browse directory) [bug 824]
-
+
* ControlPrefs.[Ch]: implement browsedir for the use of use browseDir.
2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
}
setParams();
- if (emergency_exit_) {
+ if (this->emergency_exit_) {
hide();
return;
}
return;
setParams();
- if (emergency_exit_) {
+ if (this->emergency_exit_) {
hide();
return;
}
template <class Base>
void ControlDialog<Base>::hide()
{
- emergency_exit_ = false;
+ this->emergency_exit_ = false;
clearParams();
disconnect();
///
string const asLatexString() const;
-
- /** If "data" is valid, the length represented by it is
- stored into "result", if that is not 0. */
friend bool isValidGlueLength(string const & data,
- LyXGlueLength* result = 0);
+ LyXGlueLength* result);
private:
/// the normal vlaue
bool operator==(LyXGlueLength const & l1, LyXGlueLength const & l2);
///
bool operator!=(LyXGlueLength const & l1, LyXGlueLength const & l2);
-///
-bool isValidGlueLength(string const & data, LyXGlueLength * result);
+/** If "data" is valid, the length represented by it is
+ stored into "result", if that is not 0. */
+bool isValidGlueLength(string const & data, LyXGlueLength * result = 0);
#endif // LYXGLUELENGTH_H
/// return the on-screen size of this length of an image
int inBP() const;
- /** If "data" is valid, the length represented by it is
- stored into "result", if that is not 0. */
- friend bool isValidLength(string const & data, LyXLength * result = 0);
+ friend bool isValidLength(string const & data, LyXLength * result);
private:
///
bool operator==(LyXLength const & l1, LyXLength const & l2);
///
bool operator!=(LyXLength const & l1, LyXLength const & l2);
-///
-bool isValidLength(string const & data, LyXLength * result);
+/** If "data" is valid, the length represented by it is
+ stored into "result", if that is not 0. */
+bool isValidLength(string const & data, LyXLength * result = 0);
/// return the name of the given unit number
char const * stringFromUnit(int unit);
}
setHeightOfRow(refresh_row);
}
-
} else {
Row * nextrow = old_cursor.row()->next();
const_cast<LyXText *>(this)->postPaint(