lyx_mirror/src
Jean-Marc Lasgouttes 1d51120eb4 Restore the persistent selection feature (disabled because of bug 3877)
See also http://www.lyx.org/trac/changeset/19003

	* BufferView.cpp (setBuffer): save selection before switching buffer
	(mouseSetCursor): save selection before resetting it
	(putSelectionAt): no need to save selection

	* Cursor.cpp (selHandle): save selection before resetting it

	* CutAndPaste.cpp (cutSelection, eraseSelection): save selection before
	deleting it.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19026 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-10 12:44:19 +00:00
..
client Whitespace cleanup 2007-05-28 22:27:45 +00:00
frontends * src/frontends/LyXView.h: 2007-07-09 20:33:32 +00:00
graphics Fix bug 3904 2007-06-26 15:45:58 +00:00
insets remove obsolete references to saveSelection 2007-07-10 10:54:42 +00:00
mathed Remove all saveSelection calls and unify theSelection().setSelection. This is the common, housekeeping part of JMarc's and my patches. Fixes of bug 3877 will come later 2007-07-06 17:03:45 +00:00
support * src/Author.h: 2007-07-09 20:52:34 +00:00
tex2lyx the -lz for zlib is already in LIBS 2007-07-04 21:54:28 +00:00
ASpell_local.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
ASpell.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
Author.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Author.h * src/Author.h: 2007-07-09 20:52:34 +00:00
Bidi.cpp We do not handle spaces around an RTL segment in a special way anymore. 2007-06-08 14:20:06 +00:00
Bidi.h Fix cursor movement inside insets within RTL mode. 2007-05-16 09:35:12 +00:00
boost.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Box.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Box.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
BranchList.cpp rename LColor into Color 2007-04-26 17:34:20 +00:00
BranchList.h I guess Windows folks are not too happy with files named color.h and Color.h 2007-04-26 19:21:38 +00:00
buffer_funcs.cpp Fix wrong intepretation of the return value of the prompt() function for the creation of new document 2007-06-20 21:07:32 +00:00
buffer_funcs.h Polish revision 18825 and fix some remaining issues with child documents. The diff is bigger than it should because of white space issues. 2007-06-19 16:03:47 +00:00
Buffer.cpp * src/Author.h: 2007-07-09 20:52:34 +00:00
Buffer.h Saves some compile time by diminishing Buffer.h header dependencies: 2007-06-15 13:13:49 +00:00
BufferList.cpp header cleanup. 2007-06-15 13:54:53 +00:00
BufferList.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
BufferParams.cpp * src/Author.h: 2007-07-09 20:52:34 +00:00
BufferParams.h * src/BufferParams.{cpp, h} 2007-05-28 12:25:53 +00:00
bufferview_funcs.cpp header cleanup. 2007-06-15 23:08:32 +00:00
bufferview_funcs.h rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
BufferView.cpp Restore the persistent selection feature (disabled because of bug 3877) 2007-07-10 12:44:19 +00:00
BufferView.h Polish revision 18825 and fix some remaining issues with child documents. The diff is bigger than it should because of white space issues. 2007-06-19 16:03:47 +00:00
Bullet.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Bullet.h
callback.cpp fix unicode decomposition (bugs 3313 and 3498): 2007-07-05 14:45:00 +00:00
callback.h Last (?) batch of renames: 2007-04-28 20:44:46 +00:00
ChangeLog rename LCursor->Cursor 2007-04-26 14:56:30 +00:00
Changes.cpp * src/Author.h: 2007-07-09 20:52:34 +00:00
Changes.h * src/Author.h: 2007-07-09 20:52:34 +00:00
Chktex.cpp Rename files in src/support, step one. 2007-04-26 05:12:52 +00:00
Chktex.h rename LyXLex into Lexer 2007-04-26 11:30:54 +00:00
Color.cpp * src/Color.cpp: 2007-05-13 16:35:31 +00:00
Color.h output changes by means of xcolor and soul 2007-05-13 15:17:57 +00:00
Converter.cpp Remove now unused originaldir flag from Converter.{cpp,h}. 2007-06-19 14:29:57 +00:00
Converter.h Remove now unused originaldir flag from Converter.{cpp,h}. 2007-06-19 14:29:57 +00:00
ConverterCache.cpp fix bug 3819 (patch from Georg Baum): 2007-07-10 09:13:21 +00:00
ConverterCache.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
CoordCache.cpp * Inset and derivatives: insetName() -> name() 2007-04-30 14:39:09 +00:00
CoordCache.h LyXText -> Text 2007-04-29 23:33:02 +00:00
Counters.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
Counters.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Cursor.cpp Restore the persistent selection feature (disabled because of bug 3877) 2007-07-10 12:44:19 +00:00
Cursor.h * the old cursor is stored before dispatch and then used after moving 2007-06-14 20:32:28 +00:00
CursorSlice.cpp remove unused CursorSlice::invalidate & isValid methods 2007-06-25 08:06:32 +00:00
CursorSlice.h remove unused CursorSlice::invalidate & isValid methods 2007-06-25 08:06:32 +00:00
CutAndPaste.cpp Restore the persistent selection feature (disabled because of bug 3877) 2007-07-10 12:44:19 +00:00
CutAndPaste.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
debug.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
debug.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
DepTable.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
DepTable.h Rename files in src/support, step one. 2007-04-26 05:12:52 +00:00
Dimension.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Dimension.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
DispatchResult.h Last (?) batch of renames: 2007-04-28 20:44:46 +00:00
DocIterator.cpp * reverting r18516, so no signals anymore in CursorSlices 2007-06-09 12:39:46 +00:00
DocIterator.h Sanitize cursor saving/restoring in a multi-view context. 2007-05-25 23:17:24 +00:00
Encoding.cpp Add support for Farsi (thanks to Mostafa Vahedi). 2007-05-31 18:53:01 +00:00
Encoding.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
ErrorList.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
ErrorList.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Exporter.cpp Use "overwrite" instead of "over-write" 2007-06-07 07:50:27 +00:00
Exporter.h Rename files in src/support, step one. 2007-04-26 05:12:52 +00:00
factory.cpp header cleanup. 2007-06-15 13:54:53 +00:00
factory.h rename InsetBase to Inset 2007-04-29 13:39:47 +00:00
Floating.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Floating.h
FloatList.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
FloatList.h
Font.cpp Fix "default" encoding to match "auto" encoding except for the actual output 2007-07-05 19:19:41 +00:00
Font.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
FontIterator.cpp LyXText -> Text 2007-04-29 23:33:02 +00:00
FontIterator.h LyXText -> Text 2007-04-29 23:33:02 +00:00
Format.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
Format.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
FuncRequest.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
FuncRequest.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
FuncStatus.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
FuncStatus.h
gettext.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
gettext.h
Graph.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Graph.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Importer.cpp Last (?) batch of renames: 2007-04-28 20:44:46 +00:00
Importer.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
InsetIterator.cpp rename InsetBase to Inset 2007-04-29 13:39:47 +00:00
InsetIterator.h rename InsetBase to Inset 2007-04-29 13:39:47 +00:00
InsetList.cpp rename InsetBase to Inset 2007-04-29 13:39:47 +00:00
InsetList.h rename InsetBase to Inset 2007-04-29 13:39:47 +00:00
Intl.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Intl.h consolidate tex-accent.* Trans.* KmodInfo.h into Trans.{h,cpp}. All stuff was used at most once and basically implementation details 2007-04-30 21:44:00 +00:00
ISpell.cpp Rename files in src/support, step one. 2007-04-26 05:12:52 +00:00
ISpell.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
KeyMap.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
KeyMap.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
KeySequence.cpp rename LyXKeySym into KeySymbol 2007-04-27 08:43:38 +00:00
KeySequence.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
Language.cpp rename LyXLex into Lexer 2007-04-26 11:30:54 +00:00
Language.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
LaTeX.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
LaTeX.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
LaTeXFeatures.cpp fix bug 1942: http://bugzilla.lyx.org/show_bug.cgi?id=1942 2007-06-22 21:25:41 +00:00
LaTeXFeatures.h Georg's patch for bug 3043: 2007-05-06 20:26:02 +00:00
Layout.cpp Fix bug 3750: this code is a kludge and should be removed when tex2lyx is 2007-07-02 16:02:41 +00:00
Layout.h Fix bug 3750: this code is a kludge and should be removed when tex2lyx is 2007-07-02 16:02:41 +00:00
Length.cpp rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
Length.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
lengthcommon.cpp rename/merge LyXLength related stuff 2007-04-28 12:58:49 +00:00
lengthcommon.h rename/merge LyXLength related stuff 2007-04-28 12:58:49 +00:00
Lexer.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
Lexer.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
lfuns.h Fix bug 3799. 2007-06-06 13:52:31 +00:00
LyX.cpp Polish the Toc and labels updating when loading a child document. 2007-06-19 14:56:52 +00:00
LyX.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
LyXAction.cpp Fix bug 3799. 2007-06-06 13:52:31 +00:00
LyXAction.h
lyxfind.cpp * src/BufferView.cpp: 2007-06-19 21:48:04 +00:00
lyxfind.h * src/BufferView.cpp: 2007-06-19 21:48:04 +00:00
LyXFunc.cpp * src/frontends/LyXView.h: 2007-07-09 20:33:32 +00:00
LyXFunc.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
lyxlayout_ptr_fwd.h rename LyXLayout into Layout 2007-04-29 18:58:28 +00:00
LyXRC.cpp * src/frontends/qt4/ui/TextLayoutUi.ui: 2007-06-12 21:05:25 +00:00
LyXRC.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
LyXVC.cpp Last (?) batch of renames: 2007-04-28 20:44:46 +00:00
LyXVC.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
main.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Makefile.am André was nice to scons and forgot autotools :-) 2007-05-15 11:27:04 +00:00
MenuBackend.cpp Fix missing signal emission following revision 18693. 2007-06-09 22:21:21 +00:00
MenuBackend.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
Messages.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
Messages.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
MetricsInfo.cpp rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
MetricsInfo.h rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
Mover.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
Mover.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
output_docbook.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
output_docbook.h remove ParagraphList_fwd.h 2007-04-26 08:30:11 +00:00
output_latex.cpp Fix "default" encoding to match "auto" encoding except for the actual output 2007-07-05 19:19:41 +00:00
output_latex.h Fix "default" encoding to match "auto" encoding except for the actual output 2007-07-05 19:19:41 +00:00
output_plaintext.cpp "fix" bug #3332 (plain text export depends on the menu language) 2007-05-01 08:26:40 +00:00
output_plaintext.h
output.cpp Last (?) batch of renames: 2007-04-28 20:44:46 +00:00
output.h
OutputParams.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
OutputParams.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
paper.h
paragraph_funcs.cpp Fix to bug 3886 2007-06-26 14:11:42 +00:00
paragraph_funcs.h Fix to bug 3886 2007-06-26 14:11:42 +00:00
Paragraph.cpp * src/Author.h: 2007-07-09 20:52:34 +00:00
Paragraph.h * src/Author.h: 2007-07-09 20:52:34 +00:00
ParagraphList.h remove ParagraphList_fwd.h 2007-04-26 08:30:11 +00:00
ParagraphMetrics.cpp rename LyXTextClass* into TextClass* 2007-04-29 19:53:54 +00:00
ParagraphMetrics.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
ParagraphParameters.cpp Fix some issues with the paragraph settings dialog. The main change 2007-06-28 00:48:06 +00:00
ParagraphParameters.h resolve the layout.h <=> Layout.h conflict 2007-04-29 22:04:32 +00:00
ParIterator.cpp LyXText -> Text 2007-04-29 23:33:02 +00:00
ParIterator.h LyXText -> Text 2007-04-29 23:33:02 +00:00
pch.h
PrinterParams.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
PrinterParams.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
PSpell.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
PSpell.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Row.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Row.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
rowpainter.cpp Fix bug 3889 (justification of Bidi text in the GUI) 2007-07-09 17:18:35 +00:00
rowpainter.h LyXText -> Text 2007-04-29 23:33:02 +00:00
Section.cpp rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
Section.h rename LyXFont to Font except in tex2lyx 2007-04-29 18:17:15 +00:00
Server.cpp rename LyXServer into Server 2007-04-29 16:22:46 +00:00
Server.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
ServerSocket.cpp Fix bug 3904 2007-06-26 15:45:58 +00:00
ServerSocket.h rename LyXServer into Server 2007-04-29 16:22:46 +00:00
Session.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
Session.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
sgml.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
sgml.h
Spacing.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Spacing.h
SpellBase.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
SpellBase.h
stamp-h.in
TexRow.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
TexRow.h Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Text2.cpp Fix some issues with the paragraph settings dialog. The main change 2007-06-28 00:48:06 +00:00
Text3.cpp * Text3.cpp (doDispatch): fix the behaviour of word-delete-forward, 2007-07-10 12:20:00 +00:00
Text.cpp remove obsolete references to saveSelection 2007-07-10 10:54:42 +00:00
Text.h * local_bidi.patch: The bidi object in the class Text is only used in 2007-06-07 20:39:14 +00:00
TextClass.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
TextClass.h rename LyXTextClass* into TextClass* 2007-04-29 19:53:54 +00:00
TextClassList.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
TextClassList.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
TextMetrics.cpp * Font are lightweight, so better do not change the other font, but a copy 2007-06-10 15:34:00 +00:00
TextMetrics.h * Clear the paragraph metrics cache as well on redraw: 2007-06-21 06:41:55 +00:00
Thesaurus.cpp * src/Thesaurus.cpp: 2007-06-07 17:27:10 +00:00
Thesaurus.h * src/Thesaurus.{cpp, h}: revert accidental commit in rev18538. 2007-05-28 07:56:38 +00:00
toc.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
toc.h rename LCursor->Cursor 2007-04-26 14:56:30 +00:00
TocBackend.cpp Cosmetics. 2007-06-12 12:29:19 +00:00
TocBackend.h Cosmetics. 2007-06-12 12:29:19 +00:00
ToolbarBackend.cpp * src/frontends/LyXView.h: 2007-07-09 20:33:32 +00:00
ToolbarBackend.h * src/frontends/LyXView.h: 2007-07-09 20:33:32 +00:00
Trans.cpp fix unicode decomposition (bugs 3313 and 3498): 2007-07-05 14:45:00 +00:00
Trans.h Whitespace cleanup 2007-05-28 22:27:45 +00:00
Undo.cpp * move TOC update behind cur.fixIfBroken() to fix #3851 2007-06-13 07:43:34 +00:00
Undo.h rename MathArray into MathData 2007-04-26 16:06:39 +00:00
update_flags.h Last (?) batch of renames: 2007-04-28 20:44:46 +00:00
Variables.cpp Rename .C ==> .cpp for files in src/ 2007-04-26 04:46:45 +00:00
Variables.h
VCBackend.cpp Rename files in src/support, step one. 2007-04-26 05:12:52 +00:00
VCBackend.h Rename files in src/support, step one. 2007-04-26 05:12:52 +00:00
version.cpp.in Last(?) missing rename: version.C -> version.cpp 2007-05-04 00:47:24 +00:00
version.h
VSpace.cpp LyXText -> Text 2007-04-29 23:33:02 +00:00
VSpace.h rename/merge LyXLength related stuff 2007-04-28 12:58:49 +00:00
WordLangTuple.h