Example #1
0
 public TextBlock( RichTextArea _textArea, string _strText, TextBlockType _lineType=TextBlockType.Paragraph, int _iIndentLevel=0 )
 : this( _textArea, _strText, _textArea.Screen.Style.DefaultTextColor, _lineType, _iIndentLevel )
 {
 }
Example #2
0
 //----------------------------------------------------------------------
 public RemoteRichTextCaret( string _strLabel, RichTextArea _textArea ): base ( _textArea )
 {
     mstrLabelString = _strLabel;
     
     mvLabelSize = TextArea.Screen.Style.SmallFont.MeasureString( mstrLabelString );
 }
Example #3
0
 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;
 }
Example #4
0
 //----------------------------------------------------------------------
 public RichTextCaret( RichTextArea _textArea )
 {
     TextArea = _textArea;
 }