Fixed logic for SUM.FMT
Fixed logic to update formats Fixed logic to paste dashes
This commit is contained in:
1 parent
4d0346f0f8
commit
fd983f616c
3 files changed
+27
-30
No files matched your search
@@ -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