Commit Graph

39091 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
894ae19224 Remove 'premature optimization' that proved buggy
At some time it seemed like a good idea in breakRow() to return early
when the row was bound to be empty. It turns out that this creates two
symptoms:

* empty paragraphs will not have an end of paragraph marker

* since row width is not correctly computed in this case, caret ghosts
  can appear in master.

This commit removes the oprimization and replace the do {} while()
construct to a straightforward while() {}.

Related to bug #10952.

(cherry picked from commit 76f0a3dd4e)
2018-01-15 09:49:10 +01:00
Uwe Stöhr
41fe69e5d0 Win installer: start an an RC2 installer
- also fix a typo and update a file size
2018-01-14 22:16:23 +01:00
Juergen Spitzmueller
9b603d90c8 Fix loop while separating
getMaxDepthAfter() gives wrong result here.

Fixes: #10979

Signed-off-by: Juergen Spitzmueller <spitz@lyx.org>
(cherry picked from commit bceaa7f929)
2018-01-13 10:01:44 +01:00
Günter Milde
1702e76a1f Do not convert dashes/hyphens in LyX-Code.
See previous commit and #10961
2018-01-12 13:54:05 +01:00
Günter Milde
145f583244 Do not convert dashes/hyphens in Code insets (logical markup).
Code is by default rendered as typewriter and should be treated
similar:
In text marked up as code, -- or --- is typically part of a
command (e.g. "lyx --help" or "x--") and not a transliteration
for en dash, see #10961.
This is already handled so for text in typewriter font
(see Text.cpp:500).
2018-01-12 13:54:05 +01:00
Juergen Spitzmueller
8c3650f8a0 Take AgainFrame to the TOC.
(cherry picked from commit 3daa447c3c)
2018-01-12 10:33:14 +01:00
Juergen Spitzmueller
9e8d702d63 Fix Null-checking issue detected by Coverity.
(cherry picked from commit 974553d858)
2018-01-12 10:31:40 +01:00
Juergen Spitzmueller
e8fb5da776 Revert "de.po: update some translations"
This reverts commit 9089dec01d.
2018-01-12 10:23:44 +01:00
Uwe Stöhr
3954e8a9c6 UserGuide.lyx: distribute recent changes 2018-01-12 04:52:53 +01:00
Uwe Stöhr
9089dec01d de.po: update some translations 2018-01-12 04:51:54 +01:00
Uwe Stöhr
8a03417b65 Additional.lyx: re-sync with master
please use use LyX 2.3.x and keep the docs in sync unless you describe a new feature of LyX 2.4
2018-01-12 02:41:52 +01:00
Pavel Sanda
f91e77d18e RCS: commit undo allowed only in unlocked state. 2018-01-11 23:47:41 +01:00
Uwe Stöhr
952abe8c54 ru.po: updates from Yuriy 2018-01-10 02:37:58 +01:00
Uwe Stöhr
e1b275650c another dummy test commit 2018-01-10 02:24:29 +01:00
Uwe Stöhr
123759be5f Customization.lyx: distribute and accept recent changes 2018-01-09 01:27:51 +01:00
jpc
130c34596d Update log 2018-01-08 11:12:45 +01:00
jpc
a03ee8ed5c Hopefully final update of French EmbeddedObjects manual for 2.3.0 2018-01-07 11:00:40 +01:00
jpc
a9b5f7e348 Typo 2018-01-07 10:59:21 +01:00
Juergen Spitzmueller
70d580fea7 Mark follow-up paragraphs in a paragraph group as nested.
This gives a more consistent indication of what belongs to an environment
(and semantically, such paragraphs are synonymous to nested standard
paragraphs)

Addresses part of #9261.
2018-01-07 10:38:30 +01:00
jpc
f05ba30e88 Typo 2018-01-07 10:32:36 +01:00
Jean-Marc Lasgouttes
572b29b139 Update buffer when an inset or an INFO inset has bee inserted
This is important for info inset, since if updateBuffer needs to be
run in redoParagraph (for the macro code), crashes can happen.

Fixes bug #10944.

