Handle \u8209? inserted from the keyboards as Hyphens when looking up ROs.
This commit is contained in:
parent
07fbc295d1
commit
68aa54004a
@ -108,7 +108,7 @@ namespace Volian.Controls.Library
|
|||||||
//Spin through ROs looking for the selected text
|
//Spin through ROs looking for the selected text
|
||||||
if (MyRTB.SelectedText != "")
|
if (MyRTB.SelectedText != "")
|
||||||
{
|
{
|
||||||
string lookFor = MyRTB.SelectedText;
|
string lookFor = MyRTB.SelectedText.Replace('\u2011', '-');
|
||||||
List<ROFSTLookup.roChild> children = null;
|
List<ROFSTLookup.roChild> children = null;
|
||||||
if (_MyROFST != null) children = _MyROFST.ROFSTLookup.GetRosByValue(lookFor);
|
if (_MyROFST != null) children = _MyROFST.ROFSTLookup.GetRosByValue(lookFor);
|
||||||
if (children != null)
|
if (children != null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user