[LyX/master] Fix potential crash.

2014-05-22 Thread Enrico Forestieri
commit 2c613d5686e0a391a92e8e2c4a93b784e2e891e5 Author: Enrico Forestieri for...@lyx.org Date: Thu May 22 11:41:23 2014 +0200 Fix potential crash. Use the lfun for breaking the paragraph here, such that the metrics are updated before the call to the next dispatch. diff --git

[LyX/master] Correct the check for a command.

2014-05-22 Thread Enrico Forestieri
commit 52ebcd6280078e591e463f9b54c6badefc1cf9e4 Author: Enrico Forestieri for...@lyx.org Date: Thu May 22 11:51:21 2014 +0200 Correct the check for a command. diff --git a/src/Text3.cpp b/src/Text3.cpp index 9fc8d6f..31e0826 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -1074,10

[LyX/master] Simplify the test for inserting a parbreak separator.

2014-05-22 Thread Enrico Forestieri
commit 02e7bc18a7bb03a2799d98353adafe036e4fb340 Author: Enrico Forestieri for...@lyx.org Date: Thu May 22 21:47:10 2014 +0200 Simplify the test for inserting a parbreak separator. Instead of simply taking into account the layout of the previous paragraph, it is better

[LyX/master] Fix another crash similar to #9030

2014-05-22 Thread Georg Baum
commit 85db1005b621aa7895c230e07bcf92e8ca041e7b Author: Georg Baum b...@lyx.org Date: Thu May 22 22:00:58 2014 +0200 Fix another crash similar to #9030 This one occured after the fix for bug #9030 if the cursor is in a math inset and the edit menu is opened. diff --git

[LyX/2.1.x] Fix another crash similar to #9030

2014-05-22 Thread Georg Baum
commit 5df89e50069b364fa2f4d304c682b48209ae14e3 Author: Georg Baum b...@lyx.org Date: Thu May 22 22:04:09 2014 +0200 Fix another crash similar to #9030 This one occured after the fix for bug #9030 if the cursor is in a math inset and the edit menu is opened. diff --git

[LyX/master] Fix another glitch with on-screen indentation.

2014-05-22 Thread Enrico Forestieri
commit a596736d76c318f94c36135756b1d1376c042539 Author: Enrico Forestieri for...@lyx.org Date: Thu May 22 23:47:38 2014 +0200 Fix another glitch with on-screen indentation. If a new paragraph is created just before a nested environment, the indentation of the nested environment

[LyX/master] Fix potential crash.

2014-05-22 Thread Enrico Forestieri
commit 2c613d5686e0a391a92e8e2c4a93b784e2e891e5 Author: Enrico Forestieri Date: Thu May 22 11:41:23 2014 +0200 Fix potential crash. Use the lfun for breaking the paragraph here, such that the metrics are updated before the call to the next dispatch. diff --git

[LyX/master] Correct the check for a command.

2014-05-22 Thread Enrico Forestieri
commit 52ebcd6280078e591e463f9b54c6badefc1cf9e4 Author: Enrico Forestieri Date: Thu May 22 11:51:21 2014 +0200 Correct the check for a command. diff --git a/src/Text3.cpp b/src/Text3.cpp index 9fc8d6f..31e0826 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -1074,10

[LyX/master] Simplify the test for inserting a parbreak separator.

2014-05-22 Thread Enrico Forestieri
commit 02e7bc18a7bb03a2799d98353adafe036e4fb340 Author: Enrico Forestieri Date: Thu May 22 21:47:10 2014 +0200 Simplify the test for inserting a parbreak separator. Instead of simply taking into account the layout of the previous paragraph, it is better

[LyX/master] Fix another crash similar to #9030

2014-05-22 Thread Georg Baum
commit 85db1005b621aa7895c230e07bcf92e8ca041e7b Author: Georg Baum Date: Thu May 22 22:00:58 2014 +0200 Fix another crash similar to #9030 This one occured after the fix for bug #9030 if the cursor is in a math inset and the edit menu is opened. diff --git

[LyX/2.1.x] Fix another crash similar to #9030

2014-05-22 Thread Georg Baum
commit 5df89e50069b364fa2f4d304c682b48209ae14e3 Author: Georg Baum Date: Thu May 22 22:04:09 2014 +0200 Fix another crash similar to #9030 This one occured after the fix for bug #9030 if the cursor is in a math inset and the edit menu is opened. diff --git

[LyX/master] Fix another glitch with on-screen indentation.

2014-05-22 Thread Enrico Forestieri
commit a596736d76c318f94c36135756b1d1376c042539 Author: Enrico Forestieri Date: Thu May 22 23:47:38 2014 +0200 Fix another glitch with on-screen indentation. If a new paragraph is created just before a nested environment, the indentation of the nested