mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
26f422e6dc
commit
af4c2598a1
@ -606,7 +606,6 @@ void MathCursor::setSize(MathStyles size)
|
||||
}
|
||||
|
||||
|
||||
|
||||
void MathCursor::interpret(string const & s)
|
||||
{
|
||||
//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
|
||||
{
|
||||
MathCursorPos anc = normalAnchor();
|
||||
@ -1316,8 +1301,6 @@ MathCursorPos MathCursor::normalAnchor() const
|
||||
// anchor is behind cursor -> move anchor behind the inset
|
||||
++normal.pos_;
|
||||
}
|
||||
//lyxerr << "normalizing: from " << Anchor_[Anchor_.size() - 1] << " to "
|
||||
// << normal << "\n";
|
||||
return normal;
|
||||
}
|
||||
|
||||
|
@ -216,10 +216,6 @@ public:
|
||||
///
|
||||
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
|
||||
void getSelection(MathCursorPos &, MathCursorPos &) const;
|
||||
/// returns the normalized anchor of the selection
|
||||
|
Loading…
Reference in New Issue
Block a user