remove unneeded code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2448 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-08-08 07:55:47 +00:00
parent 26f422e6dc
commit af4c2598a1
2 changed files with 0 additions and 21 deletions

View File

@ -606,7 +606,6 @@ void MathCursor::setSize(MathStyles size)
} }
void MathCursor::interpret(string const & s) void MathCursor::interpret(string const & s)
{ {
//lyxerr << "interpret: '" << s << "'\n"; //lyxerr << "interpret: '" << s << "'\n";
@ -1224,20 +1223,6 @@ char MathCursor::halign() const
} }
MathCursorPos MathCursor::firstSelectionPos() const
{
MathCursorPos anc = normalAnchor();
return anc < cursor() ? anc : cursor();
}
MathCursorPos MathCursor::lastSelectionPos() const
{
MathCursorPos anc = normalAnchor();
return anc < cursor() ? cursor() : anc;
}
void MathCursor::getSelection(MathCursorPos & i1, MathCursorPos & i2) const void MathCursor::getSelection(MathCursorPos & i1, MathCursorPos & i2) const
{ {
MathCursorPos anc = normalAnchor(); MathCursorPos anc = normalAnchor();
@ -1316,8 +1301,6 @@ MathCursorPos MathCursor::normalAnchor() const
// anchor is behind cursor -> move anchor behind the inset // anchor is behind cursor -> move anchor behind the inset
++normal.pos_; ++normal.pos_;
} }
//lyxerr << "normalizing: from " << Anchor_[Anchor_.size() - 1] << " to "
// << normal << "\n";
return normal; return normal;
} }

View File

@ -216,10 +216,6 @@ public:
/// ///
MathXArray & xarray() const; MathXArray & xarray() const;
/// returns the first position of the (normalized) selection
MathCursorPos firstSelectionPos() const;
/// returns the last position of the (normalized) selection
MathCursorPos lastSelectionPos() const;
/// returns the selection /// returns the selection
void getSelection(MathCursorPos &, MathCursorPos &) const; void getSelection(MathCursorPos &, MathCursorPos &) const;
/// returns the normalized anchor of the selection /// returns the normalized anchor of the selection