home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / AppsToGo / AppsToGo.src / AppsToGo.Changes / DTS.Lib / TextEditControl.c.df < prev    next >
Encoding:
Text File  |  1993-06-18  |  15.5 KB  |  448 lines  |  [TEXT/MPS ]

  1. File #1: b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c
  2. File #2: a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c
  3.  
  4. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 9; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 9)
  5. ** Copyright © 1990-1991 Apple Computer, Inc.
  6.  
  7. ** Copyright © 1990-1993 Apple Computer, Inc.
  8.  
  9.  
  10. Extra lines in 2nd before 13 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line Δ13; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 13:20)
  11. /* You may incorporate this sample code into your applications without
  12. ** restriction, though the sample code has been provided "AS IS" and the
  13. ** responsibility for its operation is 100% yours.  However, what you are
  14. ** not permitted to do is to redistribute the source as "DSC Sample Code"
  15. ** after having made changes. If you're going to re-distribute the source,
  16. ** we require that you make it clear in the source that the code was
  17. ** descended from Apple Sample Code, but that you've made changes. */
  18.  
  19.  
  20.  
  21. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 155:156; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 163:164)
  22. #ifndef __MEMORY__
  23. #include <Memory.h>
  24.  
  25. #ifndef __GESTALTEQU__
  26. #include <GestaltEqu.h>
  27.  
  28.  
  29. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 159:160; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 167:168)
  30. #ifndef __MENUS__
  31. #include <Menus.h>
  32.  
  33. #ifndef __MEMORY__
  34. #include <Memory.h>
  35.  
  36.  
  37. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 163:164; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 171:172)
  38. #ifndef __OSEVENTS__
  39. #include <OSEvents.h>
  40.  
  41. #ifndef __MENUS__
  42. #include <Menus.h>
  43.  
  44.  
  45. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 167:168; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 175:176)
  46. #ifndef __OSUTILS__
  47. #include <OSUtils.h>
  48.  
  49. #ifndef __OSEVENTS__
  50. #include <OSEvents.h>
  51.  
  52.  
  53. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 171:172; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 179:180)
  54. #ifndef __RESOURCES__
  55. #include <Resources.h>
  56.  
  57. #ifndef __OSUTILS__
  58. #include <OSUtils.h>
  59.  
  60.  
  61. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 175:176; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 183:184)
  62. #ifndef __SCRAP__
  63. #include <Scrap.h>
  64.  
  65. #ifndef __RESOURCES__
  66. #include <Resources.h>
  67.  
  68.  
  69. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 179:180; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 187:188)
  70. #ifndef __SCRIPT__
  71. #include <Script.h>
  72.  
  73. #ifndef __SCRAP__
  74. #include <Scrap.h>
  75.  
  76.  
  77. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 183:184; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 191:192)
  78. #ifndef __UTILITIES__
  79. #include "Utilities.h"
  80.  
  81. #ifndef __SCRIPT__
  82. #include <Script.h>
  83.  
  84.  
  85. Extra lines in 2nd before 187 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line Δ187; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 195:206)
  86. #ifndef __TEXTSERVICES__
  87. #include <TextServices.h>
  88. #endif
  89.  
  90. #ifndef __TSMTE__
  91. #include "TSMTE.h"
  92. #endif
  93.  
  94. #ifndef __UTILITIES__
  95. #include "Utilities.h"
  96. #endif
  97.  
  98.  
  99.  
  100. Extra lines in 2nd before 215 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line Δ215; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 235:236)
  101. static pascal void        TSMTEUpdateProc(TEHandle te, long fixLen, long inputAreaStart,
  102.                                         long inputAreaEnd, long pinStart, long pinEnd, long refCon);
  103.  
  104.  
  105. Extra lines in 2nd before 330 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line Δ330; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 352:355)
  106.     teData = nil;
  107.     if (viewCtl = CTEViewFromTE(teHndl))
  108.         teData = (CTEDataHndl)(*viewCtl)->contrlData;
  109.  
  110.  
  111.  
  112. Extra lines in 2nd before 333 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line Δ333; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 359:360)
  113.         if(TSMTEAvailable())
  114.             DeactivateTSMDocument((*teData)->docID);
  115.  
  116.  
  117. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 336:337; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 364:365)
  118.         viewCtl = CTEViewFromTE(teHndl);
  119.         CTEUpdate(teHndl, viewCtl, true);
  120.  
  121.         if (viewCtl)
  122.             CTEUpdate(teHndl, viewCtl, true);
  123.  
  124.  
  125. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 342:344; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 370:371)
  126.     if (!(viewCtl = CTEViewFromTE(teHndl))) return;
  127.  
  128.     teData = (CTEDataHndl)(*viewCtl)->contrlData;
  129.  
  130.     if (!viewCtl) return;
  131.  
  132.  
  133.  
  134. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 348; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 375:379)
  135.     TEActivate(gActiveTEHndl = teHndl);
  136.  
  137.  
  138.     if(TSMTEAvailable())
  139.         ActivateTSMDocument((*teData)->docID);
  140.     TEActivate(gActiveTEHndl = teHndl);
  141.  
  142.  
  143.  
  144. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 429:434; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 460:468)
  145.         TEClick(mouseLoc, extendSelect, te);
  146.             /* Do the extend-select thing.  Most of the work is handled by
  147.             ** TextEdit.  The only thing we have to do is to update the
  148.             ** scrollbars while the user is extending the select.  This is
  149.             ** taken care of by our custom clikLoop procedure.
  150.             */
  151.  
  152.             if (TSMTEAvailable()) {
  153.                 if (!TSMEvent(event))
  154.                     TEClick(mouseLoc, extendSelect, te);
  155.             }
  156.             else TEClick(mouseLoc, extendSelect, te);
  157.                 /* Do the extend-select thing.  Most of the work is handled by
  158.                 ** TextEdit.  The only thing we have to do is to update the
  159.                 ** scrollbars while the user is extending the select.  This is
  160.                 ** taken care of by our custom clikLoop procedure. */
  161.  
  162.  
  163. Extra lines in 2nd before 700 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line Δ700; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 734)
  164.     TSMDocumentID    docID;
  165.  
  166.  
  167. Extra lines in 2nd before 740 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line Δ740; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 775:776)
  168.                     if (docID = (*teData)->docID)
  169.                         DeleteTSMDocument(docID);
  170.  
  171.  
  172. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 1182; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 1219)
  173.     Boolean                looping, refig;
  174.  
  175.     Boolean                looping, refig, tsmHandled;
  176.  
  177.  
  178. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 1270:1279; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 1307:1323)
  179.             if (arrowKey) {
  180.                 (*teData)->newUndo = true;
  181.                 TEKey(key, te);
  182.             }
  183.             else {
  184.                 CTENewUndo(viewCtl, false);        /* Process the character... */
  185.                 TEKey(key, te);
  186.                 retval = 2;
  187.             }
  188.  
  189.  
  190.             tsmHandled = false;
  191.             if (TSMTEAvailable()) {
  192.                 if (tsmHandled = TSMEvent(event))
  193.                     if (!arrowKey)
  194.                         retval = 2;
  195.             }
  196.             if (!tsmHandled) {
  197.                 if (arrowKey) {
  198.                     (*teData)->newUndo = true;
  199.                     TEKey(key, te);
  200.                 }
  201.                 else {
  202.                     CTENewUndo(viewCtl, false);        /* Process the character... */
  203.                     TEKey(key, te);
  204.                     retval = 2;
  205.                 }
  206.             }
  207.  
  208.  
  209. Extra lines in 2nd before 1403 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line Δ1403; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 1447:1449)
  210.     TSMDocumentID    docID;
  211.     TSMTERecHandle    tsmRec;
  212.     static OSType    supportedInterfaceTypes[] = {kTSMTEInterfaceType};
  213.  
  214.  
  215. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 1418:1419; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 1465)
  216.     te = TEStylNew(&destRct, &viewRct);
  217.         /* Do the main thing. */
  218.  
  219.     te = TEStylNew(&destRct, &viewRct);            /* Do the main thing. */
  220.  
  221.  
  222. Extra lines in 2nd before 1425 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line Δ1425; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 1471:1472)
  223.     docID = nil;
  224.  
  225.  
  226.  
  227. Extra lines in 2nd before 1427 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line Δ1427; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 1475:1484)
  228.         if(TSMTEAvailable()) {
  229.             if (!(err = NewTSMDocument(1, supportedInterfaceTypes, &docID, (long)&tsmRec))) {
  230.                 (*tsmRec)->textH           = te;
  231.                 (*tsmRec)->preUpdateProc  = nil;
  232.                 (*tsmRec)->postUpdateProc = (TSMPostUpdateProcPtr)&TSMTEUpdateProc;
  233.                 (*tsmRec)->updateFlag     = 0;
  234.                 (*tsmRec)->refCon         = 0;
  235.             }
  236.         }
  237.  
  238.  
  239.  
  240. Extra lines in 2nd before 1502 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line Δ1502; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 1560)
  241.                 (*teData)->docID        = docID;
  242.  
  243.  
  244. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 1504; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 1563:1567)
  245.             else err = memFullErr;
  246.  
  247.             else {
  248.                 err = memFullErr;
  249.                 if (docID)
  250.                     DeleteTSMDocument(docID);
  251.             }
  252.  
  253.  
  254. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 1863; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 1926)
  255.     if ((*teHndl)->caretHook == ASMNOCARET) return(true);
  256.  
  257.     if ((*teHndl)->caretHook == (ProcPtr)ASMNOCARET) return(true);
  258.  
  259.  
  260. Extra lines in 1st before 2706 in 2nd (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 2643; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line Δ2706)
  261. /*****************************************************************************/
  262.  
  263.  
  264. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 2648:2683; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 2710:2743)
  265. static pascal void    VActionProc(ControlHandle scrollCtl, short part)
  266. {
  267.     short        delta, value, teOffset;
  268.     short        oldValue, max;
  269.     TEHandle    te;
  270.     
  271.     if (part) {                        /* If it was actually in the control. */
  272.  
  273.         te = gActiveTEHndl;
  274.         switch (part) {
  275.             case inUpButton:
  276.             case inDownButton:        /* One line. */
  277.                 delta = 16;
  278.                 break;
  279.             case inPageUp:            /* One page. */
  280.             case inPageDown:
  281.                 delta = (*te)->viewRect.bottom - (*te)->viewRect.top;
  282.                 if (delta > 16)
  283.                     delta -= 16;
  284.                 break;
  285.         }
  286.         if ( (part == inUpButton) || (part == inPageUp) )
  287.             delta = -delta;        /* Reverse direction for an upper. */
  288.  
  289.         value = (oldValue = GetCtlValue(scrollCtl)) + delta;
  290.         if (value < 0)
  291.             value = 0;
  292.         if (value > (max = GetCtlMax(scrollCtl)))
  293.             value = max;
  294.  
  295.         if (value != oldValue) {
  296.             SetCtlValue(scrollCtl, value);
  297.             teOffset = (*te)->viewRect.top - (*te)->destRect.top;
  298.             if (value -= teOffset)
  299.                 TEScroll(0, -value, te);
  300.         }
  301.  
  302. void    CTEGetPStr(ControlHandle ctl, StringPtr pstr)
  303. {
  304.     TEHandle        te;
  305.     unsigned short    len;
  306.  
  307.     if (!ctl) return;
  308.     te = (TEHandle)GetCRefCon(ctl);
  309.     if (!te) return;
  310.  
  311.     len = (*te)->teLength;
  312.     if (len > 255) len = 255;
  313.  
  314.     BlockMove(*(*te)->hText, pstr + 1, *pstr = len);
  315. }
  316.  
  317.  
  318.  
  319. /*****************************************************************************/
  320.  
  321.  
  322.  
  323. #pragma segment Controls
  324. void    CTESetPStr(ControlHandle ctl, StringPtr pstr)
  325. {
  326.     TEHandle    te;
  327.     Handle        h;
  328.  
  329.     if (!ctl) return;
  330.     te = (TEHandle)GetCRefCon(ctl);
  331.     if (!te) return;
  332.  
  333.     if (h = NewHandle(pstr[0])) {
  334.         BlockMove(pstr + 1, *h, pstr[0]);
  335.         DisposeHandle(CTESwapText(te, h, nil, true));
  336.  
  337.  
  338. Extra lines in 2nd before 2690 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line Δ2690; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 2750)
  339. /*****************************************************************************/
  340.  
  341.  
  342. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 2694; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 2755)
  343. static pascal void    HActionProc(ControlHandle scrollCtl, short part)
  344.  
  345. static pascal void    VActionProc(ControlHandle scrollCtl, short part)
  346.  
  347.  
  348. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 2710; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 2771)
  349.                 delta = (*te)->viewRect.right - (*te)->viewRect.left;
  350.  
  351.                 delta = (*te)->viewRect.bottom - (*te)->viewRect.top;
  352.  
  353.  
  354. Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 2726:2728; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 2787:2789)
  355.             teOffset = (*te)->viewRect.left - (*te)->destRect.left;
  356.             if (value -= teOffset)
  357.                 TEScroll(-value, 0, te);
  358.  
  359.             teOffset = (*te)->viewRect.top - (*te)->destRect.top;
  360.             if (value -= teOffset)
  361.                 TEScroll(0, -value, te);
  362.  
  363.  
  364. Extra lines in 2nd before 2739 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line Δ2739; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 2800:2845)
  365. #pragma segment Controls
  366. static pascal void    HActionProc(ControlHandle scrollCtl, short part)
  367. {
  368.     short        delta, value, teOffset;
  369.     short        oldValue, max;
  370.     TEHandle    te;
  371.     
  372.     if (part) {                        /* If it was actually in the control. */
  373.  
  374.         te = gActiveTEHndl;
  375.         switch (part) {
  376.             case inUpButton:
  377.             case inDownButton:        /* One line. */
  378.                 delta = 16;
  379.                 break;
  380.             case inPageUp:            /* One page. */
  381.             case inPageDown:
  382.                 delta = (*te)->viewRect.right - (*te)->viewRect.left;
  383.                 if (delta > 16)
  384.                     delta -= 16;
  385.                 break;
  386.         }
  387.         if ( (part == inUpButton) || (part == inPageUp) )
  388.             delta = -delta;        /* Reverse direction for an upper. */
  389.  
  390.         value = (oldValue = GetCtlValue(scrollCtl)) + delta;
  391.         if (value < 0)
  392.             value = 0;
  393.         if (value > (max = GetCtlMax(scrollCtl)))
  394.             value = max;
  395.  
  396.         if (value != oldValue) {
  397.             SetCtlValue(scrollCtl, value);
  398.             teOffset = (*te)->viewRect.left - (*te)->destRect.left;
  399.             if (value -= teOffset)
  400.                 TEScroll(-value, 0, te);
  401.         }
  402.     }
  403. }
  404.  
  405.  
  406.  
  407. /*****************************************************************************/
  408.  
  409.  
  410.  
  411.  
  412.  
  413. Extra lines in 2nd file (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Lib:TextEditControl.c"; Line 2791Δ; File "a:Desktop Folder:AppsToGo.src:DTS.Lib:TextEditControl.c"; Line 2899:2930)
  414. /*****************************************************************************/
  415.  
  416.  
  417.  
  418. #pragma segment Controls
  419. Boolean    TSMTEAvailable(void)
  420. {
  421.     long    response;
  422.     
  423.     if (Gestalt(kTSMTESignature, &response)) return(false);
  424.  
  425.     return((response & (1 << gestaltTSMTE)) != 0);
  426. }
  427.  
  428.  
  429.  
  430. /*****************************************************************************/
  431.  
  432.  
  433.  
  434. #pragma segment Controls
  435. static pascal void        TSMTEUpdateProc(TEHandle te, long fixLen, long inputAreaStart,
  436.                                         long inputAreaEnd, long pinStart, long pinEnd, long refCon)
  437. {
  438. #pragma unused (fixLen, inputAreaStart, inputAreaEnd, pinStart, pinEnd, refCon)
  439.  
  440.     CTEAdjustTEBottom(te);
  441.     CTEAdjustScrollValues(te);
  442. }
  443.  
  444.  
  445.  
  446.  
  447. *** EOF on both files ***
  448.