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
Pavel Sanda
625c61f1d5
Output python version in About dialog.
...
Patch from Jose.
2023-09-04 21:50:51 +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
Juergen Spitzmueller
4393382f02
GuiLyXFiles: fix button controller handling
2023-09-03 15:09:13 +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
Juergen Spitzmueller
aaae3ad5cc
Remove redundant code and clarify strings
2023-09-02 14:28:33 +02:00
Jean-Marc Lasgouttes
2092663365
Add _v_() debug helper maco
...
This can be used with streams.
LYXERR0(_v_(var))
leads to the message
"var=<value of var>"
2023-09-01 16:45:15 +02:00
Juergen Spitzmueller
58e36a27b6
Doc additions by Pavel
2023-08-30 15:40:16 +02:00
Juergen Spitzmueller
4dc9e0c4e6
Improve CITATION_OPEN
...
* The lyxpaperview script now only provides the paths and let us do the opening
* We use our own viewers for local files rather than QDesktopServices
Plus several minor improvements and code cleanup
2023-08-30 15:30:29 +02:00
Jean-Marc Lasgouttes
0912f7c356
Update caret if needed when changing depth
...
Fixes bug #12856 .
2023-08-30 13:45:00 +02:00
Jean-Marc Lasgouttes
d27f309905
Use correct cursor when creating undo group
...
This affects where cursor will be after undo. In this case, we want
obviously the 'old' cursor.
Fixes bug #12874 .
2023-08-29 17:25:51 +02:00
Juergen Spitzmueller
2195543188
Add message dialog to LFUN_CITATION_OPEN chain
...
This addresses security concerns.
2023-08-29 14:43:59 +02:00
Enrico Forestieri
c088cc4413
Fix detection of xcb during configure
...
The QT_FEATURE_xcb macro is not in the private headers anymore.
They keep changing APIs...
2023-08-28 10:52:08 +02:00
Juergen Spitzmueller
53f4f8c103
Change "library directory" to "system directory" ( #12709 )
2023-08-26 12:03:20 +02:00
Juergen Spitzmueller
7057a45587
Add accelerator
2023-08-26 11:44:00 +02:00
Richard Kimberly Heck
344dc1f822
Polish formatted reference patch, and add documentation.
2023-08-25 15:24:13 -04:00
Pavel Sanda
2e32e2c123
Revert UI fix for two digit numbers. It actually does not work.
...
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg220179.html
2023-08-25 18:52:27 +02:00
Richard Kimberly Heck
e8f8239f68
Polish
2023-08-24 21:24:35 -04:00
Alexander Dunlap
1a800bf3e5
Put use_formatted_reference code in addToToc instead of updateBuffer
...
to handle forward references.
2023-08-24 21:24:35 -04:00
Richard Kimberly Heck
2ad57dcb6b
Preview formatted references in the work area.
...
Patch from Daniel Ramoeller <d.lyx@web.de>, fixed up by RKH.
2023-08-24 21:24:31 -04:00
Alexander Dunlap
ca3004fc67
Assign equation numbers in updateBuffer instead of
...
addToToc so that they can be used in updateToc to
assign label cross-refs
2023-08-24 21:14:53 -04:00
Richard Kimberly Heck
89a479f60d
Fix bug #12797 .
...
Use plaintext to give some display of equations in TOC.
2023-08-24 21:05:50 -04:00