Fixed Replace words logic where it begin done on step text that is bolded
This commit is contained in:
		| @@ -1736,7 +1736,8 @@ namespace Volian.Controls.Library | ||||
| 								with = with.Replace(@"\ulnone ", ""); | ||||
| 							} | ||||
| 							text = text.Substring(0, offset + foundMatch.MyMatch.Index) + with + text.Substring(offset + foundMatch.MyMatch.Index + foundMatch.MyMatch.Length); | ||||
| 						offset += foundMatch.MyWord.ReplaceWith.Length - foundMatch.MyMatch.Length; | ||||
| 						//offset += foundMatch.MyWord.ReplaceWith.Length - foundMatch.MyMatch.Length; | ||||
| 						offset += with.Length - foundMatch.MyMatch.Length; | ||||
| 						} | ||||
| 					} | ||||
| 				} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user