lyx_mirror/src/insets
Georg Baum c9c6ed0b7f Split clipboard and X selection
* src/LyXAction.C
	(LyXAction::init): handle new LFUN_CLIPBOARD_PASTE

	* src/insets/insettabular.C
	(InsetTabular::doDispatch): ditto

	* src/insets/insetbox.C
	(InsetBox::doDispatch): ditto

	* src/insets/insetert.C
	(InsetERT::doDispatch): ditto
	(InsetERT::getStatus): ditto

	* src/insets/insetcharstyle.C
	(InsetCharStyle::doDispatch): ditto

	* src/BufferView_pimpl.C
	(BufferView::Pimpl::selectionRequest): stuff selection, not clipboard

	* src/mathed/math_nestinset.C
	(MathNestInset::lfunMousePress): get stuff selection, not clipboard
	(MathNestInset::lfunMouseRelease): clipboard -> selection in
	commented code

	* src/CutAndPaste.C
	(cutSelection): ditto

	* src/frontends/{qt3,gtk}/GuiImplementation.C
	(GuiImplementation::newWorkArea): create new selection, not clipboard,
	since the clipboard is now an object
	(GuiImplementation::destroyWorkArea): destroy selection, not clipboard

	* src/frontends/{qt4,qt3,gtk}/GuiSelection.h: new, copied from
	GuiClipboard.h

	* src/frontends/{qt4,qt3,gtk}/GuiSelection.C: new, copied from
	GuiClipboard.C

	* src/frontends/{qt3,gtk}/GuiImplementation.h
	(selection): new accessor for selection_
	(selection_): new, the global selection object

	* src/frontends/{qt4,qt3,gtk}/Makefile.am: add GuiSelection.C and
	GuiSelection.h

	* src/frontends/{qt4,qt3,gtk}/GuiClipboard.C
	(GuiClipboard::get): return clipboard, not selection
	(GuiClipboard::put): stuff clipboard, not selection

	* src/frontends/{qt4,qt3,gtk}/GuiClipboard.h
	(haveSelection): remove (this is now in GuiSelection)

	* src/frontends/{qt3,gtk}/GuiClipboard.h
	(old_work_area_): remove, since it is not needed anymore

	* src/frontends/gtk/ghelpers.C
	(getGTKStockIcon): handle LFUN_CLIPBOARD_PASTE

	* src/frontends/Clipboard.h
	(haveSelection): remove (this is now in Selection)

	* src/frontends/qt4/GuiImplementation.[Ch]
	(GuiImplementation::selection): new accessor for selection_

	* src/frontends/Gui.h
	(selection): New accessor for the global selection object

	* src/frontends/Selection.h; new, copied from Clipboard.h

	* src/frontends/Makefile.am: add Selection.h

	* src/text3.C
	(various): s/clipboard().haveSelection/selection().haveSelection/

	(LyXText::dispatch): handle LFUN_CLIPBOARD_PASTE
	(LyXText::getStatus): ditto

	* src/lfuns.h: new lfun LFUN_CLIPBOARD_PASTE

	* lib/ui/stdmenus.ui: add new lfun LFUN_CLIPBOARD_PASTE


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14408 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-10 11:32:25 +00:00
..
ChangeLog merge booktabs branch 2006-07-03 19:13:56 +00:00
ExternalSupport.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
ExternalSupport.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
ExternalTemplate.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
ExternalTemplate.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
ExternalTransforms.C the convert patch 2005-01-27 21:05:44 +00:00
ExternalTransforms.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
inset.C send UpdatableInset down the way of the Dodo 2005-07-15 22:10:25 +00:00
inset.h send UpdatableInset down the way of the Dodo 2005-07-15 22:10:25 +00:00
insetbase.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetbase.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetbibitem.C * output_latex.h: 2006-03-23 20:11:06 +00:00
insetbibitem.h Add the bibitemWidest declaration to insetbibitem.h. 2005-01-23 16:36:36 +00:00
insetbibtex.C Much better performance when using natbib (bug 2460): 2006-04-15 11:46:17 +00:00
insetbibtex.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetbox.C Split clipboard and X selection 2006-07-10 11:32:25 +00:00
insetbox.h * insetbox.h: add noFontChange() == true to prevent LaTeX error for 2006-06-09 12:10:49 +00:00
insetbranch.C Partial fix bug 2092: branches not propagated to child documents 2005-11-02 13:54:33 +00:00
insetbranch.h bug 2092: branches not propagated to child documents 2005-10-25 15:21:49 +00:00
insetcaption.C Slight improvement to caption inset 2006-05-28 17:02:57 +00:00
insetcaption.h Slight improvement to caption inset 2006-05-28 17:02:57 +00:00
insetcharstyle.C Split clipboard and X selection 2006-07-10 11:32:25 +00:00
insetcharstyle.h Fix the bug reported by Markus Mayer, that paragraph styles like 2006-03-25 16:23:06 +00:00
insetcite.C Much better performance when using natbib (bug 2460): 2006-04-15 11:46:17 +00:00
insetcite.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetcollapsable.C Redefine the speed-up "Wide" patch to draw proper boxes 2006-06-20 12:39:39 +00:00
insetcollapsable.h This is the merging of the GUI API cleanup branch that was developed in svn+ssh://svn.lyx.org/lyx/lyx-devel/branches/personal/younes. 2006-06-20 08:39:16 +00:00
insetcommand.C rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
insetcommand.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetcommandparams.C fix out of range access to string 2005-05-06 14:15:31 +00:00
insetcommandparams.h support for second \cite option. 2004-03-05 14:49:10 +00:00
insetenv.C clone NVI, other small stuff 2004-11-23 23:04:52 +00:00
insetenv.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetert.C Split clipboard and X selection 2006-07-10 11:32:25 +00:00
insetert.h fix bug 2316 2006-02-27 12:22:36 +00:00
insetexternal.C Update on view-source feature (r13610), from Bo Peng (ben.bob@gmail.com) 2006-04-10 16:27:59 +00:00
insetexternal.h implement missing getStatus methods 2005-04-22 08:57:22 +00:00
insetfloat.C * TocBackend.[Ch]: new files defining class TocBackend. This class contains adapted code from former toc.C 2006-04-22 18:48:28 +00:00
insetfloat.h implement missing getStatus methods 2005-04-22 08:57:22 +00:00
insetfloatlist.C InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetfloatlist.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetfoot.C clone NVI, other small stuff 2004-11-23 23:04:52 +00:00
insetfoot.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetfootlike.C Fix defaultFont problems (bug 2308) 2006-02-22 15:44:57 +00:00
insetfootlike.h Fix font inside inset (bugs 1766, 1809) 2005-04-10 14:07:33 +00:00
insetgraphics.C make FileName::isZipped more efficient by caching previous results 2006-07-08 14:16:56 +00:00
insetgraphics.h implement missing getStatus methods 2005-04-22 08:57:22 +00:00
insetgraphicsParams.C Protect '#warning ...' with '#ifdef WITH_WARNINGS' guard. 2005-01-31 10:20:29 +00:00
insetgraphicsParams.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
insethfill.C clone NVI, other small stuff 2004-11-23 23:04:52 +00:00
insethfill.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetinclude.C Prevent automatic opening of child docs because of natbib labels 2006-05-19 07:21:43 +00:00
insetinclude.h Prevent automatic opening of child docs because of natbib labels 2006-05-19 07:21:43 +00:00
insetindex.C InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetindex.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
insetlabel.C probably fixed bug 1561 2005-07-17 23:03:01 +00:00
insetlabel.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetlatexaccent.C fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetlatexaccent.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetline.C This is the merging of the GUI API cleanup branch that was developed in svn+ssh://svn.lyx.org/lyx/lyx-devel/branches/personal/younes. 2006-06-20 08:39:16 +00:00
insetline.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetmarginal.C Docbook fixes from Andreas 2005-02-28 13:14:48 +00:00
insetmarginal.h Docbook fixes from Andreas 2005-02-28 13:14:48 +00:00
insetnewline.C Remove space at end of line, when superfluous. 2004-08-16 11:27:51 +00:00
insetnewline.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetnote.C Add support for framed.sty 2006-06-03 16:46:27 +00:00
insetnote.h Add support for framed.sty 2006-06-03 16:46:27 +00:00
insetoptarg.C fix crash with insetoparg (bug 1890) 2005-06-02 15:01:16 +00:00
insetoptarg.h implement and use virtual bool neverIndent() (thereby fixing bug 2003) 2005-09-10 06:51:58 +00:00
insetpagebreak.C This is the merging of the GUI API cleanup branch that was developed in svn+ssh://svn.lyx.org/lyx/lyx-devel/branches/personal/younes. 2006-06-20 08:39:16 +00:00
insetpagebreak.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetquotes.C fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetquotes.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetref.C Don't jump back to cursor on inset clicking: 2006-04-15 15:10:03 +00:00
insetref.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetspace.C fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetspace.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetspecialchar.C fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetspecialchar.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insettabular.C Split clipboard and X selection 2006-07-10 11:32:25 +00:00
insettabular.h * src/insets/insettabular.h: return true for allowSpellcheck (bug 2675) 2006-07-07 10:18:33 +00:00
insettext.C Redefine the speed-up "Wide" patch to draw proper boxes 2006-06-20 12:39:39 +00:00
insettext.h Redefine the speed-up "Wide" patch to draw proper boxes 2006-06-20 12:39:39 +00:00
insettheorem.C clone NVI, other small stuff 2004-11-23 23:04:52 +00:00
insettheorem.h clone NVI, other small stuff 2004-11-23 23:04:52 +00:00
insettoc.C InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insettoc.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
inseturl.C fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
inseturl.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetvspace.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetvspace.h fix bug 2022 2005-09-12 14:57:50 +00:00
insetwrap.C * TocBackend.[Ch]: new files defining class TocBackend. This class contains adapted code from former toc.C 2006-04-22 18:48:28 +00:00
insetwrap.h implement missing getStatus methods 2005-04-22 08:57:22 +00:00
mailinset.C Cruft removal, small clean-up, no functional changes. 2003-12-12 10:05:21 +00:00
mailinset.h Remove a whole heap of redundant functions from classes derived from 2003-12-11 15:23:15 +00:00
Makefile.am send UpdatableInset down the way of the Dodo 2005-07-15 22:10:25 +00:00
pch.h Use the preferred calling for Boost.Signal 2004-09-26 14:19:47 +00:00
render_base.h clone NVI, other small stuff 2004-11-23 23:04:52 +00:00
render_button.C Refactoring of renderer code to make inset code simpler. 2004-04-13 17:25:23 +00:00
render_button.h Refactoring of renderer code to make inset code simpler. 2004-04-13 17:25:23 +00:00
render_graphic.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
render_graphic.h Remove unused member function and variable. 2004-04-16 16:01:47 +00:00
render_preview.C Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
render_preview.h remove unneeded calls to BufferView::update() in insets 2005-05-09 17:29:22 +00:00