Commit Graph

460 Commits

Author SHA1 Message Date
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
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
Uwe Stöhr
31808dd993 stdmenus.inc: remove doubled menu entry, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4765
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24356 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 15:48:18 +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
Richard Heck
72b7c73b5a Move context menus to their own file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23948 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 16:02:26 +00:00
Jürgen Spitzmüller
d2a4c97ab8 Merge the diverse newpage insets into one.
* src/Buffer.cpp:
	- file format change to 323
* development/FORMAT:
	- document file format change

* src/insets/InsetNewpage.cpp:
	- the former four separate derivates are now merged into one inset
	  with proper Params and Mailer. This simplifies the structure and allows for
	  switching between the various kinds.

* factory.cpp:
	- The newpage insets are now being generated with 
	   newpage-insert [newpage|pagebreak|clearpage|cleardoublepage]

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

* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
	- remove LFUN_PAGEBREAK_INSERT, LFUN_CLEARPAGE_INSERT
	  and LFUN_CLEARDOUBLEPAGE_INSERT

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

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

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23942 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 09:26:03 +00:00
Richard Heck
c2ac470567 Little update to conglomerate context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23941 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 06:46:18 +00:00
Jürgen Spitzmüller
4b1cfb9852 * stdmenus.inc:
* src/insets/InsetCollapsable.inc:
	- specific context menu for conglomerate insets

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23940 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 06:17:18 +00:00
Jürgen Spitzmüller
ebc3f47945 * lib/ui/stdmenus.inc (context-note):
- remove pointer to superfluous dialog. The dialog itself will die eventually.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23937 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 05:10:56 +00:00
Jürgen Spitzmüller
241a8442d7 fix the general collapsable context-menu:
* src/InsetCollapsable.cpp (getStatus):
	- fix the logic

* src/BufferView.cpp:
	- fix next-inset-toggle
	- don't require argument for inset-settings

* lib/stdmenus.inc (context-collapsable):
	- use next-inset-toggle instead of inset-toggle
	- add (optional) inset-settings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23928 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 16:33:56 +00:00
Jürgen Spitzmüller
e1ac6d4118 Some context menu work:
* src/BufferView.cpp:
* src/FuncCode.h:
* src/LyXAction.cpp:
	- new LFUN_NEXT_INSET_MODIFY

* src/insets/InsetBox.{cpp, h}:
* src/insets/InsetCommand.{cpp,h}:
* src/insets/InsetNote.{cpp,h}:
* src/insets/InsetSpace.{cpp,h}:
* src/insets/InsetVSpace.{cpp,h}:
	- implement context menu and access to some changes

* lib/ui/stdmenus.ui:
	- new context menus for Box, Space, VSpace, Note.
	- extend the context menu for InsetRef.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23920 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 13:33:48 +00:00
Bo Peng
057dd755f5 Move LFUN_GRAPHICS_EDIT and LFUN_EXTERNAL_EDIT from LyXFunc.cpp to BufferView.cpp so that a valid inset can be retrieved and called upon; add context-menu for InsetGraphics and InsetListings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23910 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 04:27:43 +00:00
Jürgen Spitzmüller
cf2320996b * lib/ui/stdmenus.inc:
- add "Edit..." item to label & ref context menu.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23902 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-23 12:56:27 +00:00
Abdelrazak Younes
de6f93296f Context menu for collapsing minimalistic insets such as ERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23880 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 18:02:47 +00:00
Pavel Sanda
2ab76cdad1 Fix hyphenation point in menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23870 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 16:02:08 +00:00
Edwin Leuven
b7406da7f0 * new function to set border around selection
* add to toolbar + icon
* update border icons to match in size

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23846 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 08:45:40 +00:00
Pavel Sanda
5f51e1c9af Add fullscreen to context menu, so returning back is possible
even without shortcut.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23791 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 14:11:21 +00:00
Jürgen Spitzmüller
f2e8cd3cd9 *** File Format Change: UI and enhancement for InsetSpace ***
* src/insets/InsetSpace.{cpp,h}:
	- merge in HFill inset, add support for dotfill, hrulefill,
	  hspace and hspace*
* src/insets/InsetHFill.{cpp,h}:
	- remove

* src/frontends/qt4/GuiHSpace.{cpp,h}:
* src/frontends/qt4/ui/HSpaceUi.ui:
* src/frontends/qt4/GuiView:
	- new GUI for Space insets.

* src/insets/Inset.{cpp,h}:
* src/insets/InsetCode.h:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetCommandParams.cpp:
	- remove HFILL_CODE and LFUN_HFILL_INSERT, add SPACE_CODE where necessary,
	  new Inset member isStretchableSpace() to indicate HFill and friends.

* Buffer.cpp: 
	- increase format to 319
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion/reversion routines
* development/FORMAT:
	- document file format change

