2 // System.Windows.Forms.RichTextBox.cs
5 // stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
7 // (C) 2002 Ximian, Inc
10 namespace System.Windows.Forms {
13 // This is only a template. Nothing is implemented yet.
17 public class RichTextBox : TextBoxBase {
23 //public RichTextBox()
25 // throw new NotImplementedException ();
29 // --- Public Properties
32 //public override bool AllowDrop {
34 // throw new NotImplementedException ();
37 // throw new NotImplementedException ();
41 //public override bool AutoSize {
43 // throw new NotImplementedException ();
46 // throw new NotImplementedException ();
50 //public bool AutoWordSelection {
52 // throw new NotImplementedException ();
55 // throw new NotImplementedException ();
59 //public override Image BackgroundImage {
61 // throw new NotImplementedException ();
64 // throw new NotImplementedException ();
68 //public int BulletIndent {
70 // throw new NotImplementedException ();
73 // throw new NotImplementedException ();
77 //public bool CanRedo {
79 // throw new NotImplementedException ();
83 //public bool DetectUrls {
85 // throw new NotImplementedException ();
88 // throw new NotImplementedException ();
92 //public override Font Font {
94 // throw new NotImplementedException ();
97 // throw new NotImplementedException ();
101 //public override Color ForeColor {
103 // throw new NotImplementedException ();
106 // throw new NotImplementedException ();
110 //public override int MaxLength {
112 // throw new NotImplementedException ();
115 // throw new NotImplementedException ();
119 //public override bool Multiline {
121 // throw new NotImplementedException ();
124 // throw new NotImplementedException ();
128 //public string RedoActionName {
130 // throw new NotImplementedException ();
134 //public int RightMargin {
136 // throw new NotImplementedException ();
139 // throw new NotImplementedException ();
143 //public string Rtf {
145 // throw new NotImplementedException ();
148 // throw new NotImplementedException ();
152 //public RichTextBoxScrollBars ScrollBars {
154 // throw new NotImplementedException ();
157 // throw new NotImplementedException ();
161 //public string SelectedRtf {
163 // throw new NotImplementedException ();
166 // throw new NotImplementedException ();
170 //public override string SelectedText {
172 // throw new NotImplementedException ();
175 // throw new NotImplementedException ();
179 //public HorizontalAlignment SelectionAlignment {
181 // throw new NotImplementedException ();
184 // throw new NotImplementedException ();
188 //public bool SelectionBullet {
190 // throw new NotImplementedException ();
193 // throw new NotImplementedException ();
197 //public int SelectionCharOffset {
199 // throw new NotImplementedException ();
202 // throw new NotImplementedException ();
206 //public Color SelectionColor {
208 // throw new NotImplementedException ();
211 // throw new NotImplementedException ();
215 //public Font SelectionFont {
217 // throw new NotImplementedException ();
220 // throw new NotImplementedException ();
224 //public int SelectionHangingIndent {
226 // throw new NotImplementedException ();
229 // throw new NotImplementedException ();
233 //public int SelectionIndent {
235 // throw new NotImplementedException ();
238 // throw new NotImplementedException ();
242 //public override int SelectionLength {
244 // throw new NotImplementedException ();
247 // throw new NotImplementedException ();
251 //public bool SelectionProtected {
253 // throw new NotImplementedException ();
256 // throw new NotImplementedException ();
260 //public int SelectionRightIndent {
262 // throw new NotImplementedException ();
265 // throw new NotImplementedException ();
269 //public int[] SelectionTabs {
271 // throw new NotImplementedException ();
274 // throw new NotImplementedException ();
278 //public RichTextBoxSelectionTypes SelectionType {
280 // throw new NotImplementedException ();
284 //public bool ShowSelectionMargin {
286 // throw new NotImplementedException ();
289 // throw new NotImplementedException ();
293 //public override string Text {
295 // throw new NotImplementedException ();
298 // throw new NotImplementedException ();
302 //public override int TextLength {
304 // throw new NotImplementedException ();
307 // throw new NotImplementedException ();
311 //public string UndoActionName {
313 // throw new NotImplementedException ();
317 //public float ZoomFactor {
319 // throw new NotImplementedException ();
322 // throw new NotImplementedException ();
327 // --- Public Methods
330 //public IAsyncResult BeginInvoke(Delegate del)
332 // throw new NotImplementedException ();
335 //public IAsyncResult BeginInvoke(Delegate del, object[] objs)
337 // throw new NotImplementedException ();
340 //public bool CanPaste(DataFormats.Format clipFormat)
342 // throw new NotImplementedException ();
345 //public virtual bool Equals(object o);
347 // throw new NotImplementedException ();
350 //public static bool Equals(object o1, object o2);
352 // throw new NotImplementedException ();
355 //public int Find(char[] chars)
357 // throw new NotImplementedException ();
360 //public int Find(string srt)
362 // throw new NotImplementedException ();
365 //public int Find(char[] chars, int val)
367 // throw new NotImplementedException ();
370 //public int Find(string srt, RichTextBoxFinds finds)
372 // throw new NotImplementedException ();
375 //public int Find(char[] chars, int val1, int val2)
377 // throw new NotImplementedException ();
380 //public int Find(string srt, int val, RichTextBoxFinds finds)
382 // throw new NotImplementedException ();
385 //public int Find(string srt, int val1, int val2, RichTextBoxFinds finds)
387 // throw new NotImplementedException ();
390 //public char GetCharFromPosition(Point pt)
392 // throw new NotImplementedException ();
395 //public int GetLineFromCharIndex(int index)
397 // throw new NotImplementedException ();
400 //public Point GetPositionFromCharIndex(int index)
402 // throw new NotImplementedException ();
405 //public void Invalidate()
407 // throw new NotImplementedException ();
410 //public void Invalidate(bool val)
412 // throw new NotImplementedException ();
415 //public void Invalidate(Rectangle rect)
417 // throw new NotImplementedException ();
420 //public void Invalidate(Region reg)
422 // throw new NotImplementedException ();
425 //public void Invalidate(Rectangle rect, bool val)
427 // throw new NotImplementedException ();
430 //public void Invalidate(Region reg, bool val)
432 // throw new NotImplementedException ();
435 //public object Invoke(Delegeta del)
437 // throw new NotImplementedException ();
440 //public object Invoke(Delegeta del, object[] objs)
442 // throw new NotImplementedException ();
445 //public void LoadFile(string str)
447 // throw new NotImplementedException ();
450 //public void LoadFile(Stream str, RichTextBoxStreamType type)
452 // throw new NotImplementedException ();
455 //public void Paste()
457 // throw new NotImplementedException ();
460 //public void Paste(DataFormats.Format format)
462 // throw new NotImplementedException ();
465 //public void PerformLayout()
467 // throw new NotImplementedException ();
470 //public void PerformLayout(Control ctl, string str)
472 // throw new NotImplementedException ();
477 // throw new NotImplementedException ();
480 //public void ResumeLayout()
482 // throw new NotImplementedException ();
485 //public void ResumeLayout(bool val)
487 // throw new NotImplementedException ();
490 //public void SaveFile(string str)
492 // throw new NotImplementedException ();
495 //public void SaveFile(Stream str, RichTextBoxStreamType type)
497 // throw new NotImplementedException ();
500 //public void SaveFile(string str, RichTextBoxStreamType type)
502 // throw new NotImplementedException ();
505 //public void Scale(float val)
507 // throw new NotImplementedException ();
510 //public void Scale(float val1, float val2)
512 // throw new NotImplementedException ();
515 //public void Select()
517 // throw new NotImplementedException ();
520 //public void Select(int val1, int val2)
522 // throw new NotImplementedException ();
525 //public virtual void Select(bool val1, bool val2)
527 // throw new NotImplementedException ();
530 //public void SetBounds(int val1, int val2, int val3, int val4)
532 // throw new NotImplementedException ();
535 //public void SetBounds(int val1, int val2, int val3, int val4, BoundsSpecified bounds)
537 // throw new NotImplementedException ();
544 //public event ContentsResizedEventHandler ContentsResized {
546 // throw new NotImplementedException ();
549 // throw new NotImplementedException ();
553 //public event EventHandler HScroll {
555 // throw new NotImplementedException ();
558 // throw new NotImplementedException ();
562 //public event EventHandler ImeChange {
564 // throw new NotImplementedException ();
567 // throw new NotImplementedException ();
571 //public event LinkClickedEventHandler LinkClicked {
573 // throw new NotImplementedException ();
576 // throw new NotImplementedException ();
580 //public event EventHandler Protected {
582 // throw new NotImplementedException ();
585 // throw new NotImplementedException ();
589 //public event EventHandler SelectionChanged {
591 // throw new NotImplementedException ();
594 // throw new NotImplementedException ();
598 //public event EventHandler VScroll {
600 // throw new NotImplementedException ();
603 // throw new NotImplementedException ();
608 // --- Protected Properties
611 //protected override CreateParams CreateParams {
613 // throw new NotImplementedException ();
617 //protected override Size DefaultSize {
619 // throw new NotImplementedException ();
624 // --- Protected Methods
627 //protected virtual object CreateRichTextEditOleCallback()
629 // throw new NotImplementedException ();
632 //protected override void OnBackColorChanged(EventArgs e)
634 // throw new NotImplementedException ();
637 //protected virtual void OnContentsResized(ContentsResizedEventArgs e)
639 // throw new NotImplementedException ();
642 //protected override void OnContextMenuChanged(EventArgs e)
644 // throw new NotImplementedException ();
647 //protected override void OnHandleCreated(EventArgs e)
649 // throw new NotImplementedException ();
652 //protected override void OnHandleDestroyed(EventArgs e)
654 // throw new NotImplementedException ();
657 //protected virtual void OnHScroll(EventArgs e)
659 // throw new NotImplementedException ();
662 //protected virtual void OnImeChanged(EventArgs e)
664 // throw new NotImplementedException ();
667 //protected virtual void OnClicked(LinkClickedEventArgs e)
669 // throw new NotImplementedException ();
672 //protected virtual void OnProtected(EventArgs e)
674 // throw new NotImplementedException ();
678 //protected override void OnRightToLeftChanged(EventArgs e)
680 // throw new NotImplementedException ();
683 //protected virtual void OnSelectionChanged(EventArgs e)
685 // throw new NotImplementedException ();
688 //protected override void OnSystemColorsChanged(EventArgs e)
690 // throw new NotImplementedException ();
693 //protected override void OnTextChanged(EventArgs e)
695 // throw new NotImplementedException ();
698 //protected virtual void OnVScroll(EventArgs e)
700 // throw new NotImplementedException ();
703 //protected ContentAlignment RtlTranslateAlignment(ContentAlignment calign)
705 // throw new NotImplementedException ();
708 //protected HorizontalAlignment RtlTranslateAlignment(HorizontalAlignment halign)
710 // throw new NotImplementedException ();
713 //protected LeftRightAlignment RtlTranslateAlignment(LeftRightAlignment lralign)
715 // throw new NotImplementedException ();
718 //protected void Select()
720 // throw new NotImplementedException ();
723 //protected virtual void Select(bool val1, bool val2)
725 // throw new NotImplementedException ();
728 //protected void UpdateBounds()
730 // throw new NotImplementedException ();
733 //protected void UpdateBounds(int val1, int val2, int val3, int val4)
735 // throw new NotImplementedException ();
738 //protected void UpdateBounds(int val1, int val2, int val3, int val4, int val5, int val6)
740 // throw new NotImplementedException ();
743 //protected override void WndProc(ref Message m)
745 // throw new NotImplementedException ();