Added Volian Comment Annotation Type
Support having a transition at the beginning of the text
This commit is contained in:
parent
f88bfe84fe
commit
3086c7ec5a
@ -100,6 +100,7 @@ namespace DataLoader
|
|||||||
AnnotationType at = AnnotationType.MakeAnnotationType("Reference", null);
|
AnnotationType at = AnnotationType.MakeAnnotationType("Reference", null);
|
||||||
at = AnnotationType.MakeAnnotationType("Action Items", null);
|
at = AnnotationType.MakeAnnotationType("Action Items", null);
|
||||||
at = AnnotationType.MakeAnnotationType("Verification Required", null);
|
at = AnnotationType.MakeAnnotationType("Verification Required", null);
|
||||||
|
at = AnnotationType.MakeAnnotationType("Volian Comment", null);
|
||||||
|
|
||||||
frmMain.Status = "Load veproms.ini";
|
frmMain.Status = "Load veproms.ini";
|
||||||
XmlDocument d = cfg.LoadSystemIni(vepromspath);
|
XmlDocument d = cfg.LoadSystemIni(vepromspath);
|
||||||
|
@ -286,7 +286,7 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
int ind =str.LastIndexOf("<START]");
|
int ind =str.LastIndexOf("<START]");
|
||||||
ind = str.LastIndexOf(@"\", ind);
|
ind = str.LastIndexOf(@"\", ind);
|
||||||
while (ind >= 0 && str[ind - 1] != ' ')
|
while (ind > 0 && str[ind - 1] != ' ')
|
||||||
{
|
{
|
||||||
if (ind > 5 && str.Substring(0, ind).EndsWith(@"\u160?") || str.Substring(0, ind).ToLower().EndsWith(@"\'a0"))
|
if (ind > 5 && str.Substring(0, ind).EndsWith(@"\u160?") || str.Substring(0, ind).ToLower().EndsWith(@"\'a0"))
|
||||||
return str;//Already has a Hard Space
|
return str;//Already has a Hard Space
|
||||||
|
Loading…
x
Reference in New Issue
Block a user