Commit Graph

188 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
df3cddcd37 Add "Insert label as reference" to the context menu of the TOC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29157 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 22:03:28 +00:00
Vincent van Ravesteijn
695870771f Add "Copy label as reference" to context menu of the TOC.
(Note: it is not perfect yet for references in the same model as the labels).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29156 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 21:40:42 +00:00
Jean-Marc Lasgouttes
6c422712e1 Extend the branch-(de)activate functions to work without a parameter. In
this case, when the cursor is on a branch inset (using the AtPoint mechanism)
the branch to which the branch inset belongs will be (de)activated.

This functionality can now be used through the branch inset context menu



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28987 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 09:38:07 +00:00
Jean-Marc Lasgouttes
30afece93d Kill next-inset-toggle and expand inset-toggle to provide the same functionality
* src/LyXAction.h: introduce new function attribute AtPoint: this is 
	for lfuns that should first look at cursor postion whether there
	is an inset, before dispatching to container inset.
	* src/LyXAction.cpp: remove LFUN_NEXT_INSET_TOGGLE; 
	mark LFUN_INSET_TOGGLE as AtPoint.
	* src/BufferView.cpp (dispatch, getStatus): remove handling of
	LFUN_NEXT_INSET_TOGGLE.
	* src/LyXFunc.cpp (dispatch, getStatus): handle functions marked 
	AtPoint.	
	* lib/*/*: replace next-inset-toggle with inset-toggle.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28980 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-30 13:49:52 +00:00
Pavel Sanda
1486fb5d64 Add open/close to context menus, solve some shortcut conflicts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28721 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-07 21:44:21 +00:00
Pavel Sanda
e59dbac2ed Introduce jump-back navigation through bookmark 0
http://bugzilla.lyx.org/show_bug.cgi?id=898
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147949.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28478 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 13:46:08 +00:00
Uwe Stöhr
b742ff6406 support for the LaTeX commands \*phantom, fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28292 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-30 00:56:37 +00:00
Georg Baum
ac1fd9b37f fix bug 2558: hspace support in math
The basic idea was to reuse the corresponding text space inset in the same
fashion as is already done for references. The dialog displays a different
selection for math than for text. If wanted, the additional spaces could
also be enabled for text, but that would be a file format change.
Constructs like \hspace{\mylengthvariable} that are not supported are
treated by the math parser as ERT as before.

For reasons I don't know the context menu does not work, but this is not so
important IMHO (since a left click opens the dialog).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27954 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 18:12:32 +00:00
Uwe Stöhr
2ec3ce818a stdcontext.inc: forgot the renaming in this file in r27794 therefore another po-file remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27803 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-07 18:48:53 +00:00
Stefan Schimanski
5a10add52e * "Copy as Reference" in the context menu of a label
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27575 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:19:07 +00:00
Jürgen Spitzmüller
6a6a33b6fa * stdcontext.inc: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27136 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 13:50:46 +00:00
Abdelrazak Younes
976bdcbc3b Insert Short Title context menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26337 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-08 14:22:03 +00:00
Jürgen Spitzmüller
21d44e7f14 * stdcontext.inc:
- add open/close and dissolve items to listings cm.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25754 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 07:18:53 +00:00
Pavel Sanda
d2a93f8a05 * Menus: these are dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25255 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 09:23:23 +00:00
Pavel Sanda
07113cf424 LFUN_FONT_FREE_* -> LFUN_TEXSTYLE_*
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141274.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25225 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 08:35:15 +00:00
Bo Peng
f5101ebec8 InsetInfo: allow select and copy of text inside InsetInfo, trigger the info dialog correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25151 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 03:25:36 +00:00
Abdelrazak Younes
f276338227 Preliminar InsetInfo dialog. This was done as an exercise to show Bo (an others) how easy it is to create a new dialog. This dialog needs to be filled in, right now, there is just an OK button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25144 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 15:08:46 +00:00
Abdelrazak Younes
eef4223e1b fix duplicate shortcuts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24994 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-29 11:45:00 +00:00
Jean-Marc Lasgouttes
703eca7670 make display of group list only depend on existence of groups; move the addition of a separator to the ui file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24941 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-26 09:33:08 +00:00
Pavel Sanda
13e42a8c73 Introduce groups for graphics insets. That includes:
- GuiGraphics dialog field for setup new groups.
- Graphics context menu for assigning to certain group.
- Fileformat change for groupId field in Graphics inset.
- Undo mechanism added to inset-apply, for catching changes
  in preference dialog.
- Qt designer 4.4 used now.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24644 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 21:13:09 +00:00
Abdelrazak Younes
a75742cb98 fix inverted lfuns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24611 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 08:12:32 +00:00
Abdelrazak Younes
a01ff241e2 Add context menu for outline operations. Choice of words might not be best.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24610 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 07:52:48 +00:00
Jürgen Spitzmüller
95767b840b support for rightarrowfill, leftarrowfill, upbracefill, downbracefill, by Helge Hafting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24567 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 20:11:57 +00:00
Jürgen Spitzmüller
99f2abf59f dynamic context menu for InsetCitation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24538 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 15:21:55 +00:00
Jürgen Spitzmüller
a585806b3c Implement inset-edit in InsetBibtex and add a context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24536 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 15:14:18 +00:00
Jürgen Spitzmüller
c778f093ea basic context menu for InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24531 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 05:12:28 +00:00
Jürgen Spitzmüller
1458cd52b7 * implement "inset-edit" in InsetInclude.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24528 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 18:03:21 +00:00
Jürgen Spitzmüller
878b3ce315 Implement basic context menu for include insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24525 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 15:49:15 +00:00
Pavel Sanda
ff473c9787 Add dissolving to insets context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24114 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-04 10:49:01 +00:00
Jürgen Spitzmüller
c2ebb0b952 * some UI clarification on \enspace vs. \enskip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24087 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 14:53:29 +00:00
Abdelrazak Younes
eab9af1e6a fix duplicate shortcuts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24022 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-28 22:03:04 +00:00
Abdelrazak Younes
6a3a4135fc add some flesh to math context menu. Not sure my choice of items are the best possible, feel free to adjust/complement.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24021 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-28 22:00:15 +00:00
Abdelrazak Younes
62797eb0c7 Fix copy&paste bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24019 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-28 18:52:42 +00:00
Abdelrazak Younes
53daaabef4 Add tabular context menu. Feel free to enhance/modify Edwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24018 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-28 18:50:33 +00:00
Jean-Marc Lasgouttes
3d2cb4b1b5 properties=>settings for context menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23970 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 10:45:36 +00:00
Jürgen Spitzmüller
c876a2e7c7 Merge the two linebreak insets into one.
* src/Buffer.cpp:
	- file format change to 324
* development/FORMAT:
	- document file format change

* src/insets/InsetNewline.{cpp,h}:
	- the former two separate derivates are now merged into one inset
	  with proper Params and Mailer. This simplifies the structure and allows for
	  switching between the two kinds.

* src/Text3.cpp:
	- The newline insets are now being generated with 
	   newline-insert [newline|linebreak]

* src/factory.cpp:
* src/Text.cpp:
	- Newline inset is now a proper inset with opening and closing tag.

* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetTabular.cpp:
* src/mathed/InsetMathGrid.cpp:
* src/mathed/InsetMathHull.cpp:
	- remove LFUN_NEW_LINE, LFUN_LINE_BREAK,
	  add LFUN_NEWLINE_INSERT

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion and reversion routines for newline insets.

* lib/ui/stdmenus.inc:
* lib/ui/stdcontext.inc
	- adapt menu and add context menu to switch between newpage variants.

* lib/bind/*.bind:
	- adapt to new lfuns.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23966 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 08:10:01 +00:00
Jürgen Spitzmüller
fa4d6355aa * stdcontext.inc:
- honour JMarc's suggestions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23951 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 16:18:15 +00:00
Richard Heck
5d02c5e7ea Forgot the most important bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23949 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 16:03:02 +00:00