mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
deactivate the cursor cache
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8025 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
918df906bb
commit
5adaa51785
@ -1,3 +1,7 @@
|
||||
2003-11-04 Alfredo Braunstein <abraunst@libero.it>
|
||||
|
||||
* text.C (cursorPar): deactivate the cursor cache
|
||||
|
||||
2003-11-03 Alfredo Braunstein <abraunst@libero.it>
|
||||
|
||||
* undo.C (performUndoOrRedo): fix cursor positioning with lockPath
|
||||
|
@ -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_);
|
||||
|
Loading…
Reference in New Issue
Block a user