Commit Graph

14757 Commits

Author SHA1 Message Date
Bo Peng
4ed5939d2e InsetInfo: add MENU_INFO (menu paste ==> Edit > Paste)
* src/insets/InsetInfo.h|cpp: handle MENU_INFO
	* src/MenuBackend.h|cpp: add searchFunc function


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20907 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 15:14:11 +00:00
Bo Peng
c37b495ca0 InsetInfo: add shortcut C-S-I. (there will be no menu item, because this feature is for developers and document maintainers)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20906 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 15:08:30 +00:00
Bo Peng
353aacab4b InsetInfo: lyx2lyx support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20905 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 14:56:34 +00:00
Bo Peng
62c98f2ffc InsetInfo: add InsetInfo (core)
* src/insets/Inset.cpp: add InsetInfo
	* src/insets/Inset.h
	* src/insets/InsetInfo.cpp
	* src/insets/InsetInfo.h
	* src/LyXAction.cpp: add LFUN_INFO_INSERT
	* src/lfuns.h
	* src/BufferView.cpp: 
	* src/factory.cpp
	* src/Text3.cpp: insert InsetInfo with selected text
	* development/scons/scons_manifest.py: build tools update
	* src/Makefile.am


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20904 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 14:52:00 +00:00
Abdelrazak Younes
a800da1bfe initial support for shift + right-mouse-click selection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20903 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 14:46:53 +00:00
Abdelrazak Younes
70b938bf5a Transfer some LFUNs from LyXFunc::getStatus() to BufferView::getStatus(). What a mess!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20902 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 13:20:21 +00:00
Abdelrazak Younes
a9c2a907c0 Remove "DocIterator.h" header dependencies in Buffer.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20901 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 12:48:24 +00:00
Abdelrazak Younes
59aae2aa83 Don't restart the blinking cursor inside WorkArea because some shortcuts can delete the current WorkArea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20900 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 12:31:48 +00:00
Abdelrazak Younes
9f60651fcb Metrics fix. Empty math inset doesn't have zero dimension.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20899 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 10:33:36 +00:00
Martin Vermeer
04ee2d87fc Introduce allowMultiPar()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20898 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 10:13:45 +00:00
Abdelrazak Younes
c2b139d5a0 fix in r20895 was not fully correct.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20897 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 10:05:04 +00:00
Abdelrazak Younes
9a458ec6e9 Move private part of BufferView to a private implementation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20896 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 09:59:01 +00:00
Abdelrazak Younes
a2bc74bca8 Crash fix. I don't know why this is triggered only now... I guess someone changed the way toolbars are initialized. The changes are safer anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20895 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 09:57:52 +00:00
Abdelrazak Younes
57a8d370d4 Header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20894 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 07:26:06 +00:00
Abdelrazak Younes
18137a6ad6 Fix cursor blinking after unknown action.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20893 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 07:03:17 +00:00
André Pönitz
b55f17ecb5 shut up
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20892 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 06:17:52 +00:00
André Pönitz
a4afd7b7e9 thinko
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20891 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 22:03:22 +00:00
André Pönitz
264a3d1cb4 fix bug reported by Jean-Marc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20890 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 16:57:05 +00:00
Martin Vermeer
74d5587268 Oops
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 13:42:34 +00:00
Martin Vermeer
0f4d519108 A saner way to reset paragraphs to default when inserting inset around selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20888 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 13:25:37 +00:00
Edwin Leuven
dddcccfebe designer sucks sometimes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20887 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 09:50:03 +00:00
Abdelrazak Younes
671ca5908e Opened, resize a bit and saved in Designer 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20886 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 09:26:42 +00:00
Edwin Leuven
1cdf324716 try again with designer 4.1 (sorry!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20885 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 09:22:36 +00:00
Abdelrazak Younes
e3032e7d0e * BufferView::update(): renamed to processUpdateFlags() to clarify the intent. Also get rid of the default argument which added to the confusion as to what was the purpose of update(). Now also emit Buffer::changed() signal internally instead of assuming that the caller will act upon the returned boolean.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20884 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 08:52:55 +00:00
Edwin Leuven
6a474e739c small tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20883 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 08:26:08 +00:00
Uwe Stöhr
3ac983b1ab BiblioUi.ui: fix too wide groupbox by adding a spacer
FloatPlacementUi.ui: fix too large groupbox by adding spacers
ParagraphUi.ui: fix dialog definition - was automatically done by designer
PDFSupportUi.ui: fix too large groupbox by adding a spacer

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20882 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 01:07:49 +00:00
Uwe Stöhr
38dfe36093 PDFOptions: Pavel's final touches patch
PDFSupportUi.ui: recreated dialog to fix the appearance in the dialog settings dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20881 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-10 00:34:23 +00:00
Uwe Stöhr
392ddbfdbd BufferParams.cpp: babel must be loaded even when there is no given language parameter, due to the Japanese support package that does this later
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20880 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 23:03:14 +00:00
Uwe Stöhr
1484691640 BufferParams.cpp: empty the encodings when the Japanese plain encodings are used to prevent that inputenc is used (according to the suggestion by JMarc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20879 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 22:26:17 +00:00
André Pönitz
268ac4a951 create an attic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20878 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 22:22:59 +00:00
André Pönitz
ea75523e59 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20877 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 22:19:04 +00:00
André Pönitz
74f8d6dc6a cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20876 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 22:13:51 +00:00
André Pönitz
5342ee5aad finally merge Dialog and Controller
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20875 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 21:21:01 +00:00
André Pönitz
fee6fea248 some controller simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20871 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 19:52:34 +00:00
André Pönitz
6f3cdf8da8 move Controller inheritance further up the tree
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20870 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 19:34:27 +00:00
Martin Vermeer
5a2deb94c3 Fix bug, and introduce MultiPar parameter for flex insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20869 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 17:07:24 +00:00
Abdelrazak Younes
89c7ca6a28 clear the pixmap cache and the font metrics cache in case of zoom or dpi changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20867 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 14:10:55 +00:00
Abdelrazak Younes
c1472a5c78 * GuiViewSource: port back to DockView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20866 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 09:43:56 +00:00
Abdelrazak Younes
17ffac2ae9 Fix memory leak.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20865 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 09:29:27 +00:00
Abdelrazak Younes
1a600cbff0 * GuiToc: make it work.
* GuiView::activate event: remove explicit updateToc() call as this is already done as part of updateBufferDependent().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20864 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 08:06:36 +00:00
Abdelrazak Younes
de9eb00a0e set eol-style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20863 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 06:39:53 +00:00
Abdelrazak Younes
bdc2a753d7 set eol-style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20862 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 06:38:07 +00:00
Uwe Stöhr
71ea6e7a8b BufferParams.cpp: next step for proper traditional Japanese support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20861 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 00:59:16 +00:00
Uwe Stöhr
d44d755732 lyx2lyx/lyx_1_6.py: forgot to revert the encoding too in my last commit (r20859)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 00:12:48 +00:00
Uwe Stöhr
a9b5b1ff9a Fileformat incremented to 293 due to yesterdays' support for japanese-plain (r20831)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20859 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 23:40:23 +00:00
Uwe Stöhr
ded6db3e0b update SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20858 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 23:17:32 +00:00
Bernhard Roider
eb95d6bb59 fix pch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20856 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 20:38:55 +00:00
Abdelrazak Younes
8dc0c09d72 Merge Dialog and Controller in DockView. Still crashes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20855 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 20:14:58 +00:00
Peter Kümmel
f63c57f0c2 remove X11's namespace pollution
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20854 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 19:36:15 +00:00
Edwin Leuven
3442a6fba7 more cmake stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20852 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 15:17:02 +00:00