Fixed issue in Braidwood data that was underlining after a dash space when that dash space was in a transition
This commit is contained in:
parent
e6703e88a1
commit
156d4b32ba
@ -205,8 +205,11 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
private bool InLinkedText(string text, int idx)
|
||||
{
|
||||
int endLink = text.Substring(0,idx).IndexOf(@"\[END>");
|
||||
return (endLink > -1);
|
||||
MatchCollection mc = Regex.Matches(text, @"<START\].*?\[END>");
|
||||
if (mc.Count == 0) return false;
|
||||
foreach (Match m in mc)
|
||||
if (m.Index < idx && m.Index + m.Length > idx) return true;
|
||||
return (false);
|
||||
}
|
||||
private string CreateRtf(bool colorLinks, string text, bool tableShouldBeOutlined, bool wordsShouldBeReplaced, bool numbersShouldBeFormated, bool tableHasBorder, bool ROsShouldBeAdjusted, bool underlineAfterDashSpace)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user