void LCursor::setTargetX()
{
- // For now this is good enough. A better solution would be to
- // avoid this rebreak by setting cursorX only after drawing
- bottom().text()->redoParagraph(bottom().pit());
int x;
int y;
getPos(x, y);
}
-string LCursor::getPossibleLabel()
+docstring LCursor::getPossibleLabel()
{
- return inMathed() ? "eq:" : text()->getPossibleLabel(*this);
+ return inMathed() ? from_ascii("eq:") : text()->getPossibleLabel(*this);
}