strange enough: parts not commited during the last 'cvs commit' ..

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3054 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-11-20 17:16:21 +00:00
parent 3585748871
commit 96175b2fe6
4 changed files with 8 additions and 10 deletions

View File

@ -55,8 +55,6 @@ namespace {
// local global
int sel_x;
int sel_y;
int first_x;
int first_y;
@ -126,7 +124,7 @@ string const InsetFormulaBase::editMessage() const
}
void InsetFormulaBase::edit(BufferView * bv, int x, int y, unsigned int button)
void InsetFormulaBase::edit(BufferView * bv, int x, int /*y*/, unsigned int)
{
if (!bv->lockInset(this))
lyxerr[Debug::MATHED] << "Cannot lock inset!!!" << endl;
@ -282,7 +280,7 @@ void InsetFormulaBase::insetButtonPress(BufferView * bv,
mathcursor->setPos(x + xo_, y + yo_);
string sel =
bv->getLyXText()->selectionAsString(bv->buffer(), false);
//mathed_parse_cell(ar, sel);
mathed_parse_cell(ar, sel);
mathcursor->insert(ar);
}
break;

View File

@ -70,7 +70,7 @@ void MathRootInset::normalize(NormalStream & os) const
}
bool MathRootInset::idxUp(int & idx, int & pos) const
bool MathRootInset::idxUp(idx_type & idx, pos_type & pos) const
{
if (idx == 0)
return false;
@ -80,7 +80,7 @@ bool MathRootInset::idxUp(int & idx, int & pos) const
}
bool MathRootInset::idxDown(int & idx, int & pos) const
bool MathRootInset::idxDown(idx_type & idx, pos_type & pos) const
{
if (idx == 1)
return false;

View File

@ -32,9 +32,9 @@ public:
///
MathInset * clone() const;
///
bool idxUp(int & idx, int & pos) const;
bool idxUp(idx_type & idx, pos_type & pos) const;
///
bool idxDown(int & idx, int & pos) const;
bool idxDown(idx_type & idx, pos_type & pos) const;
///
void metrics(MathMetricsInfo const & st) const;
///

View File

@ -18,9 +18,9 @@ public:
///
void write(WriteStream & os) const;
///
int defaultColSpace(int) { return 0; }
int defaultColSpace(col_type) { return 0; }
///
char defaultColAlign(int) { return 'l'; }
char defaultColAlign(col_type) { return 'l'; }
};
#endif