Added TurnOffReplaceWords format flag

Added space after UnderlineOn command when converting.  Fixed the conversion of Top Continue Message, when not defined in 16-bit, set to an empty string so that it is not inherited from the Base format
Added TurnOffReplaceWords flag
Don’t do ReplaceWords if TurnOffReplaceWords is set to true
This commit is contained in:
jjenko committed 2013-07-17 15:13:02 +00:00
1 parent d055adfd11
commit 0eda70c1c8
5 files changed
+27 -4

No files matched your search

+2 -1
View File
@@ -215,7 +215,8 @@ namespace Volian.Controls.Library
}
// if in print mode, view mode, or non-active richtextbox do replace words. Only if in
// actual edit mode are replace words left as is.
if (wordsShouldBeReplaced)
// But don't do ReplaceWords if the TurnOffReplaceWords format flag is set
if (wordsShouldBeReplaced && !_MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.TurnOffReplaceWords)
text = DoReplaceWords2(text);
if (_MyItemInfo != null)
{