Commit Graph

46679 Commits

Author SHA1 Message Date
Juergen Spitzmueller
91186013ba Fix result of deleteSpaces()
With change tracking on, spaces that are marked as ADDED are really
removed (and not marked deleted) if the changeAuthor is the current
author; see Paragraph::eraseChar().

The function tried to account for that but had the logic upside down.

Consequently actually deleted spaces haven't been counted and the
result was off.

This fixes an assertion when pasting in CT parts with deleted stuff
(#12901)
2023-09-13 13:50:40 +02:00
Juergen Spitzmueller
81dc79e6d6 whitespace 2023-09-13 13:21:37 +02:00
Juergen Spitzmueller
43ddd3b037 Fix indentation 2023-09-12 16:39:23 +02:00
Jean-Marc Lasgouttes
9c49e72f7e Small updates to painting analysis document 2023-09-10 20:24:39 +02:00
Juergen Spitzmueller
be1bf5c05c Fix nullpointer (#12898)
Also, quit method early if file does not exist
2023-09-10 14:47:59 +02:00
Juergen Spitzmueller
ea55ca5e84 Handle bibtex location field syntax file1;file2
This is used, for instance, by zotero with the "betterbibtex" exporter

See #12896
2023-09-09 13:00:36 +02:00
Juergen Spitzmueller
b7f5b872f5 Example updates for ca and es from Daniel 2023-09-09 11:07:24 +02:00
Juergen Spitzmueller
ac59b04922 Only create a new view for lyxfiles-open if no view is open (#12894) 2023-09-08 17:47:47 +02:00
Juergen Spitzmueller
90e05de396 Revert "No need (any longer?) to create a new view for lyxfiles-open"
This reverts commit 9f238ca201.
2023-09-08 16:37:06 +02:00
Juergen Spitzmueller
9f238ca201 No need (any longer?) to create a new view for lyxfiles-open 2023-09-08 16:16:01 +02:00
Juergen Spitzmueller
117e259f0a Handle multiple files in file and localfile BibTeX field (#12896) 2023-09-08 14:02:23 +02:00
Juergen Spitzmueller
4dd91308d1 de.po 2023-09-08 11:56:29 +02:00
Daniel Ramoeller
3318febd0c Improve Open External Target dialog text
Fix for #12897
2023-09-08 10:39:45 +02:00
Daniel Ramoeller
fdcb160ed8 Fix bug #11497 2023-09-06 22:52:42 -04:00
Scott Kostyshak
77fc67d3f0 Fix lyx2lyx issue reported on ML
The issue was reported on lyx-users by Chris Menzel [1].

Patch is from José Matos [2].

[1] https://www.mail-archive.com/search?l=mid&q=BD744D7E-54B4-4E95-A4E3-6B28F4987DE1%40gmail.com
[2] https://www.mail-archive.com/search?l=mid&q=c2ac54c2322d24051f171558ad8487ea4f7078ed.camel%40gmail.com
2023-09-06 13:07:40 -04:00
Juergen Spitzmueller
5840806a4c Update tex2lyx tests 2023-09-06 08:42:22 +02:00
Juergen Spitzmueller
87620d7349 Add forgotten file formatted change (from 2ad57dcb6b)
This means that lyx2lyx reversion in beta5 is essentially broken
as it ends in a document containing an unknown header
2023-09-06 08:37:43 +02:00
Pavel Sanda
7980523448 Typo fix from Jose 2023-09-05 20:48:34 +02:00
Jean-Marc Lasgouttes
100e759f17 When splitting a bufferview, keep the scrollbar position
This is actually better thean making sure that the cursor is visible.

Fixes bug #12689.
2023-09-05 14:33:18 +02:00
Juergen Spitzmueller
375bb32a3d More style polishing 2023-09-05 12:07:05 +02:00
Juergen Spitzmueller
6bb72cc28c With Qt6 on linux, we need to catch StyleChange here 2023-09-05 12:01:17 +02:00
Juergen Spitzmueller
7c8c3657fd Also change pdf module highlighting on the fly on mode change 2023-09-05 11:48:53 +02:00
Juergen Spitzmueller
51fd28ed4d Update highlighting colors in runtime (dark/light) mode change
Until now, this required a restart.
2023-09-05 11:14:59 +02:00
Juergen Spitzmueller
32f89cbbf5 Style only 2023-09-05 11:13:58 +02:00
Pavel Sanda
97ed7ded05 * es/Intro from Dan. 2023-09-04 23:11:38 +02:00
Pavel Sanda
5e576550c7 Update footnote.png (foot->Foot)
Patch from Dan.
2023-09-04 23:08:42 +02:00
Pavel Sanda
e361282f5e Irrelevant part of #12882 amending 9e8901f997.
Patch from Udi.
2023-09-04 22:05:21 +02:00
Pavel Sanda
625c61f1d5 Output python version in About dialog.
Patch from Jose.
2023-09-04 21:50:51 +02:00
Pavel Sanda
56fe7f47eb * Intro.lyx from Dan 2023-09-04 21:31:35 +02:00
Jean-Marc Lasgouttes
0c6101b0cb Put comment where it belongs 2023-09-04 11:07:34 +02:00
Juergen Spitzmueller
b11164524d GuiLyXFiles: make sure language selector is disabled when dialog is reopened 2023-09-04 07:58:59 +02:00
Pavel Sanda
59a036a81e * es/Shortcuts.lyx from Dan. 2023-09-03 21:07:56 +02:00
Pavel Sanda
19a5965153 Review of pt layouttranslation by Jose 2023-09-03 20:47:36 +02:00
Juergen Spitzmueller
4393382f02 GuiLyXFiles: fix button controller handling 2023-09-03 15:09:13 +02:00
jpc
06ac2c0e61 Update fr.po 2023-09-03 14:56:19 +02:00
Enrico Forestieri
1cbcb30353 Fix assertion when canceling file dialog
Without this patch, when a file has to be loaded (for example,
after "Document->Settings->Local Class" or "Insert->Graphics")
and the file dialog is canceled, both Qt5 and Qt6 assert:
ASSERT failure in QList::at: "index out of range"
2023-09-02 18:15:09 +02:00
Jean-Marc Lasgouttes
7eecab5902 Check whether MathRow exists when computing caret metrics
Fixes bug #12888.
2023-09-02 17:21:03 +02:00
Jean-Marc Lasgouttes
e651e15a99 Improve caret position when splitting a view
The old code only worked for toplevel cursors and did not show current cursor.
Note that the two windows do not have exactly the same offset.

Fixes bug #12689.
2023-09-02 17:21:03 +02:00
Kornel Benko
f833e5f184 Update sk.po 2023-09-02 15:49:57 +02:00
Enrico Forestieri
98eb505c9b Update it.po 2023-09-02 15:43:01 +02:00
Juergen Spitzmueller
0177ed3df7 de.po 2023-09-02 15:23:26 +02:00
Enrico Forestieri
7cad99347a Update it.po 2023-09-02 15:14:13 +02:00
Juergen Spitzmueller
aaae3ad5cc Remove redundant code and clarify strings 2023-09-02 14:28:33 +02:00
Pavel Sanda
669774020f * es Welcome.lyx from Daniel 2023-09-01 20:51:27 +02:00
Pavel Sanda
89120ce722 * ca/Intro.lyx from Daniel 2023-09-01 20:47:25 +02:00
Pavel Sanda
8f06e44d31 * doc/Intro.lyx from Daniel 2023-09-01 20:42:28 +02:00
Pavel Sanda
04619a67e9 Forgot to add ca/Shortcuts.lyx into distribution 2023-09-01 20:34:56 +02:00
Pavel Sanda
b93f4a4c74 * cs.po 2023-09-01 20:33:01 +02:00
Pavel Sanda
e78e4bcc09 remerge cs.po 2023-09-01 18:29:00 +02:00
Pavel Sanda
28f76b84c9 remerge he.po 2023-09-01 18:25:30 +02:00