Added Volian Comment Annotation Type
Support having a transition at the beginning of the text
This commit is contained in:
@@ -286,7 +286,7 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
int ind =str.LastIndexOf("<START]");
|
||||
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"))
|
||||
return str;//Already has a Hard Space
|
||||
|
Reference in New Issue
Block a user