Handle \u8209? inserted from the keyboards as Hyphens when looking up ROs.

This commit is contained in:
Rich 2013-03-14 18:39:42 +00:00
parent 07fbc295d1
commit 68aa54004a

View File

@ -108,7 +108,7 @@ namespace Volian.Controls.Library
//Spin through ROs looking for the selected text
if (MyRTB.SelectedText != "")
{
string lookFor = MyRTB.SelectedText;
string lookFor = MyRTB.SelectedText.Replace('\u2011', '-');
List<ROFSTLookup.roChild> children = null;
if (_MyROFST != null) children = _MyROFST.ROFSTLookup.GetRosByValue(lookFor);
if (children != null)