diff --git a/src/ChangeLog b/src/ChangeLog index 6e57b13d81..7082c6b234 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-11-04 Alfredo Braunstein + + * text.C (cursorPar): deactivate the cursor cache + 2003-11-03 Alfredo Braunstein * undo.C (performUndoOrRedo): fix cursor positioning with lockPath diff --git a/src/text.C b/src/text.C index db87337d15..c2e51021cf 100644 --- a/src/text.C +++ b/src/text.C @@ -1592,6 +1592,10 @@ void LyXText::backspace() ParagraphList::iterator LyXText::cursorPar() const { + return getPar(cursor.par()); +#warning have a look at this again later. + // We need some method to mark the cache as invalidated when + // the paragraph it points get removed, for this to work. if (cursor.par() != cache_pos_) { cache_pos_ = cursor.par(); cache_par_ = getPar(cache_pos_);