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:
@@ -592,7 +592,7 @@ namespace Volian.Controls.Library
|
||||
else if (MyPreviousEditItem != null)
|
||||
{
|
||||
MyPreviousEditItem.MyNextEditItem = null;
|
||||
newFocus = MyPreviousEditItem;
|
||||
newFocus = MyPreviousEditItem.BottomMostEditItem;
|
||||
MyPreviousEditItem = null;
|
||||
//Console.Write(",\"Previous\",");
|
||||
}
|
||||
@@ -749,7 +749,8 @@ namespace Volian.Controls.Library
|
||||
public EditItem AddChildBefore(ItemInfo MyItemInfo, EditItem nextEditItem)
|
||||
{
|
||||
EditItem child = null;
|
||||
if (MyItemInfo.MyContent.ContentGridCount != 0)
|
||||
//if (MyItemInfo.MyContent.ContentGridCount != 0)
|
||||
if(MyItemInfo.MyContent.MyGrid != null)
|
||||
child = new GridItem(MyItemInfo, MyStepPanel, this, ChildRelation.Before, true, nextEditItem);
|
||||
else
|
||||
child = new RTBItem(MyItemInfo, MyStepPanel, this, ChildRelation.Before, true, nextEditItem);
|
||||
@@ -1138,10 +1139,11 @@ namespace Volian.Controls.Library
|
||||
private void EditItem_Move(object sender, EventArgs e)
|
||||
{
|
||||
int watchThis = _WatchThis;
|
||||
//if (MyID == _lookForID || MyID == 2111)
|
||||
//if (MyID == 136)
|
||||
//{
|
||||
// vlnStackTrace.ShowStack("{0} Move TO {1}", MyID, Top);
|
||||
// //vlnStackTrace.ShowStack("{0} Move TO {1} - {2}, BottomMost {3}", MyID, Top, MyPath, BottomMostRTBItem.MyPath);
|
||||
// Console.WriteLine("{0} Move TO {1} - {2}, BottomMost {3}", MyID, Top, MyPath, BottomMostRTBItem.MyPath);
|
||||
// //Console.WriteLine("{0} Move TO {1} - {2}, BottomMost {3}", MyID, Top, MyPath, BottomMostRTBItem.MyPath);
|
||||
//}
|
||||
//if (MyID > _StartingID)
|
||||
// Console.WriteLine("{0}--------------- {1} Top = {2} Bottom {3}", WatchThisIndent, MyID, Top, Bottom);
|
||||
@@ -1593,7 +1595,7 @@ namespace Volian.Controls.Library
|
||||
EditItem parent = EditItem.UpOneEditItem;
|
||||
int right = FindRight();
|
||||
bool centeredTable = (MyItemInfo.IsTablePart && MyItemInfo.FormatStepData.Type.Contains("AER") == false && MyItemInfo.RNOLevel == 0);
|
||||
while (parent != null && parent.MyItemInfo.IsSection == false)
|
||||
while (parent != null && parent.MyItemInfo.IsSection == false && parent._MyChildRelation != ChildRelation.Before)
|
||||
{
|
||||
if (parent._MyRNOEditItems != null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user