Added support to convert the carrot character (^) to the delta symbol in X/Y Plots
Added support for hard spaces in section titles and removed the dash character that was always inserted between the section number and section title.
This commit is contained in:
@@ -686,7 +686,9 @@ namespace Volian.Print.Library
|
||||
{
|
||||
// Remove Procedure Number and Title
|
||||
string sectionAndStep = Regex.Replace(path + "\x7\x7\x7", "^.+?\\u0007", "");
|
||||
sectionAndStep = sectionAndStep.Replace("\x11", sectionAndStep[0] == '\x11' ? "" : " - ");
|
||||
//sectionAndStep = sectionAndStep.Replace("\x11", sectionAndStep[0] == '\x11' ? "" : " - ");
|
||||
sectionAndStep = sectionAndStep.Replace("\x11", sectionAndStep[0] == '\x11' ? "" : " ");
|
||||
sectionAndStep = sectionAndStep.Replace("\\u160?", " "); // replace a hardspace with a space
|
||||
// Split Section frrom Steps
|
||||
return sectionAndStep.Split("\x7".ToCharArray());
|
||||
}
|
||||
|
Reference in New Issue
Block a user