remove all trace if idxUpDown2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9335 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2004-12-03 16:39:59 +00:00
parent e70294c413
commit 94aa0bdda4
5 changed files with 14 additions and 18 deletions

View File

@ -1,3 +1,7 @@
2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
* cursor.C (goUpDown): remove call to idxUpDown2
2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* tabular.[Ch]: use size_t-like types for cell, row and column
@ -20,7 +24,7 @@
2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* broken_headers.h: remove
* Makefile.am (lyx_SOURCES): remove broken_headers.h
2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
@ -36,7 +40,7 @@
(workAreaDispatch): adapt to new coord scheme
(redoCurrentBuffer): remove
* FontIterator.[Ch]: Use Paragraph & instead of pit_type
* FontIterator.[Ch]: Use Paragraph & instead of pit_type
* bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
CurStatus enum.
@ -70,8 +74,8 @@
in insets and LyXText, draw two off-screen paragraphs using
NullPainter, and adapt to new coord scheme
* text.C:
* text2.C:
* text.C:
* text2.C:
* text3.C: adapt lfun handlers to the new coord scheme, which
means: there's only guaranteed coord information for onscreen pars
plus one above and one below. This implies that one can do search

View File

@ -124,7 +124,7 @@ namespace {
CursorSlice bottom = cursor[0];
LyXText * text = bottom.text();
BOOST_ASSERT(text);
DocIterator it = doc_iterator_begin(bottom.inset());
DocIterator const et = doc_iterator_end(bottom.inset());
@ -165,7 +165,7 @@ namespace {
} // namespace anon
// be careful: this is called from the bv's constructor, too, so
// be careful: this is called from the bv's constructor, too, so
// bv functions are not yet available!
LCursor::LCursor(BufferView & bv)
: DocIterator(), bv_(&bv), anchor_(), x_target_(-1),
@ -980,10 +980,6 @@ bool LCursor::goUpDown(bool up)
}
}
// try current cell for e.g. text insets
if (inset().idxUpDown2(*this, up))
return true;
//xarray().boundingBox(xlow, xhigh, ylow, yhigh);
//if (up)
// yhigh = yo - 4;

View File

@ -1,3 +1,7 @@
2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
* insetbase.[Ch] (idxUpDown2): remove function
2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* insettabular.[Ch]: use size_t-like types for cell, row and column

View File

@ -176,12 +176,6 @@ bool InsetBase::idxUpDown(LCursor &, bool) const
}
bool InsetBase::idxUpDown2(LCursor &, bool) const
{
return false;
}
int InsetBase::plaintext(Buffer const &,
std::ostream &, OutputParams const &) const
{

View File

@ -125,8 +125,6 @@ public:
virtual bool isActive() const { return nargs() > 0; }
/// Where should we go when we press the up or down cursor key?
virtual bool idxUpDown(LCursor & cur, bool up) const;
/// Where should we go when we press the up or down cursor key?
virtual bool idxUpDown2(LCursor & cur, bool up) const;
/// Move one cell to the left
virtual bool idxLeft(LCursor &) const { return false; }
/// Move one cell to the right