Diff of /libs/textedit/include/gadgets/TextEdit.h [de1f76] .. [4fea5c] Maximize Restore

  Switch to side-by-side view

--- a/libs/textedit/include/gadgets/TextEdit.h
+++ b/libs/textedit/include/gadgets/TextEdit.h
@@ -11,7 +11,9 @@
 */
 
 #include <exec/nodes.h>
+#include <exec/lists.h>
 #include <utility/hooks.h>
+#include <graphics/rastport.h>
 
 /* attributes */
 
@@ -26,4 +28,21 @@
 #define EGA_Scroller       TAG_USER+60
 #define EGA_AutoIndent     TAG_USER+61
 
+
+struct EditGData
+{
+  APTR   ed_Pool;
+  STRPTR ed_Text;
+  long   ed_Size,ed_Pos,ed_MarkPos,ed_TextLines;
+  struct MinList ed_List;
+  struct MinNode *ed_Top;
+  UWORD  ed_LineHeight,ed_Spacing,ed_MinSpace,ed_MaxSpace,ed_CharWidth;
+  UWORD  ed_Width,ed_Lines,ed_MaxSpaces,ed_TabSpaces,ed_GadWidth;
+  UBYTE  ed_APen,ed_BPen,ed_BorderH,ed_BorderV;
+  UWORD  ed_Flags;
+  long   ed_FrameType;
+  struct Gadget *ed_Scroller;
+  UBYTE  ed_ClipUnit;
+};
+
 #endif   // GADGETS_TEXTEDIT_H