mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
3585748871
commit
96175b2fe6
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
///
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user