Fixed logic for SUM.FMT
Fixed logic to update formats Fixed logic to paste dashes
This commit is contained in:
@@ -1074,6 +1074,9 @@ namespace Volian.Controls.Library
|
||||
string ptext = myDO.GetData(DataFormats.Text).ToString();
|
||||
ptext = ptext.TrimEnd("\r\n\t ".ToCharArray());
|
||||
if (PasteNoReturnsSetting) ptext = ptext.Replace("\r\n", " ");
|
||||
ptext = ptext.Replace("\u2013", "-"); // Replace EN Dash with hyphen
|
||||
ptext = ptext.Replace("\u2014", "-"); // Replace EM Dash with hyphen
|
||||
ptext = ptext.Replace("\u2011", "-"); // Replace non-breaking hyphen with hyphen
|
||||
myRtb.SelectedText = ptext;
|
||||
//myRtb.SelectedText = myDO.GetData(DataFormats.Text).ToString();
|
||||
}
|
||||
|
Reference in New Issue
Block a user