]> git.lyx.org Git - lyx.git/log
lyx.git
5 months agoPass two string parameters as reference
Jean-Marc Lasgouttes [Fri, 12 Jan 2024 15:02:36 +0000 (16:02 +0100)]
Pass two string parameters as reference

Spotted by coverity

5 months agoPass a two parameters parameter by reference
Jean-Marc Lasgouttes [Fri, 12 Jan 2024 14:28:39 +0000 (15:28 +0100)]
Pass a two parameters parameter by reference

Note that there is also a vector parameter that is passed by value.
However it is modified as a local copy and I do not want to change
this now.

Spotted by coverity.

5 months agoPass strings as reference
Jean-Marc Lasgouttes [Fri, 12 Jan 2024 13:34:45 +0000 (14:34 +0100)]
Pass strings as reference

Spotted by coverity.

5 months agoDo not pass list of columns parameter by value
Jean-Marc Lasgouttes [Fri, 12 Jan 2024 11:16:31 +0000 (12:16 +0100)]
Do not pass list of columns parameter by value

There is no need for copying this information.

Noticed by coverity scan.

5 months agoFix bug #13017.
Richard Kimberly Heck [Thu, 11 Jan 2024 22:23:52 +0000 (17:23 -0500)]
Fix bug #13017.

The problem is caused by removing temporary aux, etc, files while
we are in the process of exporting. As Jürgen suggested, we really
do not need to remove these files until we are preparing to export:
They are not used internally. So now we just schedule the removal
and do it then.

5 months ago Update fr/Intro.lyx for 2.4.0
jpc [Thu, 11 Jan 2024 17:47:39 +0000 (18:47 +0100)]
      Update fr/Intro.lyx for 2.4.0

5 months agoFix date 2.4.0-RC1
Richard Kimberly Heck [Thu, 11 Jan 2024 16:32:57 +0000 (11:32 -0500)]
Fix date

5 months agoRemerge strings
Richard Kimberly Heck [Thu, 11 Jan 2024 16:08:15 +0000 (11:08 -0500)]
Remerge strings

5 months agoUpdate bind format
Richard Kimberly Heck [Thu, 11 Jan 2024 16:07:41 +0000 (11:07 -0500)]
Update bind format

5 months agoUpdate docs
Richard Kimberly Heck [Thu, 11 Jan 2024 16:06:40 +0000 (11:06 -0500)]
Update docs

5 months agoReady for RC1
Richard Kimberly Heck [Thu, 11 Jan 2024 16:05:50 +0000 (11:05 -0500)]
Ready for RC1

5 months agoUpdate GMO files
Richard Kimberly Heck [Thu, 11 Jan 2024 16:04:57 +0000 (11:04 -0500)]
Update GMO files

5 months agoBeta 5
Richard Kimberly Heck [Thu, 31 Aug 2023 05:10:20 +0000 (01:10 -0400)]
Beta 5

5 months ago* cs/Tutorial update format
Pavel Sanda [Sat, 6 Jan 2024 16:01:47 +0000 (17:01 +0100)]
* cs/Tutorial update format

5 months agoRemove Greek and Turkish translations from 2.4, they dropped below 50%.
Pavel Sanda [Sat, 6 Jan 2024 15:19:27 +0000 (16:19 +0100)]
Remove Greek and Turkish translations from 2.4, they dropped below 50%.

5 months ago* LFUNS - update format
Pavel Sanda [Sat, 6 Jan 2024 15:04:05 +0000 (16:04 +0100)]
* LFUNS - update format

5 months ago* es/Intro.lyx: Accept all changes and disable CT
Pavel Sanda [Sat, 6 Jan 2024 14:59:55 +0000 (15:59 +0100)]
* es/Intro.lyx: Accept all changes and disable CT

5 months ago* es/Shortcuts - Accept all changes and disable CT
Pavel Sanda [Sat, 6 Jan 2024 14:57:39 +0000 (15:57 +0100)]
* es/Shortcuts - Accept all changes and disable CT

