bool const freeSpacing =
textclasslist.Style(bview->buffer()->params.textclass,
- cursor.row()->par()->getLayout()).free_spacing;
+ cursor.row()->par()->getLayout()).free_spacing ||
+ cursor.row()->par()->isFreeSpacing();
if (lyxrc.auto_number) {
y_top += 3 * defaultHeight();
} else if (parparams.spaceTop().kind() == VSpace::LENGTH) {
- string str(string(_("Space above")) + " ("
+ string str = string(_("Space above")) + " ("
+ parparams.spaceTop().asLyXCommand()
- + ")");
+ + ")";
int const space = int(parparams.spaceTop().inPixels(p.bv));
int const y = p.yo + y_top + space / 2;
y_bottom -= 3 * defaultHeight();
} else if (parparams.spaceBottom().kind() == VSpace::LENGTH) {
- string str(string(_("Space below")) + " ("
+ string str = string(_("Space below"))
+ + " ("
+ parparams.spaceBottom().asLyXCommand()
- + ")");
+ + ")";
int const space = int(parparams.spaceBottom().inPixels(p.bv));
int const y = p.yo + y_bottom - space / 2;