Commit Graph

46382 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
f5bbadbad9 Implement undo coalescing
if the undo element we want to add only changes stuff that was already
modified by the previous one on undo stack (in the same group), then
skip it. There is nothing to gain in adding it to the stack.

The typical use case is when doing a search and replace in a large
document that does many replacements in each paragraph. In this case,
the same paragraph would be stored repeatedly.

Fixes bug #12564.
2024-04-05 12:50:20 +02:00
Stephan Witt
4c1db7cad8 #13049 add window activation for preferences to avoid it be hidden by main window on mac after alert prompts 2024-04-05 10:47:49 +02:00
Richard Kimberly Heck
eb57c93aab Update update-po.sh script
(cherry picked from commit b360b9ebf7)
2024-04-04 17:17:46 -04:00
Jean-Marc Lasgouttes
51562ff377 Do not include <QDate> in InsetInfo.h
This is used by getDate/getTime, which actually should not be
InsetInfoParams methods, but functions in anonymous namespace.
2024-04-04 17:47:33 +02:00
Juergen Spitzmueller
16fb7ae52d de.po 2024-04-04 17:17:41 +02:00
Jean-Marc Lasgouttes
b28655e91e fix typo in fr/Intro.lyx 2024-04-04 17:16:19 +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
Jean-Marc Lasgouttes
6260689fd5 Compilation fix with Qt < 5.7
Qt::ImAnchorRectangle has only been introduced in Qt 5.7. Since it is
used to answer a query from the IM machinery, there is no need for
it with older Qt versions.
2024-04-03 12:41:45 +02:00
Kornel Benko
f89e39e403 Update sk.po 2024-04-03 12:24:28 +02:00
Juergen Spitzmueller
c1078811c4 de.po 2024-04-03 09:12:15 +02:00
Juergen Spitzmueller
728175f9ac Dissolve some shortcut conflicts in the wake of f3a4602c4c 2024-04-03 08:28:00 +02:00
Juergen Spitzmueller
a55ede6a74 Update German User Guide 2024-04-03 07:35:59 +02:00
Juergen Spitzmueller
77b680546d Merge branch 'master' of git.lyx.org:lyx 2024-04-03 07:26:11 +02:00
Richard Kimberly Heck
34dbdad957 Ignore all build* directories
(cherry picked from commit 368f10571a)
2024-04-02 22:05:14 -04:00
Richard Kimberly Heck
b8a988fa13 Docs for menu change
(cherry picked from commit c8534081c9)
2024-04-02 22:05:01 -04:00
jpc
3923c3abf4 Update fr.po 2024-04-02 18:56:42 +02:00
Richard Kimberly Heck
f374869687 Update doc info for quote-insert 2024-04-02 12:46:36 -04:00
Juergen Spitzmueller
655cdfbb7b de.po 2024-04-02 16:26: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
jpc
8850b68792 Translation of French Additional.lyx: chapter 3 completed 2024-04-02 11:52:40 +02:00
Kornel Benko
6ad572a3a2 Update sk.po 2024-04-02 11:35:56 +02:00
Kornel Benko
b8b9e8ec14 Cmake build: Adapt for branch 2.4 2024-04-02 10:46:20 +02:00
Juergen Spitzmueller
0b8e8eb174 de/UserGuide: update 2024-04-02 09:53:58 +02:00
P. De Visschere
4d02fb7ad7 cmake build with qt6 (macos) did not include "plugins" 2024-04-02 09:22:53 +02:00
Kornel Benko
8d79860ea7 Cmake build: Handle deprecated cmake versions
The warning says:
CMake Deprecation Warning at .../CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

