lyx_mirror/lib
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
..
bind fix LFUN enum values (some of them were broken by r13801) 2006-05-08 18:09:19 +00:00
clipart Initial revision 1999-09-27 18:44:28 +00:00
doc fix image paths 2006-07-09 10:14:04 +00:00
examples Call python with the -tt switch to make mixed tab/space indentation an error 2006-06-30 13:54:01 +00:00
images Add \overset and \underset to math panel (bug 2533): 2006-05-18 07:10:56 +00:00
kbd Ensure that the last line of text files ends with a newline. 2006-01-19 00:40:38 +00:00
layouts 2006-06-01 Panayotis Papasotiriou <papasot@physics.upatras.gr> 2006-06-01 13:13:16 +00:00
lyx2lyx lib/lyx2lyx/lyx_1_5.py: replace tab with spaces 2006-07-03 20:09:43 +00:00
scripts Fix humiliating typo and update the link to the licence page on the web. 2006-07-07 15:58:57 +00:00
templates 2006-06-01 Panayotis Papasotiriou <papasot@physics.upatras.gr> 2006-06-01 13:13:16 +00:00
tex Ensure that the last line of text files ends with a newline. 2006-01-19 00:40:38 +00:00
ui Split clipboard and X selection 2006-07-10 11:32:25 +00:00
autocorrect Whitespace only. 2003-10-13 09:50:10 +00:00
build-listerrors Whitespace only. 2003-10-13 09:50:10 +00:00
ChangeLog merge booktabs branch 2006-07-03 19:13:56 +00:00
chkconfig.ltx merge booktabs branch 2006-07-03 19:13:56 +00:00
configure.py lib/configure.py: fix CheckTexPaths 2006-07-08 02:50:24 +00:00
CREDITS Add Peter Kümmel to our list of contributers. 2006-06-07 14:14:38 +00:00
encodings Latin-7 patch 2004-06-22 06:08:11 +00:00
external_templates Fix bug 2107: 2006-03-28 18:49:46 +00:00
generate_contributions.py Call python with the -tt switch to make mixed tab/space indentation an error 2006-06-30 13:54:01 +00:00
languages add support for naustrian; fix locale for austrian 2006-04-24 12:28:52 +00:00
lyxrc.example * src/lyxrc.C: 2006-07-09 17:57:15 +00:00
Makefile.am Replace lib/scriptsfig2pdftex.sh and fig2pstex.sh by their python version 2006-06-29 15:30:22 +00:00
symbols Fix limit display of intop and ointop 2006-06-26 15:01:35 +00:00
syntax.default partial fix for bug 2132 2005-11-25 09:37:09 +00:00