2002-7-1 DennisHayes <dennish@raytek.com>
[mono.git] / mcs / class / System.Windows.Forms / System.Windows.Forms / RichTextBox.cs
1 //
2 // System.Windows.Forms.RichTextBox.cs
3 //
4 // Author:
5 //   stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
6 //
7 // (C) 2002 Ximian, Inc
8 //
9
10 namespace System.Windows.Forms {
11
12         // <summary>
13         //      This is only a template.  Nothing is implemented yet.
14         //
15         // </summary>
16
17     public class RichTextBox : TextBoxBase {
18
19                 //
20                 //  --- Constructor
21                 //
22                 //[MonoTODO]
23                 //public RichTextBox()
24                 //{
25                 //      throw new NotImplementedException ();
26                 //}
27
28                 //
29                 //  --- Public Properties
30                 //
31                 //[MonoTODO]
32                 //public override bool AllowDrop {
33                 //      get {
34                 //              throw new NotImplementedException ();
35                 //      }
36                 //      set {
37                 //              throw new NotImplementedException ();
38                 //      }
39                 //}
40                 //[MonoTODO]
41                 //public override bool AutoSize {
42                 //      get {
43                 //              throw new NotImplementedException ();
44                 //      }
45                 //      set {
46                 //              throw new NotImplementedException ();
47                 //      }
48                 //}
49                 //[MonoTODO]
50                 //public bool AutoWordSelection {
51                 //      get {
52                 //              throw new NotImplementedException ();
53                 //      }
54                 //      set {
55                 //              throw new NotImplementedException ();
56                 //      }
57                 //}
58                 //[MonoTODO]
59                 //public override Image BackgroundImage {
60                 //      get {
61                 //              throw new NotImplementedException ();
62                 //      }
63                 //      set {
64                 //              throw new NotImplementedException ();
65                 //      }
66                 //}
67                 //[MonoTODO]
68                 //public int BulletIndent {
69                 //      get {
70                 //              throw new NotImplementedException ();
71                 //      }
72                 //      set {
73                 //              throw new NotImplementedException ();
74                 //      }
75                 //}
76                 //[MonoTODO]
77                 //public bool CanRedo {
78                 //      get {
79                 //              throw new NotImplementedException ();
80                 //      }
81                 //}
82                 //[MonoTODO]
83                 //public bool DetectUrls {
84                 //      get {
85                 //              throw new NotImplementedException ();
86                 //      }
87                 //      set {
88                 //              throw new NotImplementedException ();
89                 //      }
90                 //}
91                 //[MonoTODO]
92                 //public override Font Font {
93                 //      get {
94                 //              throw new NotImplementedException ();
95                 //      }
96                 //      set {
97                 //              throw new NotImplementedException ();
98                 //      }
99                 //}
100                 //[MonoTODO]
101                 //public override Color ForeColor {
102                 //      get {
103                 //              throw new NotImplementedException ();
104                 //      }
105                 //      set {
106                 //              throw new NotImplementedException ();
107                 //      }
108                 //}
109                 //[MonoTODO]
110                 //public override int MaxLength {
111                 //      get {
112                 //              throw new NotImplementedException ();
113                 //      }
114                 //      set {
115                 //              throw new NotImplementedException ();
116                 //      }
117                 //}
118                 //[MonoTODO]
119                 //public override bool Multiline {
120                 //      get {
121                 //              throw new NotImplementedException ();
122                 //      }
123                 //      set {
124                 //              throw new NotImplementedException ();
125                 //      }
126                 //}
127                 //[MonoTODO]
128                 //public string RedoActionName {
129                 //      get {
130                 //              throw new NotImplementedException ();
131                 //      }
132                 //}
133                 //[MonoTODO]
134                 //public int RightMargin {
135                 //      get {
136                 //              throw new NotImplementedException ();
137                 //      }
138                 //      set {
139                 //              throw new NotImplementedException ();
140                 //      }
141                 //}
142                 //[MonoTODO]
143                 //public string Rtf {
144                 //      get {
145                 //              throw new NotImplementedException ();
146                 //      }
147                 //      set {
148                 //              throw new NotImplementedException ();
149                 //      }
150                 //}
151                 //[MonoTODO]
152                 //public RichTextBoxScrollBars ScrollBars {
153                 //      get {
154                 //              throw new NotImplementedException ();
155                 //      }
156                 //      set {
157                 //              throw new NotImplementedException ();
158                 //      }
159                 //}
160                 //[MonoTODO]
161                 //public string SelectedRtf {
162                 //      get {
163                 //              throw new NotImplementedException ();
164                 //      }
165                 //      set {
166                 //              throw new NotImplementedException ();
167                 //      }
168                 //}
169                 //[MonoTODO]
170                 //public override string SelectedText {
171                 //      get {
172                 //              throw new NotImplementedException ();
173                 //      }
174                 //      set {
175                 //              throw new NotImplementedException ();
176                 //      }
177                 //}
178                 //[MonoTODO]
179                 //public HorizontalAlignment SelectionAlignment {
180                 //      get {
181                 //              throw new NotImplementedException ();
182                 //      }
183                 //      set {
184                 //              throw new NotImplementedException ();
185                 //      }
186                 //}
187                 //[MonoTODO]
188                 //public bool SelectionBullet {
189                 //      get {
190                 //              throw new NotImplementedException ();
191                 //      }
192                 //      set {
193                 //              throw new NotImplementedException ();
194                 //      }
195                 //}
196                 //[MonoTODO]
197                 //public int SelectionCharOffset {
198                 //      get {
199                 //              throw new NotImplementedException ();
200                 //      }
201                 //      set {
202                 //              throw new NotImplementedException ();
203                 //      }
204                 //}
205                 //[MonoTODO]
206                 //public Color SelectionColor {
207                 //      get {
208                 //              throw new NotImplementedException ();
209                 //      }
210                 //      set {
211                 //              throw new NotImplementedException ();
212                 //      }
213                 //}
214                 //[MonoTODO]
215                 //public Font SelectionFont {
216                 //      get {
217                 //              throw new NotImplementedException ();
218                 //      }
219                 //      set {
220                 //              throw new NotImplementedException ();
221                 //      }
222                 //}
223                 //[MonoTODO]
224                 //public int SelectionHangingIndent {
225                 //      get {
226                 //              throw new NotImplementedException ();
227                 //      }
228                 //      set {
229                 //              throw new NotImplementedException ();
230                 //      }
231                 //}
232                 //[MonoTODO]
233                 //public int SelectionIndent {
234                 //      get {
235                 //              throw new NotImplementedException ();
236                 //      }
237                 //      set {
238                 //              throw new NotImplementedException ();
239                 //      }
240                 //}
241                 //[MonoTODO]
242                 //public override int SelectionLength {
243                 //      get {
244                 //              throw new NotImplementedException ();
245                 //      }
246                 //      set {
247                 //              throw new NotImplementedException ();
248                 //      }
249                 //}
250                 //[MonoTODO]
251                 //public bool SelectionProtected {
252                 //      get {
253                 //              throw new NotImplementedException ();
254                 //      }
255                 //      set {
256                 //              throw new NotImplementedException ();
257                 //      }
258                 //}
259                 //[MonoTODO]
260                 //public int SelectionRightIndent {
261                 //      get {
262                 //              throw new NotImplementedException ();
263                 //      }
264                 //      set {
265                 //              throw new NotImplementedException ();
266                 //      }
267                 //}
268                 //[MonoTODO]
269                 //public int[] SelectionTabs {
270                 //      get {
271                 //              throw new NotImplementedException ();
272                 //      }
273                 //      set {
274                 //              throw new NotImplementedException ();
275                 //      }
276                 //}
277                 //[MonoTODO]
278                 //public RichTextBoxSelectionTypes SelectionType {
279                 //      get {
280                 //              throw new NotImplementedException ();
281                 //      }
282                 //}
283                 //[MonoTODO]
284                 //public bool ShowSelectionMargin {
285                 //      get {
286                 //              throw new NotImplementedException ();
287                 //      }
288                 //      set {
289                 //              throw new NotImplementedException ();
290                 //      }
291                 //}
292                 //[MonoTODO]
293                 //public override string Text {
294                 //      get {
295                 //              throw new NotImplementedException ();
296                 //      }
297                 //      set {
298                 //              throw new NotImplementedException ();
299                 //      }
300                 //}
301                 //[MonoTODO]
302                 //public override int TextLength {
303                 //      get {
304                 //              throw new NotImplementedException ();
305                 //      }
306                 //      set {
307                 //              throw new NotImplementedException ();
308                 //      }
309                 //}
310                 //[MonoTODO]
311                 //public string UndoActionName {
312                 //      get {
313                 //              throw new NotImplementedException ();
314                 //      }
315                 //}
316                 //[MonoTODO]
317                 //public float ZoomFactor {
318                 //      get {
319                 //              throw new NotImplementedException ();
320                 //      }
321                 //      set {
322                 //              throw new NotImplementedException ();
323                 //      }
324                 //}
325
326                 //
327                 //  --- Public Methods
328                 //
329                 //[MonoTODO]
330                 //public IAsyncResult BeginInvoke(Delegate del)
331                 //{
332                 //      throw new NotImplementedException ();
333                 //}
334                 //[MonoTODO]
335                 //public IAsyncResult BeginInvoke(Delegate del, object[] objs)
336                 //{
337                 //      throw new NotImplementedException ();
338                 //}
339                 //[MonoTODO]
340                 //public bool CanPaste(DataFormats.Format clipFormat)
341                 //{
342                 //      throw new NotImplementedException ();
343                 //}
344                 //[MonoTODO]
345                 //public virtual bool Equals(object o);
346                 //{
347                 //      throw new NotImplementedException ();
348                 //}
349                 //[MonoTODO]
350                 //public static bool Equals(object o1, object o2);
351                 //{
352                 //      throw new NotImplementedException ();
353                 //}
354                 //[MonoTODO]
355                 //public int Find(char[] chars)
356                 //{
357                 //      throw new NotImplementedException ();
358                 //}
359                 //[MonoTODO]
360                 //public int Find(string srt)
361                 //{
362                 //      throw new NotImplementedException ();
363                 //}
364                 //[MonoTODO]
365                 //public int Find(char[] chars, int val)
366                 //{
367                 //      throw new NotImplementedException ();
368                 //}
369                 //[MonoTODO]
370                 //public int Find(string srt, RichTextBoxFinds finds)
371                 //{
372                 //      throw new NotImplementedException ();
373                 //}
374                 //[MonoTODO]
375                 //public int Find(char[] chars, int val1, int val2)
376                 //{
377                 //      throw new NotImplementedException ();
378                 //}
379                 //[MonoTODO]
380                 //public int Find(string srt, int val, RichTextBoxFinds finds)
381                 //{
382                 //      throw new NotImplementedException ();
383                 //}
384                 //[MonoTODO]
385                 //public int Find(string srt, int val1, int val2, RichTextBoxFinds finds)
386                 //{
387                 //      throw new NotImplementedException ();
388                 //}
389                 //[MonoTODO]
390                 //public char GetCharFromPosition(Point pt)
391                 //{
392                 //      throw new NotImplementedException ();
393                 //}
394                 //[MonoTODO]
395                 //public int GetLineFromCharIndex(int index)
396                 //{
397                 //      throw new NotImplementedException ();
398                 //}
399                 //[MonoTODO]
400                 //public Point GetPositionFromCharIndex(int index)
401                 //{
402                 //      throw new NotImplementedException ();
403                 //}
404                 //[MonoTODO]
405                 //public void Invalidate()
406                 //{
407                 //      throw new NotImplementedException ();
408                 //}
409                 //[MonoTODO]
410                 //public void Invalidate(bool val)
411                 //{
412                 //      throw new NotImplementedException ();
413                 //}
414                 //[MonoTODO]
415                 //public void Invalidate(Rectangle rect)
416                 //{
417                 //      throw new NotImplementedException ();
418                 //}
419                 //[MonoTODO]
420                 //public void Invalidate(Region reg)
421                 //{
422                 //      throw new NotImplementedException ();
423                 //}
424                 //[MonoTODO]
425                 //public void Invalidate(Rectangle rect, bool val)
426                 //{
427                 //      throw new NotImplementedException ();
428                 //}
429                 //[MonoTODO]
430                 //public void Invalidate(Region reg, bool val)
431                 //{
432                 //      throw new NotImplementedException ();
433                 //}
434                 //[MonoTODO]
435                 //public object Invoke(Delegeta del)
436                 //{
437                 //      throw new NotImplementedException ();
438                 //}
439                 //[MonoTODO]
440                 //public object Invoke(Delegeta del, object[] objs)
441                 //{
442                 //      throw new NotImplementedException ();
443                 //}
444                 //[MonoTODO]
445                 //public void LoadFile(string str)
446                 //{
447                 //      throw new NotImplementedException ();
448                 //}
449                 //[MonoTODO]
450                 //public void LoadFile(Stream str, RichTextBoxStreamType type)
451                 //{
452                 //      throw new NotImplementedException ();
453                 //}
454                 //[MonoTODO]
455                 //public void Paste()
456                 //{
457                 //      throw new NotImplementedException ();
458                 //}
459                 //[MonoTODO]
460                 //public void Paste(DataFormats.Format format)
461                 //{
462                 //      throw new NotImplementedException ();
463                 //}
464                 //[MonoTODO]
465                 //public void PerformLayout()
466                 //{
467                 //      throw new NotImplementedException ();
468                 //}
469                 //[MonoTODO]
470                 //public void PerformLayout(Control ctl, string str)
471                 //{
472                 //      throw new NotImplementedException ();
473                 //}
474                 //[MonoTODO]
475                 //public void Redo()
476                 //{
477                 //      throw new NotImplementedException ();
478                 //}
479                 //[MonoTODO]
480                 //public void ResumeLayout()
481                 //{
482                 //      throw new NotImplementedException ();
483                 //}
484                 //[MonoTODO]
485                 //public void ResumeLayout(bool val)
486                 //{
487                 //      throw new NotImplementedException ();
488                 //}
489                 //[MonoTODO]
490                 //public void SaveFile(string str)
491                 //{
492                 //      throw new NotImplementedException ();
493                 //}
494                 //[MonoTODO]
495                 //public void SaveFile(Stream str, RichTextBoxStreamType type)
496                 //{
497                 //      throw new NotImplementedException ();
498                 //}
499                 //[MonoTODO]
500                 //public void SaveFile(string str, RichTextBoxStreamType type)
501                 //{
502                 //      throw new NotImplementedException ();
503                 //}
504                 //[MonoTODO]
505                 //public void Scale(float val)
506                 //{
507                 //      throw new NotImplementedException ();
508                 //}
509                 //[MonoTODO]
510                 //public void Scale(float val1, float val2)
511                 //{
512                 //      throw new NotImplementedException ();
513                 //}
514                 //[MonoTODO]
515                 //public void Select()
516                 //{
517                 //      throw new NotImplementedException ();
518                 //}
519                 //[MonoTODO]
520                 //public void Select(int val1, int val2)
521                 //{
522                 //      throw new NotImplementedException ();
523                 //}
524                 //[MonoTODO]
525                 //public virtual void Select(bool val1, bool val2)
526                 //{
527                 //      throw new NotImplementedException ();
528                 //}
529                 //[MonoTODO]
530                 //public void SetBounds(int val1, int val2, int val3, int val4)
531                 //{
532                 //      throw new NotImplementedException ();
533                 //}
534                 //[MonoTODO]
535                 //public void SetBounds(int val1, int val2, int val3, int val4, BoundsSpecified bounds)
536                 //{
537                 //      throw new NotImplementedException ();
538                 //}
539
540                 //
541                 //  --- Public Events
542                 //
543                 //[MonoTODO]
544                 //public event ContentsResizedEventHandler ContentsResized {
545                 //      add {
546                 //              throw new NotImplementedException ();
547                 //      }
548                 //      remove {
549                 //              throw new NotImplementedException ();
550                 //      }
551                 //}
552                 //[MonoTODO]
553                 //public event EventHandler HScroll {
554                 //      add {
555                 //              throw new NotImplementedException ();
556                 //      }
557                 //      remove {
558                 //              throw new NotImplementedException ();
559                 //      }
560                 //}
561                 //[MonoTODO]
562                 //public event EventHandler ImeChange {
563                 //      add {
564                 //              throw new NotImplementedException ();
565                 //      }
566                 //      remove {
567                 //              throw new NotImplementedException ();
568                 //      }
569                 //}
570                 //[MonoTODO]
571                 //public event LinkClickedEventHandler LinkClicked {
572                 //      add {
573                 //              throw new NotImplementedException ();
574                 //      }
575                 //      remove {
576                 //              throw new NotImplementedException ();
577                 //      }
578                 //}
579                 //[MonoTODO]
580                 //public event EventHandler Protected {
581                 //      add {
582                 //              throw new NotImplementedException ();
583                 //      }
584                 //      remove {
585                 //              throw new NotImplementedException ();
586                 //      }
587                 //}
588                 //[MonoTODO]
589                 //public event EventHandler SelectionChanged {
590                 //      add {
591                 //              throw new NotImplementedException ();
592                 //      }
593                 //      remove {
594                 //              throw new NotImplementedException ();
595                 //      }
596                 //}
597                 //[MonoTODO]
598                 //public event EventHandler VScroll {
599                 //      add {
600                 //              throw new NotImplementedException ();
601                 //      }
602                 //      remove {
603                 //              throw new NotImplementedException ();
604                 //      }
605                 //}
606
607                 //
608                 //  --- Protected Properties
609                 //
610                 //[MonoTODO]
611                 //protected override CreateParams CreateParams {
612                 //      get {
613                 //              throw new NotImplementedException ();
614                 //      }
615                 //}
616                 //[MonoTODO]
617                 //protected override Size DefaultSize {
618                 //      get {
619                 //              throw new NotImplementedException ();
620                 //      }
621                 //}
622
623                 //
624                 //  --- Protected Methods
625                 //
626                 //[MonoTODO]
627                 //protected virtual object CreateRichTextEditOleCallback()
628                 //{
629                 //      throw new NotImplementedException ();
630                 //}
631                 //[MonoTODO]
632                 //protected override void OnBackColorChanged(EventArgs e)
633                 //{
634                 //      throw new NotImplementedException ();
635                 //}
636                 //[MonoTODO]
637                 //protected virtual void OnContentsResized(ContentsResizedEventArgs e)
638                 //{
639                 //      throw new NotImplementedException ();
640                 //}
641                 //[MonoTODO]
642                 //protected override void  OnContextMenuChanged(EventArgs e)
643                 //{
644                 //      throw new NotImplementedException ();
645                 //}
646                 //[MonoTODO]
647                 //protected override void  OnHandleCreated(EventArgs e)
648                 //{
649                 //      throw new NotImplementedException ();
650                 //}
651                 //[MonoTODO]
652                 //protected override void  OnHandleDestroyed(EventArgs e)
653                 //{
654                 //      throw new NotImplementedException ();
655                 //}
656                 //[MonoTODO]
657                 //protected virtual void OnHScroll(EventArgs e)
658                 //{
659                 //      throw new NotImplementedException ();
660                 //}
661                 //[MonoTODO]
662                 //protected virtual void OnImeChanged(EventArgs e)
663                 //{
664                 //      throw new NotImplementedException ();
665                 //}
666                 //[MonoTODO]
667                 //protected virtual void OnClicked(LinkClickedEventArgs e)
668                 //{
669                 //      throw new NotImplementedException ();
670                 //}
671                 //[MonoTODO]
672                 //protected virtual void OnProtected(EventArgs e)
673                 //{
674                 //      throw new NotImplementedException ();
675                 //}
676
677                 //[MonoTODO]
678                 //protected override void OnRightToLeftChanged(EventArgs e)
679                 //{
680                 //      throw new NotImplementedException ();
681                 //}
682                 //[MonoTODO]
683                 //protected virtual void OnSelectionChanged(EventArgs e)
684                 //{
685                 //      throw new NotImplementedException ();
686                 //}
687                 //[MonoTODO]
688                 //protected override void OnSystemColorsChanged(EventArgs e)
689                 //{
690                 //      throw new NotImplementedException ();
691                 //}
692                 //[MonoTODO]
693                 //protected override void OnTextChanged(EventArgs e)
694                 //{
695                 //      throw new NotImplementedException ();
696                 //}
697                 //[MonoTODO]
698                 //protected virtual void OnVScroll(EventArgs e)
699                 //{
700                 //      throw new NotImplementedException ();
701                 //}
702                 //[MonoTODO]
703                 //protected ContentAlignment RtlTranslateAlignment(ContentAlignment calign)
704                 //{
705                 //      throw new NotImplementedException ();
706                 //}
707                 //[MonoTODO]
708                 //protected HorizontalAlignment RtlTranslateAlignment(HorizontalAlignment halign)
709                 //{
710                 //      throw new NotImplementedException ();
711                 //}
712                 //[MonoTODO]
713                 //protected LeftRightAlignment RtlTranslateAlignment(LeftRightAlignment lralign)
714                 //{
715                 //      throw new NotImplementedException ();
716                 //}
717                 //[MonoTODO]
718                 //protected void Select()
719                 //{
720                 //      throw new NotImplementedException ();
721                 //}
722                 //[MonoTODO]
723                 //protected virtual void Select(bool val1, bool val2)
724                 //{
725                 //      throw new NotImplementedException ();
726                 //}
727                 //[MonoTODO]
728                 //protected void UpdateBounds()
729                 //{
730                 //      throw new NotImplementedException ();
731                 //}
732                 //[MonoTODO]
733                 //protected void UpdateBounds(int val1, int val2, int val3, int val4)
734                 //{
735                 //      throw new NotImplementedException ();
736                 //}
737                 //[MonoTODO]
738                 //protected void UpdateBounds(int val1, int val2, int val3, int val4, int val5, int val6)
739                 //{
740                 //      throw new NotImplementedException ();
741                 //}
742                 //[MonoTODO]
743                 //protected override void WndProc(ref Message m)
744                 //{
745                 //      throw new NotImplementedException ();
746                 //}
747          }
748 }