lyx_mirror/src/frontends
Abdelrazak Younes 3fdbf5b9c4 Sanitize cursor saving/restoring in a multi-view context.
* Inset: new destroyed signal (copy ctor and operator= needed because of a signal is not copiable)

* CursorSlice:
 - connect to inset destructor wherever possible
 - invalidate(), isValid(): new method.
 - inset_: now private

* DocIterator::fixIfBroken(): new method for properly fixing cursors.

* StableDocIterator::asDocIterator(): verify cursor sanity before creating it.

* Cursor::fixIfBroken(): now a simple wrapper around DocIterator::fixIfBroken()

* BufferView::setBuffer(): verify cursor sanity before restoring it.

* WorkArea::redraw(): verify cursor sanity of concurrent BufferView display.


 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18516 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-25 23:17:24 +00:00
..
controllers l10n work: 2007-05-25 09:20:35 +00:00
qt4 fix merge build src/frontends/qt4/QDocument.cpp 2007-05-25 15:05:46 +00:00
Alert_pimpl.h
alert.cpp Last (?) batch of renames: 2007-04-28 20:44:46 +00:00
alert.h Last (?) batch of renames: 2007-04-28 20:44:46 +00:00
Application.cpp rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
Application.h rename LColor into Color 2007-04-26 17:34:20 +00:00
ChangeLog rename LCursor->Cursor 2007-04-26 14:56:30 +00:00
Clipboard.h Rename .C ==> .cpp for files in src/frontends, part one 2007-04-26 04:02:55 +00:00
Dialogs.cpp rename InsetBase to Inset 2007-04-29 13:39:47 +00:00
Dialogs.h rename InsetBase to Inset 2007-04-29 13:39:47 +00:00
FileDialog.h
FontLoader.h rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
FontMetrics.h rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
Gui.h
key_state.h
KeySymbol.h rename LyXKeySym into KeySymbol 2007-04-27 08:43:38 +00:00
LyXView.cpp This patch solves this crash (due to an assertion): 2007-05-17 19:19:37 +00:00
LyXView.h rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
Makefile.am André was nice to scons and forgot autotools :-) 2007-05-15 11:27:04 +00:00
Menubar.h
mouse_state.h
NoGuiFontLoader.h rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
NoGuiFontMetrics.h Rename .C ==> .cpp for files in src, part one 2007-04-26 04:41:58 +00:00
Painter.cpp rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
Painter.h rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
pch.h
Selection.h Rename .C ==> .cpp for files in src/frontends, part one 2007-04-26 04:02:55 +00:00
Timeout.cpp Rename .C ==> .cpp for files in src/frontends, part two 2007-04-26 04:03:46 +00:00
Timeout.h
Toolbars.cpp - introduces toolbar_toggle lfun 2007-05-23 22:08:07 +00:00
Toolbars.h - introduces toolbar_toggle lfun 2007-05-23 22:08:07 +00:00
WorkArea.cpp Sanitize cursor saving/restoring in a multi-view context. 2007-05-25 23:17:24 +00:00
WorkArea.h rename LyXKeySym into KeySymbol 2007-04-27 08:43:38 +00:00