C2022-003-Change-Textboxes-to-RTF-3
This commit is contained in:
@@ -2028,20 +2028,6 @@ namespace ctlXMLEditLib
|
|||||||
set { _DisplaySymBolBtn = value; }
|
set { _DisplaySymBolBtn = value; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//public static class RichTextBoxExtensions // RO Editor add symbols C2022 - 003
|
|
||||||
//{
|
|
||||||
// public static void InsertSymbol(this RichTextBox richTextBox, int symbcode)
|
|
||||||
// {
|
|
||||||
// int position = richTextBox.SelectionStart;
|
|
||||||
// string sym = string.Format(symbcode < 256 ? "\'{0:X2}" : @"\u{0}", symbcode);
|
|
||||||
// string RtfPrefixForSymbols = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset2 FreeMono; } {\f1\fnil\fcharset0 FreeMono; } } {\colortbl;\red255\green0\blue0;\red0\green0\blue255; } \viewkind4\uc1\pard\fs24 \f1\fs24 ";
|
|
||||||
// richTextBox.SelectedRtf = RtfPrefixForSymbols + sym + @"}";
|
|
||||||
// richTextBox.SelectedRtf = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1033\uc1 }";
|
|
||||||
// richTextBox.Select(position, 0);
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
//roRichTextBox.InsertSymbol();
|
|
||||||
|
|
||||||
|
|
||||||
public enum E_FontStyle : byte
|
public enum E_FontStyle : byte
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user