Don’t underline “(Continued)” in the top section continue message
Fixed the creation of the section continued message tab
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -961,14 +961,27 @@ namespace Volian.Print.Library
 | 
			
		||||
			if (!itemInfo.IsHigh && !itemInfo.IsSequential && !itemInfo.IsSection) itemInfo = itemInfo.ActiveParent as ItemInfo;
 | 
			
		||||
			string prTab = "";
 | 
			
		||||
			string thisTab = itemInfo.MyTab.CleanText.Trim();
 | 
			
		||||
 | 
			
		||||
			ItemInfo mypar = itemInfo.MyParent;
 | 
			
		||||
			while (mypar.MyParent != null && !mypar.MyParent.IsProcedure)
 | 
			
		||||
			if (!itemInfo.IsSection)
 | 
			
		||||
			{
 | 
			
		||||
				string pTab = mypar.MyTab.CleanText.Trim();
 | 
			
		||||
				pTab = pTab.TrimEnd(" .".ToCharArray()) + ".";
 | 
			
		||||
				prTab = pTab + prTab;
 | 
			
		||||
				mypar = mypar.MyParent;
 | 
			
		||||
				ItemInfo mypar = itemInfo.MyParent;
 | 
			
		||||
				while (mypar != null && !mypar.IsProcedure)
 | 
			
		||||
				{
 | 
			
		||||
					string pTab = mypar.MyTab.CleanText.Trim();
 | 
			
		||||
					if (char.IsLetterOrDigit(pTab[0]))
 | 
			
		||||
					{
 | 
			
		||||
						pTab = pTab.TrimEnd(" .".ToCharArray()) + ".";
 | 
			
		||||
						prTab = pTab + prTab;
 | 
			
		||||
					}
 | 
			
		||||
					else
 | 
			
		||||
					{
 | 
			
		||||
						// There' a bullet or some other graphics character.
 | 
			
		||||
						// clear out the tab we are building so the we can build
 | 
			
		||||
						// a continue tab up to this bullet or graphic character.
 | 
			
		||||
						prTab = "";
 | 
			
		||||
						thisTab = "";
 | 
			
		||||
					}
 | 
			
		||||
					mypar = (mypar.IsSection)? null: mypar.MyParent;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
			return (prTab + thisTab.Trim()).TrimEnd(".".ToCharArray());
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user