5 months ago* LaTeXConfig: Accept all changes and disable CT
Pavel Sanda [Sat, 6 Jan 2024 14:46:29 +0000 (15:46 +0100)]
* LaTeXConfig: Accept all changes and disable CT

5 months ago*Shortcuts: Accept all changes and disable CT
Pavel Sanda [Sat, 6 Jan 2024 14:44:26 +0000 (15:44 +0100)]
*Shortcuts: Accept all changes and disable CT

5 months ago* Customization: Accept all changes and disable CT
Pavel Sanda [Sat, 6 Jan 2024 14:42:43 +0000 (15:42 +0100)]
* Customization: Accept all changes and disable CT

5 months ago* Math: Accept all changes and disable CT
Pavel Sanda [Sat, 6 Jan 2024 14:39:35 +0000 (15:39 +0100)]
* Math: Accept all changes and disable CT

5 months ago* Embedded Objects: Accept all changes and disable CT
Pavel Sanda [Sat, 6 Jan 2024 14:37:40 +0000 (15:37 +0100)]
* Embedded Objects: Accept all changes and disable CT

5 months ago* Additional: Accept all changes and disable CT
Pavel Sanda [Sat, 6 Jan 2024 14:32:32 +0000 (15:32 +0100)]
* Additional: Accept all changes and disable CT

5 months agoUserGuide: Accept all changes and disable CT
Pavel Sanda [Sat, 6 Jan 2024 14:21:48 +0000 (15:21 +0100)]
UserGuide: Accept all changes and disable CT

5 months ago* Tutorial: Accept all changes and disable CT
Pavel Sanda [Sat, 6 Jan 2024 14:07:54 +0000 (15:07 +0100)]
* Tutorial: Accept all changes and disable CT

5 months ago* Intro.lyx: Accept all changes and disable CT
Pavel Sanda [Sat, 6 Jan 2024 14:03:07 +0000 (15:03 +0100)]
* Intro.lyx: Accept all changes and disable CT

5 months agoAdd Kees to credits
Juergen Spitzmueller [Sat, 6 Jan 2024 10:46:25 +0000 (11:46 +0100)]
Add Kees to credits

5 months agonl.po: update from Kees Zeelenberg
Juergen Spitzmueller [Sat, 6 Jan 2024 10:38:00 +0000 (11:38 +0100)]
nl.po: update from Kees Zeelenberg

5 months agoRemove obsolete comment
Jean-Marc Lasgouttes [Thu, 4 Jan 2024 17:44:33 +0000 (18:44 +0100)]
Remove obsolete comment

5 months agoUpdate UserGuide.lyx
Udi-Fogiel [Wed, 3 Jan 2024 18:23:29 +0000 (20:23 +0200)]
Update UserGuide.lyx

Respect OS keyboard language
was removed from 2.4.0, see #6450

5 months agoAmmend 750a954f
Udi-Fogiel [Wed, 3 Jan 2024 14:33:13 +0000 (16:33 +0200)]
Ammend 750a954f

fix wrong message titles

5 months agoUpdate he.po
Udi-Fogiel [Wed, 3 Jan 2024 14:20:07 +0000 (16:20 +0200)]
Update he.po

Thanks Omer and Yitzhak!

5 months agoadd Omer and Yitzhak to generate_contributions
Udi-Fogiel [Wed, 3 Jan 2024 13:56:47 +0000 (15:56 +0200)]
add Omer and Yitzhak to generate_contributions

5 months agoUpdate it.po
Enrico Forestieri [Mon, 1 Jan 2024 21:00:29 +0000 (22:00 +0100)]
Update it.po

5 months agodon't convert hebrew parentheses in passthru insets
Udi-Fogiel [Sun, 31 Dec 2023 21:32:36 +0000 (23:32 +0200)]
don't convert hebrew parentheses in passthru insets

Fix 12966. A few notes:

