Commit Graph

45379 Commits

Author SHA1 Message Date
Eugene Chornyi
28647dcebe update gitignore for Visual Studio and VS Code 2023-03-19 15:24:13 +01:00
Enrico Forestieri
c3be5d1709 Amend 4384ac75 2023-03-19 10:50:13 +01:00
Enrico Forestieri
4384ac75ff Cycle through arrows with autocorrect
The way autocorrect is implemented it is not possible to map
--> and ==> to \longleftarrow and \Longleftarrow, respectively.
One has to type ->- and =>= to that effect, which may be
counterintuitive.

This commit allows typing -> or => followed by * to cycle through
all possible arrows of the same type.
2023-03-19 10:26:08 +01:00
Enrico Forestieri
0470082240 Fix bug #12711
Add a few missing autocorrect combinations.
2023-03-19 09:34:01 +01:00
Jean-Marc Lasgouttes
1d637b8af0 Spaces in typewriter font never expand in justified text
This fixes on-screen appearance of things like code with lines longer
than the window width.

The TeXbook makes it clear by indicating that \fontdimen3 == 0 for
these fonts.
2023-03-18 21:03:42 +01:00
Jean-Marc Lasgouttes
f24bb4a919 Remove indentation on screen after a plain separator inset
Fixes bug #12700.
2023-03-18 19:47:42 +01:00
Juergen Spitzmueller
5ad6cbb1d8 Fix signal order (#12712) 2023-03-18 15:58:04 +01:00
Eugene Chornyi
1d0ab7a274 winbuild include python3 2023-03-18 12:10:44 +01:00
Juergen Spitzmueller
81d6965c81 Do not swap parens and stuff with babel and Xe/LuaTeX 2023-03-17 18:11:38 +01:00
Jean-Marc Lasgouttes
e2011856bc Fixup a2378c1182: handle the monospace case
When the font is tt, the stretch space is null. Change the display
rendering to accomodate that.
2023-03-17 14:27:15 +01:00
Jean-Marc Lasgouttes
98b5a16793 Fix completion in math when inline completion was not yet shown (take 2)
Better version of b4211ef2: we handle the case of a unique completion early.

Fixes bug #12674.
2023-03-16 11:58:49 +01:00
Jean-Marc Lasgouttes
fb1c4494ea Revert "Fix completion in math when inline completion was not yet shown"
A better fix is in the works.

This reverts commit b4211ef206.
2023-03-16 11:58:49 +01:00
Richard Kimberly Heck
7bcf201f40 Fix bug #12707 2023-03-15 23:24:47 -04:00
Jean-Marc Lasgouttes
175bcc6efc Fixup 00c39208: initialise ParagraphMetrics::id_ in default constructor
This was missing. Spotted by coverity.
2023-03-15 23:38:16 +01:00
Pavel Sanda
3d03564a8d Remerge ru.po per Yuri's request. 2023-03-15 22:57:10 +01:00
Jean-Marc Lasgouttes
6572a3f141 Fix bindings for ellipsis and end-of-sentence-period
On some keyboards, `period' is only accessible with the shift modifier.
2023-03-15 19:04:36 +01:00
Jean-Marc Lasgouttes
a2378c1182 Improve display of ellipsis special char
Follow the TeXbook and use a half space as separation.
2023-03-15 12:25:19 +01:00
Richard Kimberly Heck
8e190c09f2 Add note about CopyStyle 2023-03-14 11:50:06 -04:00
Yuriy Skalko
cc30ec0061 Update ru.po and docs 2023-03-14 16:30:17 +01:00
Kornel Benko
f2f49674be Cmake tests: Adapted BATCH tests to ignore the stored LyX-version 2023-03-12 20:19:21 +01:00
Jean-Marc Lasgouttes
05469a053f revert/fixup 309f8f4b: setFilterRegularExpression was introduced in Qt 5.12. 2023-03-12 13:05:58 +01:00
jpc
108f9c891b Update fr.po 2023-03-12 11:33:34 +01:00
jpc
c9c7f0d30b Typos in French UserGuide 2023-03-12 11:29:47 +01:00
Juergen Spitzmueller
7cde89ece7 Remobe static icon sizing which seems to play bad with HiDpi 2023-03-11 18:30:44 +01:00
Juergen Spitzmueller
466e6eb613 Remove workaround for Qt version which is no longer supported 2023-03-11 16:43:08 +01:00
Juergen Spitzmueller
31a197d88c Fix signals 2023-03-11 16:25:25 +01:00
Juergen Spitzmueller
548c5ba92d Two more icon scale fixes 2023-03-11 16:10:52 +01:00
Juergen Spitzmueller
8863d6d785 Properly scale some icons for HiDPI (#12695) 2023-03-11 14:49:07 +01:00
jpc
5f7ae3ade5 Translation of the safety nets section, last step 2023-03-10 10:18:37 +01:00
Yuriy Skalko
2b6b20ff69 Include QScreen header to fix compilation with Qt 5.14
Needed after e2e1fd6ea9.
2023-03-10 09:18:59 +01:00
Daniel Ramoeller
2ed5b4a705 Fix text color of "file changed on disk" notification
Adjusts the label color of the notification to the background.

Fix for #12690.
2023-03-09 16:13:00 +01:00
Pavel Sanda
04d65929e9 * cs.po 2023-03-09 11:59:54 +01:00
Pavel Sanda
4cccec60ca Improve tooltip. 2023-03-09 10:23:46 +01:00
Pavel Sanda
bf4ba774c6 Update csv2lyx.py to work with Python 3.
Patch from Jose.
2023-03-08 22:26:04 +01:00
Juergen Spitzmueller
c227a4af41 Check for invalid indexes in Module selection
This should fix crashes when moving with pressed mouse buttons on
category nods
2023-03-08 08:24:38 +01:00
Pavel Sanda
56a3a90955 * cs.po 2023-03-07 20:40:41 +01:00
jpc
722c096915 Review font names translation (no translation needed) 2023-03-07 14:28:20 +01:00
jpc
42bb89b553 Translation of the safety nets section, step 2 2023-03-06 11:01:57 +01:00
jpc
f6866e8b7b Typo in fr.po 2023-03-06 10:25:12 +01:00
Jean-Marc Lasgouttes
e2e1fd6ea9 QDesktopWidget is not required in Qt5, the Qt6 code works 2023-03-05 21:54:08 +01:00
Jean-Marc Lasgouttes
9156843ec2 QWidget::setContentsMargins is supported in Qt5 2023-03-05 21:37:01 +01:00
Jean-Marc Lasgouttes
7d78078838 When a displayed inset is aligned left, align it left
The use of LYX_ALIGN_BLOCK was a mistake.

Fixes bug #12683.
2023-03-05 20:59:35 +01:00
Kornel Benko
8cc13656cd Update sk.po 2023-03-05 14:59:00 +01:00
Pavel Sanda
bad9e2285c * cs/Tutorial.lyx 2023-03-03 21:17:45 +01:00
Pavel Sanda
30bf26fe04 * cs.po 2023-03-03 21:17:21 +01:00
jpc
2cdb7c3efa Translation of the safety nets section, step 1 2023-03-03 18:28:10 +01:00
jpc
d6fa4ae324 Update fr.po 2023-03-03 17:51:08 +01:00
Jean-Marc Lasgouttes
f7de345f85 Avoid row breaking at inconvenient places.
The test that was used to avoid breaking a string that was followed
by a too long element was not correct (especially the part that
compared with total row width).

Typical example here is:
- a word with a part that has a font change like /un/breakable;
- a longish sentence after it.

Use a new test that is good enough for this particular case, although
with sortcomings. I do not want to overcomplicate and prefer to wait
for other complaints (this code is already more complicated that I
would like).

Document known shortcoming.

Fix ticket #12660.
2023-03-03 17:24:06 +01:00
Jean-Marc Lasgouttes
c90ea03884 Remove traces of QtCore5Compat in autoconf script
Other instances remain in :
CMakeList.txt
INSTALL.Win32
development/LyX-Mac-binary-release.sh
development/Win32/packaging/installer/src/main.nsh
src/CMakeLists.txt
src/client/CMakeLists.txt
src/support/tests/CMakeLists.txt
src/tests/CMakeLists.txt
src/tex2lyx/CMakeLists.txt
2023-03-03 17:23:13 +01:00
Juergen Spitzmueller
2d1350bf57 de.po 2023-03-03 15:03:17 +01:00