Commit Graph

120 Commits

Author SHA1 Message Date
Juergen Spitzmueller
7e259c8d76 Do not reset custom space values if accessed via context menu (#8847) 2013-11-15 19:41:36 +01:00
Scott Kostyshak
c80b4bcaf3 Make an accelerator uppercase 2013-01-25 23:27:02 -05:00
Scott Kostyshak
98a8c30dfa Change an accelerator to a more intuitive letter 2013-01-20 21:55:43 -05:00
Scott Kostyshak
3c84267d8d Implement move row/column in tabular inset
This patch implements 'move row' and 'move column' features for tabular.
The purpose is to provide a useful behavior in tabular that is
consistent with PARAGRAPH_MOVE_UP and PARAGRAPH_MOVE_DOWN so that the
user can, for example, do alt-<up> to move a row up. Alternatively,
icons for these features are also added to the table toolbar and
context menu.

If there is any selection, the feature is disabled. This is consistent
with how PARAGRAPH_MOVE_UP works in other contexts. Additionally, 'move
row' is disabled if there is a multi-row in the current or target row;
and 'move column' is disabled if there is a multi-column in the current
or target column.

'move row' moves only the left and right borders of a cell along with
the row. Similarly, 'move column' moves only the the top and bottom
borders.

Implementing similar functionality for other insets, such as arrays and
array environments, is on my TODO list.
2013-01-20 21:54:30 -05:00
Juergen Spitzmueller
c246076ed5 Fix the 'caption inset mess' (bug #4647) 2012-12-30 18:29:02 +01:00
Juergen Spitzmueller
89be706c8f bring back arguments to edit context menu 2012-11-27 14:09:10 +01:00
Juergen Spitzmueller
9914f21bce Context menu for InsetArgument 2012-11-23 14:44:45 +01:00
Juergen Spitzmueller
3588f2f696 Context menu item to add unknown branch (rest of #7643) 2012-09-30 17:32:00 +02:00
Juergen Spitzmueller
e26635bfb9 UI for separate control of master/child branch state (#7642, part of #7643) 2012-09-30 14:59:24 +02:00
Pavel Sanda
a72b75c50c Proper naming for tab-group-close. 2012-09-29 17:16:52 +02:00
Richard Heck
20519c9619 Add "Close Current View" to the context menu, as requested by
Andrew Parsloe.
2012-07-14 22:16:13 -04:00
Uwe Stöhr
9c4ba90cfc stdcontext.inc: fix 2 shortcut clashes (bug #8023), OK for branch too? 2012-05-18 21:02:22 +02:00
Vincent van Ravesteijn
c3ba1eb3e2 Consistent casing of menu items 2012-05-07 21:25:44 +02:00
Pavel Sanda
5005facace Add visible space. After long discussion the solution is part of InsetSpace.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169847.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39367 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-23 18:40:21 +00:00
Kornel Benko
034a03b0f5 Remove the comment left after revision 39274 which slipped in
unintentionally.
The reson for commenting the two lines was a report from  
Jean-Pierre Chrétien
  "With LyX-2.0.1svn, if I open the context menu on a phantom (e.g.),
  the  Dissolve Inset item appears twice. This triggers a shortcut
  conflict..."


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39275 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-11 15:02:59 +00:00
Kornel Benko
90f3c110c7 Added springer and attic templates-subdirectories to install
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39274 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 20:49:04 +00:00
Pavel Sanda
1b53a52099 We have one missing string due to the bug in lyx_pot
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg167433.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38366 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-13 17:47:03 +00:00
Vincent van Ravesteijn
1a73516990 Work-around for bug #7393. This removes the invalid toggle-mark on the wrap by preview menuitem in the ert-context menu. The real fix is to properly retrieve the status for command-sequences, which is not really trivial.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38129 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 12:23:32 +00:00
Pavel Sanda
78263b1c19 Broken link, closing #7388. Patch from Diego Queiroz.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38114 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 00:41:35 +00:00
Vincent van Ravesteijn
206e0c9656 Add a context menu to InsetBibItem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37635 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:10:28 +00:00
Richard Heck
e5b25ce78e Update all of our bind and ui files to format 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37253 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:42:27 +00:00
Richard Heck
a522fc683a Leftover from r36789.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36807 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 12:46:28 +00:00
Enrico Forestieri
68e455e7f2 Fix bug #7127 (Broken context menu for ERT insets)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36776 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 18:41:04 +00:00
Georg Baum
4736356bf9 fix remaining bits of bug #6709
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36718 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 16:43:41 +00:00
Vincent van Ravesteijn
5cc077c571 Automatically append the InsetCollapsable context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36609 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:05:06 +00:00
Vincent van Ravesteijn
b600508ee2 Remove duplicated entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36608 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:04:38 +00:00
Vincent van Ravesteijn
f7393078b2 Fix bug #7056: Context menu of table shows wrong cell alignment for multicolumns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36498 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 03:31:10 +00:00
Pavel Sanda
bf486d1ad9 Synchro menu items
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36322 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-16 19:43:32 +00:00
Richard Heck
01013c0785 Refstyle support. The user can now choose between prettyref and restyle
for formatted references. Fixes #2295, in so far as it makes it possible
to translate formatted references.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 12:36:53 +00:00
Jürgen Spitzmüller
435067c0f1 * InsetHyperlink.{cpp,h}:
* stdcontext.inc:
	- basic implementation of inset-edit (only for file: now) (part of bug #6864)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35230 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-29 17:23:35 +00:00
Jürgen Spitzmüller
d427010975 * InsetHyperlink.{cpp,h}:
* stdcontext.inc:
	- basic context menu and tooltip (part of bug #6864)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35229 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-29 16:40:52 +00:00
Jürgen Spitzmüller
3b1c6f2df4 fix accelerator conflicts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35200 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-25 08:35:28 +00:00
Richard Heck
7d4c560f87 Remove Nameref support. Too many issues involving translation, quotes,
etc.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34920 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-16 15:19:04 +00:00
Richard Heck
47db764ccc Nameref support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34884 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-13 03:23:29 +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
Vincent van Ravesteijn
1df3f70ed1 Fix more of bug #5446: Enable to copy the contents of an InsetInfo through the context menu.
This introduces a new LFUN LFUN_INSET_COPY_AS, which copies a certain Inset to the clipboard. For InsetInfo this is the text that is visible, but this could also replace LFUN_LABEL_COPY_AS_REF, by copying the INSET to the clipboard as a reference, and also a Math inset to copy to the clipboard as latex (including $'s or \[..\]).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34223 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-19 21:36:32 +00:00
Enrico Forestieri
dca306e554 Correct shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34212 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 22:39:35 +00:00
Richard Heck
6420f687c8 Forgot these. Thanks, Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34208 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 21:23:24 +00:00
Vincent van Ravesteijn
9e0c87fe47 * stdcontext.inc: correct shortcut conflicts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34156 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 09:55:24 +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
71cd86c649 Add Preview to ERT context menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33895 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 20:12:24 +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
Edwin Leuven
b768107db9 adv search/replace: move insert regexp to context menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33871 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 14:46:51 +00:00
Pavel Sanda
4ae7fa0e3c At least basic ui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33537 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 06:12:53 +00:00
Abdelrazak Younes
efcaea40d1 Forgot about those file in r33495, sorry.
"tabular-feature replaced" with "inset-modify tabular"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33501 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 10:46:26 +00:00
Uwe Stöhr
f667a66055 stdcontext.inc:
- add entry for multirow
- resolve some shortcut conflicts

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33429 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:46:22 +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
Jean-Marc Lasgouttes
a00fbcd871 get rid of next-inset-modify ; inset-modify does the same now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32965 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 15:50:07 +00:00
Pavel Sanda
1984f35e43 Fix shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32182 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-24 22:58:02 +00:00