Commit Graph

213 Commits

Author SHA1 Message Date
Peter Kümmel
c09d33120d UNDO: enc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34943 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 16:09:26 +00:00
Uwe Stöhr
72292b98a6 support for formal math script
- fileformat change
- fixes #2340

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34941 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 15:51:11 +00:00
Peter Kümmel
56a7a67783 add first version of .lyx file encryption. It's disabled by default and could out-of-the-box only by compiled on Linux with cmake and with openssl-devel packeges.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34931 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 12:26:11 +00:00
Richard Heck
319ca06167 Rename LFUN_OPTIONAL_INSERT as LFUN_ARGUMENT_INSERT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34597 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:53:44 +00:00
Pavel Sanda
ea24773537 Unify Inter-word and Interword space strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34335 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-28 21:48:03 +00:00
Pavel Sanda
98f106f2ca Guify forward search.
No viewer set by default, which keeps context menu clean for uninterested users.
Settings are hinted at combobox.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34149 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 08:09:07 +00:00
Jean-Marc Lasgouttes
e8529a2ecf Get rid of all-insets-toggle and explain how to replace it with inset-forall.
Change inset-forall so that screen is not repainted at each iteration, since this lead to very slow opeartion on large files. This is not a problem for current uses, but can potentially lead to crashes.

