Juergen Spitzmueller
8b1f1c29ff
Style
2023-09-30 13:58:57 +02:00
Udi Fogiel
7ccdc6edf5
fix nested uwave
2023-09-30 13:44:03 +02:00
Juergen Spitzmueller
fc9684a130
Prevent access to null local_font
2023-09-30 13:01:20 +02:00
Juergen Spitzmueller
1d00389bf8
Update tex2lyx tests after recent format change
2023-09-30 09:59:36 +02:00
Juergen Spitzmueller
087f6bce71
Introduce default box frame color ( #12921 )
...
This better aligns with dark mode
2023-09-30 09:56:27 +02:00
Juergen Spitzmueller
7aa00f0b92
Fix quote menu item, from Dan
...
Current language is relevant here, not main language
2023-09-29 13:09:20 +02:00
Pavel Sanda
6141b437b1
pdfcolmk is an empty stub for many years now (bug #12920 ).
...
Patch from Udi.
2023-09-28 00:36:35 +02:00
Scott Kostyshak
ff9dfa96f2
DocBook: fix case with emphasis at end of footnote
...
For ML discussion, see here:
https://www.mail-archive.com/search?l=mid&q=CAK0LPyiusCMu-X7KpgO0d1-rh4e3%3DRwR5ooXE_fdb7UVuB0VUA%40mail.gmail.com
Patch from Thibaut Cuvelier.
2023-09-25 10:41:21 -04:00
Jean-Marc Lasgouttes
549969a563
Improve comments
2023-09-25 12:51:33 +02:00
Jean-Marc Lasgouttes
71d9f6e90d
Avoid row breaking at inconvenient places.
...
When it turns out that breaking a STRING row element was not
sufficient in Row::shortenIfNeeded, we still remember the shortest
width that one can obtain. Later, when we try to split a previous
element of the row, we have a better idea of how much of the row
remains after it.
To this end, change the signature of Element::splitAt to use an enum:
FIT (was: force=false), FORCE (was: force= true) and BEST_EFFORT
(split at max_width, but do not return an error if the string is too
large).
Fixes bug #12660 .
2023-09-25 12:46:54 +02:00
Jean-Marc Lasgouttes
1ca43e1938
Revert "Avoid row breaking at inconvenient places."
...
The solution did create new issues.
Fixes bug #12899 .
Unfixes bug #12660 .
This reverts commit f7de345f85
.
2023-09-25 12:28:51 +02:00
Jean-Marc Lasgouttes
9156712895
Make sure that caret width is not null in mathed
...
The same test exists in texted.
Fixes bug #12904 .
2023-09-24 13:07:55 +02:00
Enrico Forestieri
ddf81b4e19
Amend 12e3d46b
...
Also account for alerts regarding documents that are explicitly
allowed to execute external commands through the settings.
2023-09-23 16:18:28 +02:00
Enrico Forestieri
12e3d46b5b
Do not change font in html text without gui
...
As reported here:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg220399.html
if an alert is displayed when the gui is not available Qt6 crashes
when the text contains html directives and the font is changed.
2023-09-23 13:48:01 +02:00
Jean-Marc Lasgouttes
94c6d45b74
When drawing macro names, enforce LtR direction
...
Add a Direction parameter to the Painter::text methods that take a
FontInfo parameter.
In drawStrRed and drawStrBlack, force the direction to LtR.
Fixes bug #12905 .
2023-09-22 12:41:44 +02:00
Juergen Spitzmueller
cd5a88029c
Remove unneeded method
...
which is also not available in Qt < 5.13, as it turns out.
2023-09-18 11:36:16 +02:00
Juergen Spitzmueller
b13685d9bb
Prefer following, not previous, item in selection manager after deletion ( #12871 )
2023-09-18 10:02:34 +02:00
Juergen Spitzmueller
d3102380bc
Amend ac275a66b5
...
Set depth correctly in the active branch
2023-09-18 09:27:38 +02:00
Juergen Spitzmueller
63b99beedd
Bit refactoring
2023-09-18 08:13:23 +02:00
Juergen Spitzmueller
ac275a66b5
Get rid of unnecessary flickering when clicking in outliner
...
No need to collapse and re-expand the node where the currently selected
item is in.
2023-09-17 19:17:12 +02:00
Juergen Spitzmueller
610e2f501b
Fix double-click expansion of outliner
2023-09-17 16:45:19 +02:00
Juergen Spitzmueller
013d52ed2b
Fix readability
...
here, "custom" was exactly the opposite (non-custom, i.e., default
margins)
2023-09-17 14:31:36 +02:00
Juergen Spitzmueller
d99a13da18
Amend c8d4b99559
2023-09-17 14:17:05 +02:00
Juergen Spitzmueller
d9af7a0fff
Fix change tracking glitch ( #12912 )
2023-09-16 13:31:00 +02:00
Juergen Spitzmueller
c8d4b99559
Fix display of disabled page margins ( #12887 )
...
while preserving input values on geometry toggle
2023-09-16 11:00:10 +02:00
Juergen Spitzmueller
e08bbc89bc
Fix brokenBiblio() and fixBiblio() with change tracking ( #12909 )
2023-09-16 08:34:43 +02:00
Juergen Spitzmueller
1812c946fc
Fix nomencl launching
...
The problem here was that we checked depfile changes too late.
After all these subsequent LaTeX runs, the files's checksums
did not change any longer.
2023-09-15 18:08:10 +02:00
Daniel Ramoeller
ceb1a4c393
Only split view rather than split and move
...
Fix for #12893
2023-09-15 14:05:33 +02:00
Jean-Marc Lasgouttes
68ba1b57b4
Rename shortenIfNeeded first parameter to `max_width'
...
The short name `w' was not meaningful.
2023-09-15 14:05:33 +02:00
Juergen Spitzmueller
ed9e7d41f5
Do not paste deleted text with CT on ( #12900 )
2023-09-14 19:26:20 +02:00
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
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
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
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
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