[TextEditor_mcc] Small change to get the font

  • From: Mathias PARNAUDEAU <mathias.p@xxxxxxxxxx>
  • To: texteditor_mcc@xxxxxxxxxxxxx
  • Date: Sun, 11 Jun 2006 11:26:42 +0200

Hi all,

We previously discussed about this topic months ago. Currently MUIA_Font
gets the font from the Area instead of the TextEditor object, even if there
are many chances that this one has been changed by the user prefs.
So, as we decided about my first changes, I submit them to you with the
attached file.

After professionnal changes I am now ready to work again on my Amiga
projects. I'm going to send you the diff of the TextEditor-Demo that I
deeply changed to let it compile and run on every Amiga system.

Regards,

-- 
Mathias PARNAUDEAU
Index: GetSetAttrs.c
===================================================================
--- GetSetAttrs.c       (revision 236)
+++ GetSetAttrs.c       (working copy)
@@ -190,6 +190,10 @@
       ti_Data = data->WrapBorder;
       break;
 
+    case MUIA_Font:
+      ti_Data = data->font;
+      break;
+
     default:
       LEAVE();
       return(DoSuperMethodA(cl, obj, (Msg)msg));

Other related posts: