#include "LyXRC.h"
#include "Spacing.h"
#include "FuncRequest.h"
+
#include "insets/InsetSpace.h"
#include "support/gettext.h"
selection == 0 || selection == 3 ||
(selection == 6 && pattern == 0) || selection == 7;
keepCB->setEnabled(enable_keep);
+ if (selection == 3)
+ keepCB->setToolTip(qt_("Insert the spacing even after a line break.\n"
+ "Note that a protected Half Quad will be turned into\n"
+ "a vertical space if used at the beginning of a paragraph!"));
+ else
+ keepCB->setToolTip(qt_("Insert the spacing even after a line break"));
changed();
}
bool GuiHSpace::initialiseParams(string const & data)
{
- InsetSpaceMailer::string2params(data, params_);
+ InsetSpace::string2params(data, params_);
setButtonsValid(true);
-
return true;
}
void GuiHSpace::dispatchParams()
{
- dispatch(FuncRequest(getLfun(), InsetSpaceMailer::params2string(params_)));
+ dispatch(FuncRequest(getLfun(), InsetSpace::params2string(params_)));
}
bool GuiHSpace::isValid()
{
- return (spacingCO->currentIndex() != 7 || !valueLE->text().isEmpty());
+ return spacingCO->currentIndex() != 7 || !valueLE->text().isEmpty();
}