See ticket #6641 for more thoughts and possible solutions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34092 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-08 12:39:41 +00:00
Pavel Sanda
c942233de3 Unintentional part of previewinset stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33993 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-31 21:25:05 +00:00
Vincent van Ravesteijn
bb69584112 Introduce InsetPreview.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33890 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 13:47:50 +00:00
Vincent van Ravesteijn
d415a1f554 Add "Info settings" to the Edit menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33647 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 17:51:40 +00:00
Pavel Sanda
3b120c8eeb Also menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33530 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 02:00:51 +00:00
Abdelrazak Younes
1dce70d3d4 Forgot about this file in r33495, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33502 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 10:47:40 +00:00
Jürgen Spitzmüller
a61eeb1fb2 Allow to switch buffer languages via the menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33366 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 17:15:00 +00:00
Jürgen Spitzmüller
02124ea00e Resolve accelerator conflict
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33032 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 16:04:34 +00:00
Jürgen Spitzmüller
578c0414d3 Add accelerator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33025 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 07:05:55 +00:00
Pavel Sanda
0fae8cf345 Simplify menu string
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157010.htm


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33011 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-13 15:45:10 +00:00
Vincent van Ravesteijn
1fd7e3fe11 Change the ProgressView strings:
- I18n the window title,
- it's unnecessary for a window to have window in its title,
- adjust casing,
- do not use show in the view menu, 
- sync window title and menu entry.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32984 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 15:35:52 +00:00
Vincent van Ravesteijn
2146ca143e * stdmenus.inc: Stick to the casing rules for "Update Local Directory From Repository".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32839 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:57:10 +00:00
Peter Kümmel
7afdba6b06 re-add view for progress, cleanup follows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32610 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 10:04:30 +00:00
Peter Kümmel
dd4cbb3591 - Show progress information in status bar.
- Remove progress view because ATM we don't have to show anything usefull.
- move Alert:: void functions into GUI thread


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32604 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-21 11:48:19 +00:00
Peter Kümmel
aa613aaf01 add progress widget
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32598 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-20 14:26:55 +00:00
Vincent van Ravesteijn
8f5c3b6219 Fix bug #6144: Remover RegExp from them Menu and give the user the possibility to insert an empty RegExp in the Search field by choosing User defined.. in the Match.. combobox (what use does this option have ?).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31825 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 06:55:40 +00:00
Vincent van Ravesteijn
d4be6cf24c Adds the user interface for the new Comparison feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31707 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 15:47:05 +00:00
Pavel Sanda
81bff38d56 in trunk too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31622 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 20:08:37 +00:00
Pavel Sanda
32d48ba0d7 Sounds better
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31619 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 19:35:54 +00:00
Pavel Sanda
d4bf62b417 Fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31617 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 19:27:12 +00:00
Pavel Sanda
4257aa5e7f Make updating less dangerous, see comments in #6255.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31615 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 19:18:06 +00:00
Pavel Sanda
701157df09 Doc & menu entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31548 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-07 00:08:18 +00:00
Tommaso Cucinotta
059729ec59 UI interaction for advanced f&r.
Menu voice shows only, does not toggle. This allows for highlighting the keyboard short-cut in the menu, where the user expects to find it.
Toggling of dialog is instead shown in a toggling button on the toolbar (advanced search button besides the standard one). Icon is just draft.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31445 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-22 21:39:48 +00:00
Jürgen Spitzmüller
009cb16a41 * Menus.cpp:
- show name of default format.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31313 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-06 14:28:17 +00:00
Uwe Stöhr
3b7cc83ebe stdmenus.inc: The advanced search manual will become part of the UserGuide as discussed with Tommaso
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31281 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-05 01:11:31 +00:00
Jürgen Spitzmüller
4782052692 * stmenus.inc: hide regexp menu item if disabled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31272 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-04 11:59:53 +00:00
Tommaso Cucinotta
e0177437f3 Better explanations for Advanced Search items in menu.
Added pointer to Advanced Search guide from Help menu.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31178 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 16:49:01 +00:00
Vincent van Ravesteijn
a4512563bb Add a shortcut for Insert->URL (bug #6164) and a glitch for Insert->Hyperlink.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31167 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-20 11:19:55 +00:00
Vincent van Ravesteijn
01aa8d771a Add and correct some shortcuts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31161 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:07:01 +00:00
Vincent van Ravesteijn
d75f135ab9 Rename menu item and fix bug #5067.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31153 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 21:51:01 +00:00
Pavel Sanda
ea758c3932 Next bits for Extended -> Additional
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31138 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 09:14:23 +00:00
Vincent van Ravesteijn
4362b2085d Resolve shortcut clash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31091 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 14:30:16 +00:00
Vincent van Ravesteijn
97efae2561 Fix bug #740: Wish for added menu item: File->Close all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30882 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-06 23:17:16 +00:00
Pavel Sanda
edb52c37d2 Add LFUN_BRANCH_ADD_INSERT.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg152890.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30467 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 09:38:31 +00:00
Jürgen Spitzmüller
91fd085b07 * clarify and apply Title Casing rules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30378 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 16:24:04 +00:00
Enrico Forestieri
25de97c019 Fix shortcuts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30377 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 14:41:06 +00:00
Jürgen Spitzmüller
74aad3cb41 * stdmenus.inc: revert unintended change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30297 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 06:27:12 +00:00
Jürgen Spitzmüller
bf2567b44f * Standardize Capitalization. Skip the controverse AMS environments for now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30296 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 06:19:21 +00:00
Pavel Sanda
e4c05dd04d Fix ui naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30268 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-26 12:35:21 +00:00
Pavel Sanda
7355a53a73 Guify setting of svn locking property
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-25 14:48:11 +00:00
Uwe Stöhr
300f5379a8 stdmenus.inc: fix typo, fixes the bug reported here:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151690.html

Jürgen, OK for branch too?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29889 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-30 15:38:23 +00:00
Enrico Forestieri
524b4157a2 Use something more meaningful than View->View.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29645 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 19:27:00 +00:00
Enrico Forestieri
ea7a5729f2 Disambiguate menu entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29432 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-29 01:25:15 +00:00
Vincent van Ravesteijn
8cf1ba47d4 Fix bug #4124. Navigate->Go to Label is unnecessary.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29420 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-27 07:39:37 +00:00
Pavel Sanda
e087ec8514 Add "navigate back" into the menu too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29367 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 17:09:37 +00:00
Uwe Stöhr
ee32af52da stdmenus.inc: fix shortcuts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29333 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 15:03:56 +00:00
Jürgen Spitzmüller
d12426a340 New inset dialog for InsetPrintIndex (only used with multiple indices)..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29290 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 14:29:32 +00:00
Jürgen Spitzmüller
de22184d97 New inset dialog for InsetIndex (only used with multiple indices)..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29285 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 09:22:44 +00:00
Jürgen Spitzmüller
c52bd08442 Introduce splitindex support. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:29:01 +00:00
Jürgen Spitzmüller
25a14730ed * First step towards default view format.
The icons could be replaced by something nicer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29134 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 05:01: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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