Added table function to return a list of Content records that contain a specified string.
Added stored procedure to standardize text (standard steps) Lazy Load font value. Return the correct EditItem when a step is deleted. Update the StepTabRibbon EditItem when the StepPanel EditItem is changed Get MyItemInfo if it is not set. Added missing logic to MyEditItem.
This commit is contained in:
@@ -319,7 +319,14 @@ namespace Volian.Controls.Library
|
||||
private ItemInfo _MyItemInfo;
|
||||
public ItemInfo MyItemInfo
|
||||
{
|
||||
get { return _MyItemInfo; }
|
||||
get
|
||||
{
|
||||
if (_MyItemInfo == null && Parent is EditItem)
|
||||
_MyItemInfo = (Parent as EditItem).MyItemInfo;
|
||||
else if (_MyItemInfo == null && Parent.Parent is EditItem)
|
||||
_MyItemInfo = (Parent.Parent as EditItem).MyItemInfo;
|
||||
return _MyItemInfo;
|
||||
}
|
||||
set { _MyItemInfo = value; }
|
||||
}
|
||||
private string _OrigRTF;
|
||||
@@ -2104,9 +2111,7 @@ namespace Volian.Controls.Library
|
||||
public int SelectionStart
|
||||
{
|
||||
get { return _SelectionStart; }
|
||||
set {
|
||||
_SelectionStart = value;
|
||||
}
|
||||
set { _SelectionStart = value; }
|
||||
}
|
||||
int _SelectionLength;
|
||||
public int SelectionLength
|
||||
@@ -2116,8 +2121,6 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
public SelectionData(RichTextBox richTextBox)
|
||||
{
|
||||
//Console.WriteLine("SelectionData SelectionStart {0}", richTextBox.SelectionStart);
|
||||
//Volian.Base.Library.vlnStackTrace.ShowStack("SelectionData SelectionStart",this);//.ShowStackLocal("SelectionData SelectionStart", 3);
|
||||
_SelectionStart = richTextBox.SelectionStart;
|
||||
_SelectionLength = richTextBox.SelectionLength;
|
||||
}
|
||||
|
Reference in New Issue
Block a user