+2002-04-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
+
+ * configure.in (FRONTEND_GUILIB): add qt2/xforms/*.lo for qt2
+
2002-04-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* UPGRADING: updates
LYX_PATH_XFORMS
QT2_DO_IT_ALL
FRONTEND="qt2"
- FRONTEND_GUILIB="qt2/*.lo qt2/ui/*.lo qt2/moc/*.lo qt2/ui/moc/*.lo"
+ FRONTEND_GUILIB="qt2/*.lo qt2/ui/*.lo qt2/moc/*.lo qt2/ui/moc/*.lo qt2/xforms/*.lo"
FRONTEND_LDFLAGS="\$(QT2_LDFLAGS)"
FRONTEND_INCLUDES="-I\${srcdir}/qt2 -I\${top_srcdir}/src/frontends/xforms \$(QT2_INCLUDES)"
FRONTEND_LIBS="@XPM_LIB@ @XFORMS_LIB@ \$(QT2_LIBS)";;
{
if (buf.length() <= 0)
return true;
-
+
int cols = 1;
int rows = 1;
int maxCols = 1;
{
BufferParams const & bparams = bv->buffer()->params;
LyXText * llt = getLyXText(bv);
-
+
while(par->next()) {
if (par->size() && par->next()->size() &&
!par->isSeparator(par->size()-1))
TEXT()->cursor.irow()->baseline() +
TEXT()->cursor.irow()->height() + 1);
TEXT()->cursor.x_fix(TEXT()->cursor.x());
-#else
+#else
TEXT()->cursorDown(owner->view());
#endif
} else {
metrics(bv);
mathcursor->setPos(x, y);
//lyxerr << "setting pos to " << x << "," << y << "\n";
-
+
// if that is removed, we won't get the magenta box when entering an
// inset for the first time
bv->updateInset(this, false);
ls = '(';
if (rs.empty())
rs = ')';
-
+
bv->lockedInsetStoreUndo(Undo::EDIT);
mathcursor->handleDelim(ls, rs);
updateLocal(bv, true);
InsetFormula * f = new InsetFormula(arg);
if (!bv->insertInset(f))
delete f;
- else if (!mathcursor) // hotfix
+ else if (!mathcursor) // hotfix
bv->getLyXText()->cursorRight(bv);
} else {
mathDispatchMathMode(bv, arg);
}
// append the left over horizontal cells to the last column
idx_type i = p->index(row + p->row(idx), p->ncols() - 1);
- for (col_type col = numcols; col < data_.ncols(); ++col)
+ for (col_type col = numcols; col < data_.ncols(); ++col)
p->cell(i).push_back(data_.cell(data_.index(row, col)));
}
// append the left over vertical cells to the last _cell_
idx_type i = p->nargs() - 1;
- for (row_type row = numrows; row < data_.nrows(); ++row)
- for (col_type col = 0; col < data_.ncols(); ++col)
+ for (row_type row = numrows; row < data_.nrows(); ++row)
+ for (col_type col = 0; col < data_.ncols(); ++col)
p->cell(i).push_back(data_.cell(data_.index(row, col)));
}
}
up ? yo - 4 : formula()->yhigh()
);
}
-
+
// any improvement so far?
int xnew, ynew;
getPos(xnew, ynew);
if (name == "\\") {
// remove the '\\'
backspace();
- if (c == '\\')
+ if (c == '\\')
interpret("\\backslash");
else
interpret(string("\\") + c);
string pars;
while (good() && nextToken().cat() != catBegin)
pars += getToken().cs();
-
+
if (!good()) {
lyxerr << "bad stream in parse_macro\n";
dump();
return false;
}
-
+
//lyxerr << "read \\def parameter list '" << pars << "'\n";
if (!pars.empty()) {
lyxerr << "can't handle non-empty parameter lists\n";
if (!arg.empty())
nargs = atoi(arg.c_str());
- } else {
+ } else {
lyxerr << "\\newcommand or \\def expected\n";
return false;
}
float fill_label_hfill;
// This call HAS to be here because of the BidiTables!!!
prepareToPrint(bview, row, x, fill_separator, fill_hfill,
- fill_label_hfill);
+ fill_label_hfill);
if (last < row->pos())
cursor_vpos = row->pos();