B2022-067 Needed to convert SelectedText to the Display Text representation in order to be able to Find text that include a dash.
This commit is contained in:
parent
ceff365e54
commit
77c7d8872f
@ -25,10 +25,12 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
// B2022-067 get display text version to convert 8209 dash to nornal (keyboard) dash
|
||||
string selStr = ItemInfo.ConvertToDisplayText(MyEditItem.MyStepRTB.SelectedText);
|
||||
if (!cbxCaseSensitive.Checked)
|
||||
return MyEditItem.MyStepRTB.SelectedText.ToUpper() == cmboFindText.Text.ToUpper();
|
||||
return selStr.ToUpper() == cmboFindText.Text.ToUpper();
|
||||
else
|
||||
return MyEditItem.MyStepRTB.SelectedText == cmboFindText.Text;
|
||||
return selStr == cmboFindText.Text;
|
||||
}
|
||||
}
|
||||
//private bool _offsetStartPos = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user