Commit Graph

411 Commits

Author SHA1 Message Date
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
701506f356 Greetings from gimp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28481 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 15:11:52 +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
8a0d98e67e - stdmenus.inc: Phantom can contain other things as well, not only text
- LyXAction.cpp: updates and sorting
- GuiPhantom: a dialog to set the different phantom types (stolen from GuiNote)

The Phantom feature should now be complete. Thanks to all who contributed and helped.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28364 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 18:09:36 +00:00
Georg Baum
3d7878212b Add missing esint bits.
They should have been part of the initial commit, but I overlooked them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28355 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 19:57:02 +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
Jürgen Spitzmüller
0f830027a3 * GuiApplication.cpp:
- use the first command in sequence as icon name for command-alternatives.
* lib/ui/stdtoolbars.inc:
	- use command-alternatives for the alignment buttons in the tabular toolbar (bug 5709).
* lib/images/tabular-feature_align-*.png:
* lib/images/tabular-feature_valign-*.png:
	- rename to tabular-feature_m-[v]align-*.png:

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28280 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 17:04:57 +00:00
Vincent van Ravesteijn
650a0261a6 Disable the Edit->Math menu when not in math.
Introduce new LFUN_MATH_FONT_STYLE which takes one of the font styles as an argument. A dispatch is being redirected to math-insert.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28181 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 10:35:57 +00:00
Vincent van Ravesteijn
7d604f83c7 Resolve shortcut clash in Edit->Table.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27981 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-04 00:55:23 +00:00
Vincent van Ravesteijn
f7231d55d4 Add Listings Settings... to Edit menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27980 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-03 19:32:11 +00:00
Vincent van Ravesteijn
dd64c572c2 Allow users to specify toolbar icons for commands with a backslash. This is in the same style as the replacements made for math-insert commands.
See the user's list:
http://thread.gmane.org/gmane.editors.lyx.general/52712

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27979 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-03 18:33:09 +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
Jean-Marc Lasgouttes
e79a9fa983 make help-open search in examples too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27858 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-12 15:34:35 +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
Uwe Stöhr
1e3e6b88ea documentation: prepare for the math macro chapter part 1 and 2 for trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27794 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-07 14:29:13 +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
Abdelrazak Younes
deef2728c7 The rest of Tommaso patch with some cleanups. Not very clean still but at least it compiles!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27525 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 01:20:34 +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
Pavel Sanda
fcac9f833a TOC help file is gone.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27096 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 08:12:22 +00:00
Pavel Sanda
2320572b3a Add multicol to help
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27074 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 00:00:50 +00:00
Richard Heck
32063acc8f Change the title of the Extended manual, and make some other changes to it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27050 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 12:12:06 +00:00
Pavel Sanda
c5fbf23c54 Add submenu in help.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27048 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 10:28:03 +00:00
Pavel Sanda
57fe98396d FAQ docs are obsolete for a long time.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145354.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg144789.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27027 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 22:12:25 +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
Richard Heck
7bff1e62b5 More sensible shortcuts on the help menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26113 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 17:01:20 +00:00
Pavel Sanda
04ab3867c4 Add to help.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26019 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-01 15:04:22 +00:00
Pavel Sanda
69f4ec4ee4 Wrong parameter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25986 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 17:54:38 +00:00
Pavel Sanda
0a8f09662c Add VCS toolbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25984 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-29 17:40:26 +00:00
Pavel Sanda
de83cc1b57 Touch menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25803 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-22 14:34:30 +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
41e8a73f66 Make menu less ambiguous.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25749 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-21 00:28:06 +00:00
Jürgen Spitzmüller
b6616ac0e7 * stdmenus.inc:
- disambiguate menu entry (bug 4757).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25595 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-14 07:22:20 +00:00
Pavel Sanda
ee2ad9a9c1 Adjust tooltips.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25549 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 22:43:02 +00:00
Pavel Sanda
551f32859d Leftovers from http://www.lyx.org/trac/changeset/22496 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25443 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 13:09:22 +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
cb5ce8348b Ressurect LFUN_MATH_SIZE, set toolbars accordingly.
http://thread.gmane.org/gmane.editors.lyx.devel/108469


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25250 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-14 18:38:14 +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
Abdelrazak Younes
7bb8a5f183 Re-engineer the toolbar support code:
- We now rely more upon Qt features,
- the initial toolbar positioning defined in "lib/ui/default.ui" is now only used if there is no session or if session handling is disabled,
- The session saving/restoring is window dependent.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24954 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 11:15:17 +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