- Added tools to find Symbol Characters in Word Documents

- If the range does not have any characters return an empty string
Refresh Most Recent Items when the office button is pressed
Added OrdinalChanged Event
Used OrdinalChanged Event rather than MyContent.Changed Event when Ordinal is updated.
Use OrdinalChanged Event to update Tree Node
Refresh MRU list as items are added
Use OrdinalChanged Event to update Step Tab
- RTBFillIn changed to only update the RTB when the contents change
- AdjustSizeForContents changed to raise the HeightChanged event when the Height changes
Update the treeview tabs even if the step is not open.
This commit is contained in:
Rich
2010-12-01 20:03:06 +00:00
parent b3b3f5e518
commit bb3844538c
9 changed files with 174 additions and 30 deletions

View File

@@ -149,9 +149,13 @@ namespace Volian.Controls.Library
if (VlnSettings.StepTypeToolType)SetToolTip(_MyItemInfo.ToolTip);
ChangeBar = _MyItemInfo.HasChangeBar();
value.MyContent.Changed += new ContentInfoEvent(MyContent_Changed);
value.OrdinalChanged += new ItemInfoEvent(value_OrdinalChanged);
}
}
void value_OrdinalChanged(object sender)
{
TabFormat = null; // Reset Tab
}
private void SetToolTip(string tip)
{
DevComponents.DotNetBar.SuperTooltipInfo tpi = new DevComponents.DotNetBar.SuperTooltipInfo("", "", tip, null, null, DevComponents.DotNetBar.eTooltipColor.Lemon);
@@ -169,7 +173,6 @@ namespace Volian.Controls.Library
// Update the text to reflect the content change
MyStepRTB.MyItemInfo.RefreshItemAnnotations();
MyStepRTB.MyItemInfo=MyStepRTB.MyItemInfo; // Reset Text
TabFormat = null; // Reset Tab
SetExpandAndExpander(MyItemInfo);
// TODO: Need code to update tabs ? not sure what this is - maybe for
// transitions?