mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
whitespace, unused code, unused convenience function for debugging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5589 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2a06cda429
commit
c22c2482f3
@ -123,22 +123,12 @@ void MathIterator::jump(difference_type i)
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
void MathIterator::shrink(size_type i)
|
||||
bool MathIterator::normal() const
|
||||
{
|
||||
if (i < size())
|
||||
erase(begin() + i, end());
|
||||
return back().pos_ < cell().size();
|
||||
}
|
||||
|
||||
|
||||
void MathIterator::shrink(size_type i)
|
||||
{
|
||||
if (i < size())
|
||||
erase(begin() + i, end());
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
void MathIterator::shrink(size_type i)
|
||||
{
|
||||
if (i < size())
|
||||
|
@ -50,6 +50,8 @@ public:
|
||||
void goEnd();
|
||||
/// read access to top most item
|
||||
MathArray const & cell() const;
|
||||
/// is this a non-end position
|
||||
bool normal() const;
|
||||
/// shrinks to at most i levels
|
||||
void shrink(size_type i);
|
||||
|
||||
|
@ -45,6 +45,7 @@ void MathNestInset::getPos(idx_type idx, pos_type pos, int & x, int & y) const
|
||||
x += 2;
|
||||
}
|
||||
|
||||
|
||||
void MathNestInset::substitute(MathMacro const & m)
|
||||
{
|
||||
for (idx_type i = 0; i < nargs(); ++i)
|
||||
|
Loading…
Reference in New Issue
Block a user