* we need to consider both regular insets and argument insets.
* in passthru layouts (such as verbatim) parentheses still need
  to be reversed.
* all arguments of type 'listpreamble' are passthru (this isn't a rule,
  this is just what happen in practice).
* custom layout and insets from the local layout, or a custom module
  are not considered.

Signed-off-by: Udi-Fogiel <udifoglle@gmail.com>
5 months agoAmmend 9e8901f997f0b27
Udi-Fogiel [Mon, 1 Jan 2024 10:33:25 +0000 (12:33 +0200)]
Ammend 9e8901f997f0b27

Fix a typo in UserGuide.lyx

5 months agoAdd an export test for #13022
Scott Kostyshak [Sat, 30 Dec 2023 15:50:53 +0000 (10:50 -0500)]
Add an export test for #13022

Original file provided by Jéssica Milaré, and simplified to this
simple example by Udi.

5 months agoctests: add regression test for #13019
Scott Kostyshak [Fri, 29 Dec 2023 21:59:30 +0000 (16:59 -0500)]
ctests: add regression test for #13019

File was posted by Udi.

5 months agoAmend 7441172d
Udi-Fogiel [Fri, 29 Dec 2023 19:10:50 +0000 (20:10 +0100)]
Amend 7441172d

colswitch was checking for oldstyle instead of normalcolor
to see if we need \normalcolor, which lead to appearence
of \color{none} in some cases, but "none" is not a known
color.

5 months agoChange the way a filepath is displayed
Enrico Forestieri [Fri, 29 Dec 2023 18:20:25 +0000 (19:20 +0100)]
Change the way a filepath is displayed

Instead of displaying the complete path, display the file name
first and then the path enclosed in parenthesis.

In this way files with same name but different path can still be
distinguished and, at the same time, files with different names
but same path are more easily spotted in case the complete path
is truncated by file managers.

5 months agoja docs: restore \font_typewriter to IPAGothic
Scott Kostyshak [Mon, 25 Dec 2023 17:20:33 +0000 (12:20 -0500)]
ja docs: restore \font_typewriter to IPAGothic

This fixes, for example, the following ctests:

  export/doc/ja/Customization_pdf4_systemF
  export/doc/ja/Customization_pdf5_systemF

Consistent with ffe5d61b.

5 months agoja docs: restore \origin
Scott Kostyshak [Mon, 25 Dec 2023 17:09:31 +0000 (12:09 -0500)]
ja docs: restore \origin

Amends afcd501f.

5 months agoTemporary fix for #11723.
Koji Yakota [Mon, 25 Dec 2023 16:44:21 +0000 (11:44 -0500)]
Temporary fix for #11723.

5 months agoJapanese translations and docs from Koji
Richard Kimberly Heck [Mon, 25 Dec 2023 16:41:49 +0000 (11:41 -0500)]
Japanese translations and docs from Koji

5 months agoRevert "Hebrew translation from Omer"
Richard Kimberly Heck [Mon, 25 Dec 2023 04:05:00 +0000 (23:05 -0500)]
Revert "Hebrew translation from Omer"

There are two people working on this, and this one doesn't compile.

This reverts commit 63b4501efd67617a51564ceb397c9d958f0d2e17.

5 months agoHebrew translation from Omer
Richard Kimberly Heck [Sat, 23 Dec 2023 18:21:41 +0000 (13:21 -0500)]
Hebrew translation from Omer

5 months agoRemove redundant code
Richard Kimberly Heck [Sat, 23 Dec 2023 18:17:56 +0000 (13:17 -0500)]
Remove redundant code

5 months agoAmend 782f6eae00c30
Juergen Spitzmueller [Wed, 20 Dec 2023 07:49:54 +0000 (08:49 +0100)]
Amend 782f6eae00c30

Rows should only be removed in ct mode if they have been added
in ct mode by the same author (otherwise mark them deleted)

5 months agoFix previews in yellow notes and disabled branches
Jean-Marc Lasgouttes [Tue, 19 Dec 2023 16:45:00 +0000 (17:45 +0100)]
Fix previews in yellow notes and disabled branches

