Compare commits
8 Commits
B2026-019
...
B2026-021-
| Author | SHA1 | Date | |
|---|---|---|---|
| 7e672d91e9 | |||
| 09f472bee2 | |||
| 30da0c5105 | |||
| d2082cdbea | |||
| bef9be5cbe | |||
| 21890e74fe | |||
| bb7b892f7c | |||
| ded6f18dd5 |
Binary file not shown.
@@ -32,7 +32,7 @@ namespace ctlXMLEditLib
|
|||||||
public void InsertSymbol( int symbcode)
|
public void InsertSymbol( int symbcode)
|
||||||
{
|
{
|
||||||
int position = this.SelectionStart;
|
int position = this.SelectionStart;
|
||||||
string sym = string.Format(symbcode < 256 ? "\'{0:X2}" : @"\u{0}", symbcode);
|
string sym = symbcode < 256 ? ((char)symbcode).ToString() : string.Format(@"\u{0}", symbcode);
|
||||||
this.SelectedRtf = RtfPrefixForSymbols + sym + @"}";
|
this.SelectedRtf = RtfPrefixForSymbols + sym + @"}";
|
||||||
Select(position, -1);
|
Select(position, -1);
|
||||||
Select(position + 1, 0);
|
Select(position + 1, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user