* src/Makefile.am:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
	- deal with UI changes.

* src/LyXAction.cpp:
	- remove LFUN_HFILL_INSERT

* src/LyXFunc.cpp:
	- handle space dialog.

* src/factory.cpp:
* src/Paragraph.cpp (isHFill):
* src/Text.cpp:
* src/Text3.cpp:
* src/TextMetrics.cpp:
	- adapt to changes

* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
	- add HSpace dialog, remove HFill.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 09:23:43 +00:00
Stefan Schimanski
21eddc8fe2 * math macro definition context menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23621 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 12:51:14 +00:00
Pavel Sanda
65910a6c74 Add menuitem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23611 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 23:43:07 +00:00
Pavel Sanda
635b2c1cc3 Start some context-edit menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 23:30:02 +00:00
Uwe Stöhr
a49c4e3454 stdmenus.inc: comment out two non-working menu entries
(see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg136498.html)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23600 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 16:49:25 +00:00
Pavel Sanda
741d69b138 Add the possibility to remove label from equation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23594 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 15:49:24 +00:00
Pavel Sanda
e1699b9d37 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23593 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 15:16:50 +00:00
Pavel Sanda
5e79b2ca4f Add math context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23591 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 15:07:27 +00:00
Abdelrazak Younes
268ef141e5 add a simple context menu for InsetLabel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23582 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 11:51:34 +00:00
Abdelrazak Younes
3f5e92ce72 add a simple context menu for InsetRef.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23580 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 11:24:27 +00:00
Jürgen Spitzmüller
f2c06b5d9e * lib/default.ui:
- revert accidental commit in revision 23370.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23374 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-01 17:47:04 +00:00
Uwe Stöhr
ab62620666 default.ui: let the toolbars appear when needed
This was often requested by users so that I already implemented this in the alternative installer.
This furthermore avoids questions on the lyx-users list (we had several times questions about "Where is the math toolbar when I'm in math?" etc.)
(This toolbar behavior is also used e.g. by OpenOffice or Word.)

As this topic now arises again with the macro toolbar
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg136267.html
and nobody objected, I implemented this now.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23370 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-01 15:20:43 +00:00
Stefan Schimanski
e936a451da * enable auto again. See r22655. The three flags math, table, mathmacrotemplate only specify when the toolbar is shown in auto mode. But you still have to enable "auto" explicitly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23348 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-29 09:18:21 +00:00
Uwe Stöhr
11c71616f0 default.ui: delete a spurious parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23341 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 22:23:15 +00:00
Abdelrazak Younes
9884a7193d Add menu item for close-tab-group
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23098 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 14:58:58 +00:00
Pavel Sanda
9dbe777910 * lib/stdmenus.inc: Collision with HTML|H
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23095 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 14:23:10 +00:00
Jürgen Spitzmüller
34f93b22f7 * lib/stdmenus.inc:
- fix shortcut casing.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23093 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 13:20:29 +00:00
Abdelrazak Younes
55d621f5b2 add menu item for split-view
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23091 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 13:09:27 +00:00
Pavel Sanda
72b270ab4b Improve fullscreen mode (bug 4146).
- added toolbars/tabbar/scrollbar toggling
- added text width control
- added GUI preferences & menu & shortcut

Known problems:
- Outliner in Mac is seeking some Mac devie to fix (see hints here:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg135382.html ) 
- Toolbars visibility is shared between windows (views)
  (needs toolbars overhaul).
- Adding new tab items does not reflect fullscreen mode
  (i.e. margins and tabbar get visible)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23069 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-19 21:51:55 +00:00
Jürgen Spitzmüller
9bdca85f26 *** New Symbols Dialog ***
* src/Encoding.{cpp,h}:
	- new public member getSymbolsList()

* src/frontends/qt4/GuiSymbols.cpp:
* src/frontends/qt4/GuiSymbols.h:
* src/frontends/qt4/ui/SymbolsUi.ui
	- new files

* src/frontends/qt4/GuiView.cpp:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
	- add new dialog

* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
	- menu item for symbols dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22832 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-07 13:18:07 +00:00
Stefan Schimanski
cf333f5ab4 * Support for graphics pasting (with most code in the frontend's GuiClipboard)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22762 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 10:43:03 +00:00
Uwe Stöhr
cfdad9946d I wrote a new manual "LyX's detailed math manual". See the announcement on the list.
The file examples/mathed.lyx is no longer needed as its content is part of the new manual.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22691 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-27 20:58:45 +00:00
Stefan Schimanski
135fbe2c1b * add "auto" flag for toolbars
* make macro toolbar automatic

This reverts commit 7d48e270549aa04c34fae9ce9682162c78f57eda.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22655 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-22 22:56:10 +00:00
Uwe Stöhr
f16abb9447 stdtoolbars.inc: adapt to r22585
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22588 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 21:49:14 +00:00