While it is not necessary to run validate() on insets that do not
produce output (yellow notes and disabled branches), it has to be done
for previewing, since a construct inside the inset may require some
support.

This is done in two steps:

1. in PreviewLoader::dumpPreamble, indicate that a preview is being
   prepared. It is not clear why the `for_preview' boolean was not set
   before.

2. in Inset(Branch|Note)::validate, always call the parent's validate
   method when previewing.

It should have been possible to move the code from 2. to
InsetText::validate, but the weird code in handling
InsetNoteParams::Comment in html makes it difficult.

5 months agoRemove unused variables
Jean-Marc Lasgouttes [Tue, 19 Dec 2023 16:24:31 +0000 (17:24 +0100)]
Remove unused variables

5 months agoFix tracking of table row/column deletion with added material (#12984)
Juergen Spitzmueller [Tue, 19 Dec 2023 15:45:16 +0000 (16:45 +0100)]
Fix tracking of table row/column deletion with added material (#12984)

5 months agoDon't inherit font in Label inset
Daniel Ramoeller [Fri, 22 Oct 2021 06:32:30 +0000 (08:32 +0200)]
Don't inherit font in Label inset

Fix for #12404.

5 months agoOutput added par break marker inside argument for commands (#13014)
Juergen Spitzmueller [Tue, 19 Dec 2023 14:48:07 +0000 (15:48 +0100)]
Output added par break marker inside argument for commands (#13014)

6 months agoShow change bar for an end-of-paragraph change
Jean-Marc Lasgouttes [Mon, 11 Dec 2023 16:40:09 +0000 (17:40 +0100)]
Show change bar for an end-of-paragraph change

Fixes bug #13003.

6 months agoDisable properly math inset locking
Jean-Marc Lasgouttes [Thu, 7 Dec 2023 16:21:45 +0000 (17:21 +0100)]
Disable properly math inset locking

It is not clear whether this feature was once documented and used (it
would have been 20 years ago).

It is mostly disable now, but there was a remaining bit that is
annoying now.

I'll try to restore this later.

6 months agoPython fixes for export to LyX Archive
Scott Kostyshak [Wed, 6 Dec 2023 19:11:41 +0000 (14:11 -0500)]
Python fixes for export to LyX Archive

Patch by Kees and José Matos.

For discussion, please see this [1] ML thread. José additionally
notes [2] the following:

  I took the change and I changed some minor annoyances:
  * test comparison with None;
  * fixed a region where the indentation was different from all the
  others (2 spaces instead of 4);
  * replaced xrange with range.

[1] https://www.mail-archive.com/search?l=mid&q=007b01da285a%241b8e28c0%2452aa7a40%24%40gmail.com
[2] https://www.mail-archive.com/search?l=mid&q=0cd9fe5fd161c0ad8950258867255a3bfae8dbc1.camel%40gmail.com

6 months agoAmend ddc5fed0ad00a3
Juergen Spitzmueller [Tue, 5 Dec 2023 17:36:04 +0000 (18:36 +0100)]
Amend ddc5fed0ad00a3

*facepalm*

6 months agoFix pt_BR.po escapes
Scott Kostyshak [Tue, 5 Dec 2023 16:24:00 +0000 (11:24 -0500)]
Fix pt_BR.po escapes

We need to use two backslashes for "\\arabic".

This fixes instances of the following warning:

  warning: internationalized messages should not contain the '\a'
  escape sequence

Amends a82ea09a.

6 months agoOmit character activation with hanging package
Juergen Spitzmueller [Tue, 5 Dec 2023 16:07:10 +0000 (17:07 +0100)]
Omit character activation with hanging package

We do not use this feature anyway, and it breaks with other packages/
languages that activate characters

6 months agoPO file from Georger, and GMO updates
Richard Kimberly Heck [Mon, 4 Dec 2023 22:02:25 +0000 (17:02 -0500)]
PO file from Georger, and GMO updates

6 months agofr.po - Restore broken header
Pavel Sanda [Mon, 4 Dec 2023 20:43:30 +0000 (21:43 +0100)]
fr.po - Restore broken header

6 months ago* pt_BR.po from Georger
Pavel Sanda [Mon, 4 Dec 2023 20:22:02 +0000 (21:22 +0100)]
* pt_BR.po from Georger

6 months agoAmend 369828194361164 once more
Juergen Spitzmueller [Sun, 3 Dec 2023 10:18:42 +0000 (11:18 +0100)]
Amend 369828194361164 once more

We need to trim off tabs and spaces

6 months agoAmend 369828194361164 for the sake of the (not exceptionally bright) layout test
Juergen Spitzmueller [Sun, 3 Dec 2023 09:36:59 +0000 (10:36 +0100)]
Amend 369828194361164 for the sake of the (not exceptionally bright) layout test

6 months agoRemove code that has been dead for almost 20 years
Jean-Marc Lasgouttes [Thu, 30 Nov 2023 08:46:05 +0000 (09:46 +0100)]
Remove code that has been dead for almost 20 years

6 months agoBetter variable name
Richard Kimberly Heck [Tue, 28 Nov 2023 02:33:46 +0000 (21:33 -0500)]
Better variable name

I think this one must be a leftover from before the ranges.

6 months ago* Additional.lyx - typo reported by Daniel (#12985).
Pavel Sanda [Mon, 27 Nov 2023 19:07:35 +0000 (20:07 +0100)]
* Additional.lyx - typo reported by Daniel (#12985).

6 months agode/Customization: update
Juergen Spitzmueller [Fri, 24 Nov 2023 15:49:35 +0000 (16:49 +0100)]
de/Customization: update

7 months agoAmend 28e8bf742.
Richard Kimberly Heck [Sat, 18 Nov 2023 00:31:55 +0000 (19:31 -0500)]
Amend 28e8bf742.

The default 'empty' layout has "UNDEFINED" for the LabelString.

7 months agoDocument 58103cf2
Enrico Forestieri [Fri, 17 Nov 2023 18:30:10 +0000 (19:30 +0100)]
Document 58103cf2

7 months agoAmend 58103cf2
Enrico Forestieri [Fri, 17 Nov 2023 18:03:46 +0000 (19:03 +0100)]
Amend 58103cf2

- Do not clear the initial selection to allow consecutive changes
  (this is in line with the behavior in texted)
- Make the color changes last so that the underline is the right color
- Allow to operate on selections that span multiple cells in a grid
- Use \boldsymbol instead of \mathbf to make everything bold

7 months agoLet label strings work with branches.
Richard Kimberly Heck [Fri, 17 Nov 2023 01:16:28 +0000 (20:16 -0500)]
Let label strings work with branches.

A better patch will be attached to bug #12974.

7 months agoFix layout names for branches.
Richard Kimberly Heck [Thu, 16 Nov 2023 19:03:34 +0000 (14:03 -0500)]
Fix layout names for branches.

7 months ago* cs.po
Pavel Sanda [Wed, 15 Nov 2023 23:07:34 +0000 (00:07 +0100)]
* cs.po

7 months ago* layouttranslations reviewed by Yuriy
Pavel Sanda [Mon, 13 Nov 2023 21:36:57 +0000 (22:36 +0100)]
* layouttranslations reviewed by Yuriy

7 months agoUpdate ru.po
Yuriy Skalko [Fri, 10 Nov 2023 16:37:25 +0000 (17:37 +0100)]
Update ru.po

7 months ago Update fr.po
jpc [Sat, 11 Nov 2023 14:38:17 +0000 (15:38 +0100)]
       Update fr.po

7 months agofixup 2b0841b0: forgot to add new file
Jean-Marc Lasgouttes [Fri, 10 Nov 2023 13:39:27 +0000 (14:39 +0100)]
fixup 2b0841b0: forgot to add new file

7 months agoMove LYX_(BEGIN|END)_MUTE_GCC_WARNING macros to their own header.
Jean-Marc Lasgouttes [Fri, 10 Nov 2023 12:14:34 +0000 (13:14 +0100)]
Move LYX_(BEGIN|END)_MUTE_GCC_WARNING macros to their own header.

It was not nice to other build systems to define that in configure.ac.

7 months agoAvoid dangling-reference warning in several places
Jean-Marc Lasgouttes [Wed, 8 Nov 2023 17:07:14 +0000 (18:07 +0100)]
Avoid dangling-reference warning in several places

This new warning in gcc 13 is annoying because it happens in certain
parts of our code where it is harmless to pass a temporary variable to
a function that returns a reference.

This patch introduces a new pair of macros,
LYX_BEGIN_MUTE_GCC_WARNING(warn) and LYX_END_MUTE_GCC_WARNING, which
can be used to define a block of code where a given GCC warning is disabled.

The macros are no-ops with compilers other than gcc, although some
compilers that pretend to be GCC make be mis-detected. The worse that
can happen AFAIU is a bunch of warnings.

The macro relies on an intimidating set of for nested macros. The goal
of these macros is to build a nested string bit by bit. Here is how it
works:

PRAGMA_IGNORE(dangling-reference)
  => PRAGMA_IGNORE_1(-Wdangling-reference)
  => PRAGMA_IGNORE_2("-Wdangling-reference")
  => PRAGMA_IGNORE_3(GCC diagnostic ignored "-Wdangling-reference")
  => _Pragma("GCC diagnostic ignored \""-Wdangling-reference\"")

The next question is: what is _Pragma() good for? Well, it is a
version of #pragma that can be used in a macro.

And finally, what are those pragmas good for? The 'push' and 'pop'
ones make changes to warnings local. The 'ignored' ones allow
to disable some warnings. And disabling -Wpragmas ensures that we do
not have a warning if we try to disable a warning that is not
supported by the compiler.

7 months agoRead separated required arg without enquoting
Juergen Spitzmueller [Thu, 9 Nov 2023 21:06:39 +0000 (22:06 +0100)]
Read separated required arg without enquoting

7 months agoImprove documentation of required argument tag
Juergen Spitzmueller [Thu, 9 Nov 2023 21:06:11 +0000 (22:06 +0100)]
Improve documentation of required argument tag

7 months ago* layouttranslations - uk review by Yuri
Pavel Sanda [Thu, 9 Nov 2023 19:38:34 +0000 (20:38 +0100)]
* layouttranslations - uk review by Yuri

7 months agoGMO for Ukranian update
Richard Kimberly Heck [Thu, 9 Nov 2023 03:48:13 +0000 (22:48 -0500)]
GMO for Ukranian update

7 months agoUkranian update from Yuri. Thanks Yuri!
Richard Kimberly Heck [Thu, 9 Nov 2023 03:46:33 +0000 (22:46 -0500)]
Ukranian update from Yuri. Thanks Yuri!

7 months agoAmend 58103cf2
Enrico Forestieri [Wed, 8 Nov 2023 22:59:43 +0000 (23:59 +0100)]
Amend 58103cf2

The \underbar macro is a text mode macro that can also be used
in math mode. However, when inserting it in mathed, LyX helpfully
wraps it in a \text inset. One can dissolve such text inset and
the macro would appear in math mode without any problem. But the
output routine thinks that the user is shooting itself in the
foot and tries to protect him by wrapping \underbar in the
\lyxmathsym macro, whose definition is normally added to the
preamble when an unicode character is used in math mode.

Of course, this is not the case for \underbar and a compile
error arises. The easier solution is to simply add lyxmathsym as
a requirement for \underbar in lib/symbols, but this means
that the definition of \lyxmathsym would be added even when not
necessary (because in the validation routine we miss the info
about the current mode). The correct solution is acknowledging
the dual nature of \underbar as a text-mode macro that can also
be used in math mode. Luckily the correct solution is almost as
easy as the easier one and is what is done in this commit.

7 months agoBetter dialog resizing behavior
Yuriy Skalko [Wed, 8 Nov 2023 22:38:09 +0000 (23:38 +0100)]
Better dialog resizing behavior

7 months agoUserGuide: fix menu name
Yuriy Skalko [Wed, 8 Nov 2023 22:21:57 +0000 (23:21 +0100)]
UserGuide: fix menu name

7 months agoUpdate ru.po and UserGuide
Yuriy Skalko [Wed, 8 Nov 2023 22:14:50 +0000 (23:14 +0100)]
Update ru.po and UserGuide

7 months agoFix mangling names in temp directory (amends eef0c8e8).
Pavel Sanda [Wed, 8 Nov 2023 20:42:54 +0000 (21:42 +0100)]
Fix mangling names in temp directory (amends eef0c8e8).

Separate mangled-name tables for xhtml and latex exports.

LaTeX route should stay as it were (counter+mangled path within filenames in
temp directory)

xHTML route uses hash of path + filename only. We won't use counters because
(unlike in LaTeX export) they stay visible in final export directory and
generally change across LyX sessions.
Hash is short with collision handling because path-length limits of Windows.

cf https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg220582.html

7 months ago* cs.gmo
Pavel Sanda [Wed, 8 Nov 2023 20:37:01 +0000 (21:37 +0100)]
* cs.gmo

7 months ago* cs.po
Pavel Sanda [Wed, 8 Nov 2023 20:36:50 +0000 (21:36 +0100)]
* cs.po

7 months agoLimit nomencl backwards support to case when old package is really used
Juergen Spitzmueller [Wed, 8 Nov 2023 15:17:58 +0000 (16:17 +0100)]
Limit nomencl backwards support to case when old package is really used

This is only needed for very old versions of the nomencl package
(before March 2005)

No need to output compatibility code with newer versions

Furthermore, this breaks the use of the glossary package which also
has .glo extension (#12968)

7 months agoDo not reverse parentheses in pass thru insets (#12966)
Juergen Spitzmueller [Wed, 8 Nov 2023 14:14:37 +0000 (15:14 +0100)]
Do not reverse parentheses in pass thru insets (#12966)

7 months agoDo not accumulate underline changes
Enrico Forestieri [Wed, 8 Nov 2023 08:17:38 +0000 (09:17 +0100)]
Do not accumulate underline changes

If an element is underlined in mathed by using the text properties
dialog, the changes accumulate. So, for example, to change a single
underline to a double one, one would need removing the previous
underline first. This commit allows using the text properties
dialog and simply replace an underline type with another one.

However, this works only if the underlined element is not included
in some other inset. For example, given "\uline{\text{abc}}",
selecting the 'b' and choosing a double underline produces
"\uline{\text{a\uuline{b}c}}". But, given "\text{\uline{abc}}", and
operating as before produces "\text{\uline{a}\uuline{b}\uline{c}}".

7 months agoAmend 58103cf2
Enrico Forestieri [Wed, 8 Nov 2023 07:56:40 +0000 (08:56 +0100)]
Amend 58103cf2

Give a variable a more meaningful name and fix a typo.

7 months agoUpdate math macro display when entering from above/balow
Jean-Marc Lasgouttes [Tue, 7 Nov 2023 14:43:57 +0000 (15:43 +0100)]
Update math macro display when entering from above/balow

This change forces metrics computation in all cases when cursor enters
a math inset from above/below, but I do not have a better idea right now.

Fixes bug #12952.

7 months agoSilence compiler warning
Enrico Forestieri [Mon, 6 Nov 2023 20:03:23 +0000 (21:03 +0100)]
Silence compiler warning

7 months agoAmend 58103cf2
Enrico Forestieri [Mon, 6 Nov 2023 17:46:22 +0000 (18:46 +0100)]
Amend 58103cf2

Correct file name.