Commit Graph

822 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
507e21f84e Rename word-togglecase to word-invertcase.
As suggested by Jürgen.
2024-10-15 17:36:19 +02:00
Jean-Marc Lasgouttes
afc524da3f Add LFUN_WORD_TOGGLECASE (word-togglecase)
The new function word-togglecase is a companion of word-upcase and
word-lowcase: it toggles each character between lowcase and upcase,
which is useful when one FORGOT THE cAPS lOCK KEY.

Add bindings (except for emacs) and a menu entry.
2024-10-14 18:19:09 +02:00
Juergen Spitzmueller
a5841b3312 Transform InsetNomenclature to a collapsible
Fixes: #10460, #12595, #6353
2024-08-12 12:33:16 +02:00
Juergen Spitzmueller
1c5fd2ea4e reference-to-paragraph for footnotes 2024-08-09 08:30:29 +02:00
Richard Kimberly Heck
337a94a425 Restore obvious shortcut 2024-08-06 14:50:29 -04:00
Juergen Spitzmueller
143e534d1e Implement reference-to-paragraph in outliner (#1624)
This allows to insert a cross-reference to headings, figures or tables
by right-clicking on the outliner item.

If the item in question does not have a label yet, it is inserted.
2024-07-28 15:59:06 +02:00
Pavel Sanda
7976cc2dac Allow relative statistics values in statusbar.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg221311.html
2024-04-05 19:36:23 +02:00
Juergen Spitzmueller
aa7ff14933 Allow for multiple accelerator alternatives
This needs some testing before it could go to 2.4.x eventually
2024-04-04 17:12:48 +02:00
Juergen Spitzmueller
728175f9ac Dissolve some shortcut conflicts in the wake of f3a4602c4c 2024-04-03 08:28:00 +02:00
Juergen Spitzmueller
f3a4602c4c Smarter menu length calculation
It is possible I have missed some shortcut conflicts, so please report
if you find any.
2024-04-02 14:41:54 +02:00
Richard Kimberly Heck
1198bbf01a Fix duplicate accelerator 2024-04-01 21:55:25 -04:00
Richard Kimberly Heck
dff3a0c53f Fix bug #13025.
Add plain single quote to menu.

(cherry picked from commit 9e5a98e8f9)
2024-04-01 17:28:16 -04:00
Pavel Sanda
0b5a9060c2 Move textstyle-apply icon back to the group of text-style related icons (+ its appearance).
(part of ongoing discussion in #11427)
2023-10-21 23:09:37 +02:00
Daniel Ramoeller
58b4b6f4d5 Add separator between depth and inset stuff
Adds a separator that is missing between depth increase/decrease and inset stuff in the Edit menu

Fix for bug #12931.
2023-10-13 11:15:03 +02:00
Juergen Spitzmueller
9110759ec4 Update links 2023-09-16 08:53:19 +02:00
Richard Kimberly Heck
c932425f9a Add Edit External to ERT context menu 2023-07-23 21:08:09 -04:00
Yuriy Skalko
771bb50552 Name menu item according to UI guidelines 2023-06-16 00:34:05 +02:00
Pavel Sanda
f7e625d7ce Rename No page break -> Prevent page break.
Fixes #12790, improved patch from Daniel Ramoeller.
2023-06-14 02:12:44 +02:00
Daniel Ramoeller
d957afdb64 Remove ellipsis from "End Edit Externally..."
Fix for bug #12780
2023-05-17 15:52:11 -04:00
Juergen Spitzmueller
8a99092d77 Fix accelerators 2023-04-08 17:27:06 +02:00
Pavel Sanda
9dee1572bb Fix casing.
Spotted by Juergen.
2023-02-26 19:51:48 +01:00
Pavel Sanda
2b6ef1257a Infoinset - better specification of few strings 2023-02-25 18:52:31 +01:00
Pavel Sanda
e98d9f974a CT: Shorten menu items 2023-02-18 12:19:56 +01:00
Richard Kimberly Heck
d4f2460ac4 Fix bug #11410.
Main part of patch from Daniel, adapted by me.
I also added the lyx2lyx code.
2022-12-04 18:33:58 -05:00
Juergen Spitzmueller
2568e6d606 Fix shortcut conflicts 2022-12-03 13:30:41 +01:00
Scott Kostyshak
4ade2f02cd "Cancel Background Process" -> "Cancel Export"
"Cancel Export" sounds more user friendly.

Discussed briefly on ML here:

  https://www.mail-archive.com/search?l=mid&q=20221122200127.th3qwgpimqndksmd%40gary
2022-11-24 21:15:50 -05:00
Scott Kostyshak
ffff88e7fc Rm dup "Float" in "Insert>Float>Figure Wrap Float"
Change menu options "Figure Wrap Float" to "Wrapped Figure"
and "Table Wrap Float" to "Wrapped Table".
2022-11-24 20:17:53 -05:00
Juergen Spitzmueller
3bbce7f24a Introduce index-tag-all lfun
This is a convenience function for indexing. It adds a copy of the
index inset under cursor after any word in the buffer that is equal
(case-insensitively) to the word preceding the index inset.

The function can be easily used to generate bad indexes (and I warn
about that in the UserGuide), but if used with care, it can also be
extremely convenient.
2022-11-05 18:39:33 +01:00
Jean-Marc Lasgouttes
fad170be1a New lfun to copy index insets from ToC
The new function inset-insert-copy can only be invoked from the ToC.
It is currently only implemented for Index inset.

It is a special lfun because Inset::dispatch is called directly from
the ToC widget with cursor pointing to the inset, whereas the patch
happens in the workarea at caret position. This function cannot be
called directly.

Add an entry for this function in the toc context menu.

Fixes bug #4582.
2022-11-04 21:52:46 +01:00
Juergen Spitzmueller
68e268e117 Add some options to index context menu 2022-11-04 11:29:56 +01:00
Juergen Spitzmueller
077ccf905d Rename subindex to subentry
Makes more sense, and distinguishes it better from printsubindex
2022-10-31 06:51:38 +01:00
Juergen Spitzmueller
b3b22b0c70 Sync with master 2022-10-26 10:52:21 +02:00
Juergen Spitzmueller
047004cb0f Merge branch 'master' into features/indexmacros 2022-05-14 16:29:46 +02:00
Kornel Benko
aec76acecc Small addition concerning advanced find and regular expression 2022-05-01 10:34:12 +02:00
Juergen Spitzmueller
7d7b21ec3e Introduce InsetIndexMacros
This adds native macros for subindexes (!level), |see and |seealso
as well as native support for ranges |( |) and pagination format
-- e.g., |textbf -- via the index dialog

Resolves #12478, #7232 and #5014

The feature is complete (incl. tex2lyx) except for

* file format change and lyx2lyx
* docbook/xhtml
* documentation
2022-04-19 11:46:08 +02:00
Daniel Ramoeller
f21899661a Add toggle feature for all, outer and inner borders
Fix for bug #12503.

Also some bug fixes for the set inner lines algorithm. See discussion of #12503.
2022-03-13 10:34:16 -04:00
Scott Kostyshak
13a7269b9d Change LFUN arg from "zoom" to "zoomlevel"
This change is just to be more specific, to help when grepping and
reading.

The idea is from Daniel
(https://www.lyx.org/trac/ticket/12420?replyto=11#comment:11).

Amends cc787967 (and thus 49a17aaa).
2022-01-03 15:57:35 -05:00
Scott Kostyshak
cc787967f4 Change "Show Zoom Value" to "Show Zoom Level"
See discussion at #12420.

Amends 49a17aaa.
2021-12-29 11:45:01 -05:00
Scott Kostyshak
49a17aaa5d Change label "Show Zoom" to "Show Zoom Value" 2021-12-27 13:43:19 -05:00
Daniel Ramoeller
eae56b1194 Hide the zoom in the status bar from the status bar context menu
Fix for #12420.
2021-12-27 13:43:19 -05:00
Richard Kimberly Heck
7f2d488e45 Fix bug #12261. From Daniel. 2021-03-24 13:50:43 -04:00
Juergen Spitzmueller
1bf53d47a5 Use customizable zoom context menu
Based on a proposal by Daniel (#12187)
2021-03-14 16:41:44 +01:00
Enrico Forestieri
7545698380 Fix bug #12181
The context menu for InsetMathRef is now usable.
InsetMathRef still misses support for RefStyle and thus the
corresponding entries are omitted from the menu. But this would
be a different bug.
2021-03-06 23:36:58 +01:00
Juergen Spitzmueller
11d6708781 Fix tristate toolbar toggling via toolbar (#12177) 2021-03-05 17:12:51 +01:00
Richard Kimberly Heck
3aea4eec45 No reason not to use M as shortcut for Messages Pane. 2021-02-14 12:05:45 -05:00
Juergen Spitzmueller
c2822d684b Add LFUN_LYXFILES_OPEN
This opens the new templates/examples dialog and creates a view if
necessary (#12106).
2021-02-10 09:36:32 +01:00
Richard Kimberly Heck
b1e9206cab Shortcut for custom insets 2021-01-21 16:51:16 -05:00
Richard Kimberly Heck
8d8f9339f1 Revert "Remove elipses after 'Open'"
I totally misread this bug report! (#12019)

This reverts commit 8871229f5f.
2021-01-04 14:52:20 -05:00
Richard Kimberly Heck
7ad9e2ab49 Fix bug #11500 2021-01-04 00:12:10 -05:00
Richard Kimberly Heck
8871229f5f Remove elipses after 'Open' 2021-01-03 14:13:36 -05:00