The main change here is that we need to delete LyX2.3.exe and
tex2lyx2.3.exe from the install directory, so they are not left
there (from previous, versioned installs).
On Windows, start viewers in detached processes in order to avoid
a crash of the QProcess destructor when their thread terminates.
The opening of a console window is avoided by redirecting to the
null device all standard I/O channels.
If an RTL language is set via environment in polyglossia, only a nested
\\text<lang> command will reset the direction for LTR languages
Fixes rest of # 10111.
(cherry picked from commit 2d4ac90fd20eac5a32b2d71e7de1d2c92ee2429e)
This avoids failures when running install_name_tool on Mac when creating relocatable binaries using the bundled private frameworks.
(cherry picked from commit d9c0807227a9bdff2d28a80181d0e7ec5532ba1e)
This can happen when the inset that contains the cursor is outside of
the screen.
THis is only a workaround. The real solution would be a
processUpdateFlags(FitCursor) call, but the code is not ready for that
yet.
Fixes bug #11296.
(cherry picked from commit 17576fb83b5a560fb8a1c59ca7051dcb2b165c05)
We do not know what to do with horizontal scrolling events, so we ignore them.
Note that the code has to be different between Qt4 and Qt5.
Fixes bug #11257.
(cherry picked from commit 2cfbc5ecf6e26da0ca3f61372e5373d1ef4f7ab7)
This can happen if the current element has space after it (e.g. before
a relation).
Fixes bug #11283.
(cherry picked from commit 1b5ccecd65a795ba4ff21aa5733fa18866fefd1c)
1/ Handle space in color name in set-color (with quoting)
2/ read properly branch inset which name has a space
Fixes bug #11108.
(cherry picked from commit 819cf53c2254f17e9bb6c6b971904451cfaaae6d)
Now any sequence of spaces around old cursor will be removed, even at
start or end of paragraph. Sequences of more than 2 characters are
also taken into account.
The version of DEPM which acts on a sequence of paragraphs is also
rewritten to match the local one.
(cherry picked from commit 20976e81fb25899ee8d3ec5ed941fda6b453f59f)
(cherry picked from commit c54fe6c5840afdbbac5e242db724fb0bf6bc084f)
The part of code that removed space at start of paragraph have been
there forever, but its intent is unclear. For example, cutting text at
the end of a paragraph will lead to remove space at the start of this
same paragraph.
The removal of this functionality is offset by a rewrite of DEPM that
makes it more thorough.
Fixes bug #10503.
(cherry picked from commit e4dba53232bc71d5a577466e7fb4a3251944d9d8)
Indeed this relies on tex2lyx and does not run R scripts.
The same holds for Knitr>LyX
(cherry picked from commit 23dbacb636c2ac616967669ec038ab0d5c8b9dd3)
Also fix a glitch in non-refstyle import (getOpt() returns the option
with delimiter, so do not add them in ERT once more)
Candidate for stable
(cherry picked from commit faf40fb4084e10848bbb33ec6d892c05843cd179)
1. Do not attempt to mix diverging btUnits (e.g., chapters and sections).
2. use parse_text to properly parse the contents.
(cherry picked from commit 68d48b0015065f3c3cdd1377678bca56551cc203)