Spotted by Scott Kostyshak
2024-04-02 09:22:53 +02:00
Daniel Ramoeller
638c04dd6a FindAdv: no paragraph indentation for more space in the search string
See #11555
2024-04-02 09:22:53 +02:00
Kornel Benko
07cacef398 FindAdv: Handle neg-spaces like normal space if searching without format 2024-04-02 09:22:53 +02:00
Kornel Benko
8de81e8dc1 Rename hasToString() to findUsesToString()
There are special cases where the toString() exist,
but still plaintext() is not to be used by find.
2024-04-02 09:22:53 +02:00
Juergen Spitzmueller
645ab7fa73 de.po 2024-04-02 08:23:42 +02:00
Juergen Spitzmueller
98080ca0d5 Fix label escaping in InsetMathRef (#12980)
This was completely broken: the IDs have been escaped in the LyX file
(which they absolutely shouldn't) but not in all LaTeX output (which
they should).
2024-04-02 08:15:53 +02:00
Richard Kimberly Heck
1198bbf01a Fix duplicate accelerator 2024-04-01 21:55:25 -04:00
Richard Kimberly Heck
e51cca2ef0 Add shortcut for plain single quote.
(cherry picked from commit d3101e6d6f)
2024-04-01 17:28:22 -04:00
Richard Kimberly Heck
b0c4681cd8 Clarify quote-insert LFUN.
And add remark about multiple optional arguments.

(cherry picked from commit 29be057a07)
2024-04-01 17:28:19 -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
Richard Kimberly Heck
6b1c5eb51b Open for 2.5 development 2024-04-01 16:19:22 -04:00
Juergen Spitzmueller
31ec96e01f Fix context menu of InsetMathRef 2024-04-01 17:59:56 +02:00
Juergen Spitzmueller
a020bbc4a8 Fix backslash LaTeXifying in InsetCommand
\ was transformed very early to \textbackslash{}, but then the following
routines escaped braces in the string, so we wrongly ended up in
\textbackslash\{\} and "\{} in the output
2024-04-01 10:57:27 +02:00
Juergen Spitzmueller
812e306dad Factor out shared method
Amends babb5b007b
2024-03-31 12:40:27 +02:00
jpc
55330a7844 Restore Chapter 11 2024-03-30 17:39:00 +01:00
Juergen Spitzmueller
babb5b007b Fix crash with quick search starting with mathed selection
setCursorSelection does not work with math. Copy the method from
spellchecker.
2024-03-30 10:14:34 +01:00
jpc
571babff5e Further translations of the French Additional manual 2024-03-29 18:58:25 +01:00
jpc
a9a328c85d Further translations of French Additional manual + typo and ref. to Hebrew Letter in sec 3.5 of Additional.lyx 2024-03-28 19:11:55 +01:00
Juergen Spitzmueller
698f922d19 Do not enter page break in heading (#13040)
Rather than that, put it before or after, or disallow,
depending on the position.
2024-03-28 18:03:54 +01:00
jpc
20c79dd472 Further translations of French Additional manual 2024-03-28 10:13:22 +01:00
jpc
cdb4cf5fa4 Further translation of French Additional manual + typo in English version 2024-03-27 18:39:25 +01:00
Jean-Marc Lasgouttes
43b1234a98 Typo in doc
Thanks to Peter J. Puchyr for noticing it.
2024-03-25 22:32:17 +01:00
Juergen Spitzmueller
60cffcd9b7 Fix alignment of screen font preview in prefs (remaining part of #13046) 2024-03-24 09:00:41 +01:00
Patrick de Visschere
58aca89003 Cmake build wit qt(5|6)(macos) did not include "plugins"
This makes things much simpler.

But at least with the latest macos tools (Sonoma and XCode15) a bundle
refuses to run if it 's not signed properly.

Both issues are solved with the patch included and have now been tested
with Qt5.15 and Qt6.7.

For completeness: I've checked the font-emph shortcut issue and, as
reported in the ticket mentioned, ^CmdE works with Qt5.15 but not with
Qt6.7. However the sequence ^C E does work. I don't know whether this is
intended as a workaround for this issue or was already implemented.
2024-03-23 11:28:31 +01:00
Jean-Marc Lasgouttes
4dfebbe9da Fix display of a math hull inset in a tight inset
This is a kind of hack. This allows InsetMathHull to state that it
needs some elbow room beyond its width, in order to fit the numbering
and/or the left margin (with left alignment), which are outside of the
inset itself.

To this end, InsetMathHull::metrics() sets a value in
MetricsInfo::extrawidth and this value is added later to the width of
the row that contains the inset (when this row is tight or shorter
than the max allowed width).

Fixes bug #12320.
2024-03-22 15:40:40 +01:00
Jean-Marc Lasgouttes
6d62d8009f Revert "Fix display of a math hull inset in a tight inset"
This commit will be replaed by a better solution.

Part of ticket #12320.

This reverts commit 4bbd4a45e7.
2024-03-22 15:08:26 +01:00