public TextBlock( RichTextArea _textArea, string _strText, TextBlockType _lineType=TextBlockType.Paragraph, int _iIndentLevel=0 ) : this( _textArea, _strText, _textArea.Screen.Style.DefaultTextColor, _lineType, _iIndentLevel ) { }
//---------------------------------------------------------------------- public RemoteRichTextCaret( string _strLabel, RichTextArea _textArea ): base ( _textArea ) { mstrLabelString = _strLabel; mvLabelSize = TextArea.Screen.Style.SmallFont.MeasureString( mstrLabelString ); }
public TextBlock( RichTextArea _textArea, string _strText, Color _color, TextBlockType _lineType=TextBlockType.Paragraph, int _iIndentLevel=0 ) { mTextArea = _textArea; Text = _strText; BlockType = _lineType; IndentLevel = _iIndentLevel; Color = _color; }
//---------------------------------------------------------------------- public RichTextCaret( RichTextArea _textArea ) { TextArea = _textArea; }