(cherry picked from commit 806f40dbd4)
2018-01-06 15:08:42 +01:00
Juergen Spitzmueller
de748ead81 Start inset at new line
(cherry picked from commit 7da8473c4f)
2018-01-06 11:39:41 +01:00
Juergen Spitzmueller
01281ca670 Customization: some color name fixes.
(cherry picked from commit 44670d4778)
2018-01-06 09:32:50 +01:00
Guillaume MM
225d47f298 Fix preview with a nested preview not being shown (#10795)
Regression at db581113.

(cherry picked from commit 94c65074e0)
2018-01-06 02:58:36 -05:00
Uwe Stöhr
6cdd0b9fe0 ru.po: fix msgmerge warnings 2018-01-05 21:52:37 +01:00
Juergen Spitzmueller
bd9c62d018 Minor re-ordering of the Insert menu
(cherry picked from commit 016393a0dd)
2018-01-05 11:10:52 +01:00
Richard Heck
b92ddb0362 Fix bug #10951.
The Buffer member for the remembered definition_ was not being set.

(cherry picked from commit f130f7713f)
2018-01-04 15:26:57 -05:00
Juergen Spitzmueller
cf97ec4a21 Do note attempt to nest more than possible.
(cherry picked from commit 32efb91438)
2018-01-04 18:40:26 +01:00
Juergen Spitzmueller
7668633b94 Properly handle color none.
Fixes: #5870
(cherry picked from commit 9a1eeb8cbb)
2018-01-04 08:23:04 +01:00
jpc
e8b8cd2e78 Insert correct shortcut for environment split 2018-01-03 18:37:12 +01:00
jpc
afd1a24923 New beamer environments strings and documentation 2018-01-03 18:21:13 +01:00
Juergen Spitzmueller
d3ca12a5c2 Disable useless environment-split function at the core.
(cherry picked from commit f965d23633)
2018-01-03 13:19:24 +01:00
Juergen Spitzmueller
1b2dd66f78 Use the command-alternatives sequence as defined in menus.bind
Otherwise, the shortcut is not displayed in the menu.

(cherry picked from commit 7d2764fb9e)
2018-01-03 11:00:47 +01:00
Uwe Stöhr
964906110a ar.po: updates from Hatim 2018-01-02 15:25:00 +01:00
Günter Milde
72a6cd4bbc Update UserGuide and de/UserGuide.
Remove warnings for issues fixed in lyx2lyx.
Update the GUI name of the ligature-dash Option.
Fix example for preventing unwanted line break in French.
2018-01-02 12:55:07 +01:00
Juergen Spitzmueller
a32b764157 Update layout format 2018-01-02 11:54:58 +01:00
Günter Milde
20f3b828f9 Documentation fixes: revert conversion of -- to en dash in code.
lyx2lyx erroneousely merged -- to en dash in text with logical
markup "code".
Revealed by recent (but now silenced) ctest fails.

Also add space around en dash in examples.
2018-01-01 22:52:08 +01:00
Günter Milde
39beb08bf8 Fix lyx2lyx conversion of dashes.
Update for UserGuide and de/UserGuide will follow.
2018-01-01 22:47:56 +01:00
Enrico Forestieri
f4ef992966 Update it.po 2018-01-01 19:14:48 +01:00
Uwe Stöhr
d97d8247de ru.po: updates from Yuri 2018-01-01 16:48:24 +01:00
Uwe Stöhr
fc459e2a86 Russian doc files: new and updated translations by Yuri 2018-01-01 16:47:58 +01:00
Kornel Benko
afcbc92a53 Update sk.po 2018-01-01 14:23:12 +01:00
Juergen Spitzmueller
b6427099a3 de.po: update 2018-01-01 13:46:34 +01:00
Juergen Spitzmueller
d60fa7f501 Prepend "Insert " in the context menu for environment separators.
(cherry picked from commit 8f86feb260)
2018-01-01 13:42:38 +01:00
Juergen Spitzmueller
6c5beb86fd de.po: update 2018-01-01 12:53:39 +01:00
Juergen Spitzmueller
2385278a9e LFUNs.lyx: update. 2018-01-01 12:38:55 +01:00
Juergen Spitzmueller
d1bb465f65 User Guide: document the environment-split changes (forgot this one) 2018-01-01 12:37:03 +01:00
Juergen Spitzmueller
c3779cec2d beamer.lyx: document the environment-split changes. 2018-01-01 12:36:44 +01:00
Juergen Spitzmueller
b194ac7ac5 UserGuide: document the environment-split changes. 2018-01-01 12:36:18 +01:00
Juergen Spitzmueller
92613ac63c Implement environment-split before and previous
Possibility to add an environment before the current one and to append
and environment from outside the nesting scope.

This commit includes all fixes that went in during testing these
functions in master. It also moves the menu items from Edit to Insert.
2018-01-01 12:34:39 +01:00