This commit is contained in:
@@ -455,13 +455,15 @@ namespace Volian.Controls.Library
|
||||
// add the character with its font depending on the char....
|
||||
if (!IsControlChar)
|
||||
{
|
||||
if (e.KeyChar == '\b') return; // return on backspace.
|
||||
// check for symbol - how??
|
||||
AddRtf(e.KeyChar.ToString());
|
||||
if (e.KeyChar == '\b') return; // return on backspace otherwise, get a block char
|
||||
if (e.KeyChar == '-')
|
||||
AddSymbol(@"\u8209?");
|
||||
else
|
||||
AddRtf(e.KeyChar.ToString());
|
||||
e.Handled = true; // flag that it's been handled, otherwise, will get 2 chars.
|
||||
}
|
||||
IsControlChar = false;
|
||||
}
|
||||
e.Handled = true; // flag that it's been handled, otherwise, will get 2 chars.
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
Reference in New Issue
Block a user