B2019-161 Timing of display history

B2019-161 Timing of display RO
B2019-161 Timing of display search
B2019-161 Timing of display tab control
B2019-161 Timing of DSO Tab Panel Refresh
B2019-161 Timing of close word app
B2019-161 Timing of MyStepRTB selection changed
This commit is contained in:
Rich
2019-10-29 13:21:32 +00:00
parent 0bc786f46f
commit ee658d6a6d
7 changed files with 202 additions and 166 deletions

View File

@@ -641,7 +641,7 @@ namespace Volian.Controls.Library
// would be. This is only used for display, printing works.
//B2019-155 Hard spaces were displace as a square box for non-proportional fonts.
// To fix this, we removed the check for a proportional font and now replace the hard space with a "'" mark for all fonts
Rtf = Rtf.Replace(@"\'a0", "'");
Rtf = Rtf.Replace(@"\'a0", "'");
}
OrigRTF = Rtf;
_InitializingRTB = false;
@@ -896,10 +896,15 @@ namespace Volian.Controls.Library
{
if (ReadOnly) return;
}
// B2019-161 When tracking timing time this action
private static VolianTimer _TimeActivity = new VolianTimer("StepRTB CloseWordApp_Tick", 902);
void StepRTB_SelectionChanged(object sender, EventArgs e)
{
_TimeActivity.Open();
if (_InitializingRTB || _IsExperimenting || (MyItemInfo!=null && MyItemInfo.IsRtfRaw)) return;
HandleSelectionChange();
_TimeActivity.Close();
}
private bool _MouseDown = false;
private bool _ContextMenuStripChanged = false;