Jean-Marc Lasgouttes
f4d3702d4d
Create new method TM::tokenizeParagraph
...
This contains large parts of breakRow, but creates a unique row for the paragraph.
The parts taken or not in redoParagraph are annotated.
The new method is not used yet.
2021-12-07 17:04:46 +01:00
Jean-Marc Lasgouttes
a558f78aa5
Small Row cleanups
...
Move declaration of RowList to Row.h
Move initialization of POD members of Row and Row::Element to declaration.
Make method isVirtual() depend on type.
Add new row element type INVALID and method isValid()
Make methods R::E::left/right_pos inline.
Add method R::E::splitAt() that returns an element containing the
remaining stuff, or an invalid element if nothing was split. breakAt
is now a simple wrapper around this function.
Add method R::push_back().
2021-12-07 17:04:46 +01:00
Jean-Marc Lasgouttes
1831f6caac
Change FontMetrics::breakAt to return a position
...
Since we intend to break the row element in two, it is not good to
truncate the string too early.
Moreover, the row element width is now set at this point, even if no
breaking occurs.
2021-12-07 17:04:46 +01:00
Stephan Witt
ae56fb6171
Qt6 pixmaps are always HiDPI - avoid deprecate warning for setAttribute
2021-12-07 10:02:05 +01:00
Stephan Witt
53ed3dc062
Automate Qt major version detection in macOS build script
2021-12-06 07:51:42 +01:00
Stephan Witt
b48620dff1
Care for consistent compiler flag values of macosx-version-min with ObjC and C++
2021-12-06 07:51:42 +01:00
Scott Kostyshak
d4678a734a
ctests: log a fixed issue
2021-12-05 22:07:06 -05:00
Thibaut Cuvelier
e3489d54e3
DocBook: implement margin/sidenotes in Tufte.
2021-12-05 22:54:51 +01:00
Thibaut Cuvelier
489bf46a03
DocBook: recognise Tufte's float types (margin*).
2021-12-05 22:54:51 +01:00
Stephan Witt
495cde1aca
Qt 5.12.x requires at least MacOS 10.12
2021-12-05 22:42:41 +01:00
Stephan Witt
f700aa98d4
Amend change d1d22a1433
- configure Mac compiler flags on Mac only
2021-12-05 22:42:41 +01:00
Thibaut Cuvelier
bea2abf6eb
InsetMathHull: fix column alignment for MathML.
...
https://www.lyx.org/trac/attachment/ticket/12221/0005-mathmlize-mathhull-checks-for-alignment.patch by lynx
2021-12-05 20:11:47 +01:00
Thibaut Cuvelier
a81dd6518a
MathStream: better order for the calls to tab() and cr().
...
Part of https://www.lyx.org/trac/attachment/ticket/12221/0006-amends-to-a579128c-a68e9793-a68e9793.patch by lynx.
2021-12-05 19:15:06 +01:00
Thibaut Cuvelier
115ff2fa3c
Similar fixes as 946ba7781c
2021-12-05 18:54:05 +01:00
Thibaut Cuvelier
946ba7781c
Amend a68e9793
: duplicate tag delimiter end.
2021-12-05 18:48:27 +01:00
Stephan Witt
d1d22a1433
introduce LSMinimumSystemVersion for Mac package with automatic Qt-version based detection plus configure option to choose it manually
2021-12-05 11:10:37 +01:00
Scott Kostyshak
c7b4cae840
Typo in doc: capitalize "t" in "EndLabeltype"
2021-12-04 15:17:36 -05:00
Juergen Spitzmueller
31146ae8d3
Prevent Outliner crash due to emptied toc value
...
This might need a more profound fix in the long term, see
https://marc.info/?l=lyx-devel&m=163588729224679&w=2
2021-12-04 17:53:03 +01:00
Jean-Marc Lasgouttes
5eecfa3e04
When inserting text character in mathed, group in same \text when possible.
...
When inserting € in a math cell, it is put in a text inset and the
cursor leaves the inset. However, inserting ¤ then leads to
\text{€}\text{¤}.
Therefore, try to see if there is a previous \text inset that can be
recycled and insert the new inset there in this case, leading to
\text{€¤}.
Fixes bug #11979 .
2021-11-28 14:33:45 +01:00
Daniel Ramoeller
e522c5444e
InsertTableWidget support for dark mode and improved resizing
...
Fix for bug #12438 .
2021-11-26 09:51:21 +01:00
Juergen Spitzmueller
a9eb3c9990
Whitespace
2021-11-25 18:47:23 +01:00
Juergen Spitzmueller
5a6498c3d3
Let paragraph::requestSpellcheck() consider contained insets
...
if "check whole paragraph" has been requested.
2021-11-25 17:04:58 +01:00
Juergen Spitzmueller
e366dba9bf
Factor out Buffer::requestSpellcheck() function
2021-11-25 17:04:17 +01:00
Jean-Marc Lasgouttes
4dec64dba4
gzstream is able to read uncompressed files too
...
This allows to simplify the code in Lexer and to remove the dependency
on Formats class.
As a consequence, a pair of dummy definitions of isZippedFile can be removed.
2021-11-24 11:44:53 +01:00
Jean-Marc Lasgouttes
2311f42f41
Make primary-selection unknown when not supported
...
This lfun will not appear in menus anymore in macOS and Windows.
Part of bug #12436 .
2021-11-22 10:30:43 +01:00
Jean-Marc Lasgouttes
b0983e1c5a
Fixup 3aab9ad2
: improve UndoGroupHelper docs again.
2021-11-14 19:14:31 +01:00
Jean-Marc Lasgouttes
741d055eba
Fixup 1cbbe5c3
: fix scrollbar with page down
...
It turns out that the fix was not correct. The right thing to do is to
recompte metrics only when screen has moved.
Fixes bug #12144 .
2021-11-13 19:24:05 +01:00
Jean-Marc Lasgouttes
3aab9ad25e
Fix documentation of UndoGroupHelper
2021-11-12 16:49:01 +01:00
Juergen Spitzmueller
16ce82d4f9
Fix Bullets panel ( #12429 )
2021-11-12 16:40:46 +01:00
Kornel Benko
20fd104cf2
FindAdv: Added handling of 0x019b
2021-11-12 13:29:22 +01:00
Juergen Spitzmueller
ea475c0ce6
Support 0x019b via tipa ( #12426 )
2021-11-12 11:43:11 +01:00
jpc
76b04bd85f
Update fr.po
2021-11-05 17:52:44 +01:00
Juergen Spitzmueller
a90c5f202e
Fix crash when closing LyX with open Search pane
2021-11-05 14:50:39 +01:00
Juergen Spitzmueller
1e711f902a
Address Qt6 deprecation warnings
2021-11-03 17:41:41 +01:00
Juergen Spitzmueller
b60853ff0d
Fix most stupid thinko of mine
2021-11-03 12:35:38 +01:00
Juergen Spitzmueller
de637cdbcb
Amend 59b8c209c4
...
QFontMetrics::width() is no longer valid in Qt6
2021-11-02 16:28:40 +01:00
Daniel Ramoeller
59b8c209c4
Use labels for zoom slider buttons
...
Fix for bug #12301 .
Also: fixes the width and alignment of the zoom value label.
2021-11-02 08:43:59 +01:00
Thibaut Cuvelier
4643048583
DocBook LilyPond: add a comment to indicate that an issue cannot be worked around.
2021-11-02 00:55:24 +01:00
Kornel Benko
7af2cc0c3b
Update sk.po
2021-11-01 18:14:35 +01:00
Juergen Spitzmueller
54492d44d6
de.po
2021-11-01 18:01:40 +01:00
Juergen Spitzmueller
bca1b63d89
Update toolbar and properly reset focus when find widget is closed ( #12396 )
2021-11-01 14:21:34 +01:00
Juergen Spitzmueller
455ff6fee7
More indentation correction
2021-11-01 14:15:05 +01:00
Juergen Spitzmueller
b9a9234cf6
Amend ce8b4e3a21
2021-11-01 13:08:16 +01:00
Juergen Spitzmueller
76ac4d8f8d
Fix indentation
2021-11-01 13:02:05 +01:00
Daniel Ramoeller
a71c7f2154
Make color description "changed" rather than "added"
...
Fix for #12227 (regression).
Amended by Jürgen Spitzmüller
2021-11-01 12:47:11 +01:00
jpc
1165fa7f46
Update fr.po
2021-11-01 11:17:19 +01:00
Juergen Spitzmueller
4888414f27
Attempt to fix #12226 for good
2021-11-01 08:30:41 +01:00
Juergen Spitzmueller
f3d5a95bb2
Redraw all work areas while zooming ( #12334 )
2021-10-31 13:43:27 +01:00
Juergen Spitzmueller
4c0caf9dd4
Polishing
2021-10-31 13:16:20 +01:00
Daniel Ramoeller
c50f40b522
Set Local Layout tab stop distance to 4
...
Fix for bug #12395 .
2021-10-31 13:15:14 +01:00