B2016-173 Transition to MS Word section causes crash

B2016-135 Hanging Indent crash on History
B2016-162 Backslash typed into table cell does not get saved as a Backslash
This commit is contained in:
Rich
2016-07-19 14:25:29 +00:00
parent 523a767a49
commit e19db72647
3 changed files with 37 additions and 29 deletions

View File

@@ -1096,6 +1096,8 @@ namespace Volian.Controls.Library
{
this.Invalidate();
base.WndProc(ref m);
// B2016-135 Don't Show Hanging Indent if MyItemInfo is null
if (MyItemInfo == null) return;
if ((FieldToEdit == E_FieldToEdit.StepText) && (SelectionHangingIndent > 0 || SelectionIndent > 0) && (ActiveMode || MyItemInfo.IsTable))
{
using (Graphics g = Graphics.FromHwnd(this.Handle))