(DEFINE-FILE-INFO READTABLE "INTERLISP" PACKAGE "INTERLISP") (FILECREATED " 9-Sep-94 09:48:01" ("compiled on " {DSK}lispusers>EQUATIONS.;1) "28-Jul-94 17:28:46" bcompl'd in "Medley 25-Aug-94 ..." dated "25-Aug-94 10:02:49") (FILECREATED " 3-Mar-88 13:51:10" {ERINYES}LYRIC>EQUATIONS.;1 86057 changes to%: (FNS EQIO.Put EQIO.Get) previous date%: "27-May-87 11:20:49" |{IE:PARC:XEROX}LYRIC>LISPUSERS>EQUATIONS.;1|) EQIO.CreateFns :D8 NIL 9gggggggddggdd (54 IMAGEFNSCREATE) (46 NILL 41 EQIO.WhenDeleted 34 NILL 29 EQIO.ButtonEventIn 24 EQIO.Copy 19 EQIO.Get 14 EQIO.Put 9 EQIO.Imagebox 4 EQIO.Display) () EQIO.Create :D8 (P 0 obj I 3 objectProps I 2 fontSpec I 1 dataList I 0 kind) j@Ag ` ` C@g bHC BHgBd3 H(102 EQIO.EqnProperty 97 EQN.GetEqnFont 78 EQIO.AllProps 68 COPYALL 63 EQIO.GetInfo 46 IMAGEOBJCREATE 36 EQIO.CreateFns 24 IMAGEFNSP 12 BOUNDP) (87 fontSpec 58 objProps 41 EquationImageFns 30 EquationImageFns 19 EquationImageFns 7 EquationImageFns) () EQIO.Imagebox :D8 (P 0 spec I 1 imageStream I 0 eqnObj) @A H`A  (29 EQIO.GetBox 23 FS.Box 6 EQIO.Specify) (17 UnknownEquationData) () EQIO.Display :D8 (P 9 pos P 8 data P 7 desc P 6 i P 4 invertPiece P 3 spec P 2 curY P 1 curX P 0 editWindow I 1 imageStream I 0 eqnObj) hA hA @Ai @ Hd Kb@ kK # NMH@N _KN _(O$IOJOjOA OALN Nk^`AL h(153 FS.Display 132 FS.Display 120 MOVETO 91 EQIO.GetDataPosition 86 EQIO.GetDataSpec 76 EQIO.EqnData 58 EQIO.GetBox 51 EQIO.NumPieces 38 EQN.PieceNumber 27 EQN.ObjEditWindow 21 EQIO.Specify 13 DSPYPOSITION 6 DSPXPOSITION) (146 UnknownEquationData) () EQIO.ButtonEventIn :D8 (P 6 wholeEditFn P 5 piece# P 4 selectFn P 3 piece# P 2 underEdit P 1 CHOICEMENU P 0 editWindow I 7 button I 6 textStream I 5 window I 4 relY I 3 relX I 2 selection I 1 windowStream I 0 eqnObj) E oH @H Zl`ljjkj,l@`ljjkjl`ljjkjJE gGdg1I g`@ACD K@EK g>g8@ g L`\@kL]@EM g2@ g JE N@EGlNJg(259 EQN.AbortEdit 248 EQIO.GetInfo 238 EQIO.EqnType 223 EQN.StartEdit 194 EQIO.GetInfo 184 EQIO.EqnType 161 EQN.StartEdit 147 EQIO.Selection 130 MENU 112 SPAWN.MOUSE 101 EQN.AbortEdit 23 EQN.ResultObj 5 EQN.EditWindow) (280 CHANGED 243 wholeEditFn 229 CHANGED 204 EquationDefaultSelectFn 189 specialSelectFn 175 MIDDLE 167 CHANGED 135 EDIT 120 LEFT 106 CHANGED 74 \LASTKEYSTATE 53 \LASTKEYSTATE 32 \LASTKEYSTATE) ( 10 (create MENU CENTERFLG _ T ITEMS _ (QUOTE ((Select (QUOTE SELECT) "Select the image object") (Edit (QUOTE EDIT) "Edit selected piece of the equation"))))) EQIO.Copy :D8 (P 4 data P 0 dataList I 0 eqnObj) G@ @ @Hd\ JIh[I&Kh@ (68 EQIO.Create 63 EQIO.CopyList 58 EQIO.AllProps 33 FS.Copy 19 COPY 14 EQIO.EqnType 5 EQIO.EqnDataList) NIL () EQIO.CopyList :D8 (P 3 item I 0 list) 4@d3@ @@!@@d[ IHhZH&J(32 EQIO.CopyList 11 STRINGP) NIL () EQIO.Get :D8 (P 2 dataList P 1 kind P 0 *READTABLE* I 0 fileStream) ,o @ @ IJh@ (41 EQIO.Create 36 READ 24 FS.Get 18 READ 9 FIND-READTABLE) NIL ( 4 "INTERLISP") EQIO.Put :D8 (P 0 *READTABLE* I 1 fileStream I 0 eqnObj) 8o @ A @ A @ A (53 PRIN2 47 EQIO.CopyList 42 EQIO.AllProps 36 FS.Put 30 EQIO.EqnDataList 24 PRIN2 18 EQIO.EqnType 9 FIND-READTABLE) NIL ( 4 "INTERLISP") EQIO.WhenDeleted :D8 (P 0 editWindow I 1 window I 0 eqnObj) A @ H A h(23 EQN.AbortEdit 11 EQN.ValidEditWindow 5 EQN.EditWindow) NIL () EQIO.SelectRegion :D8 (P 0 dataSpec I 3 imageStream I 2 piece# I 1 data I 0 spec) 9@B !H 'Ad#C H JJIIIh(33 EQIO.GetDataPosition 27 FS.Box 15 EQIO.GetDataSelectRegion 6 EQIO.GetDataSpec) NIL () EQIO.Selection :D8 (P 4 region P 3 i P 1 piece# P 0 spec I 3 relY I 2 relX I 1 imageStream I 0 eqnObj) N@A HCH b@ kKJhH@K KA \Kk[BC K(72 INSIDEP 56 EQIO.SelectRegion 49 EQIO.EqnData 31 EQIO.NumPieces 19 EQIO.GetBox 6 EQIO.Specify) NIL () EQIO.DefaultSelectFn :D8 (P 1 menu P 0 type I 0 eqnObj) {@ Hg 0@g YJH@ @gI .Hg YH@ HgI Id (120 MENU 111 EQIO.TypeProp 98 EQIO.MakeSelectionMenu 93 EQIO.NumPieces 78 EQIO.TypeProp 65 EQIO.EqnProperty 52 EQIO.MakeSelectionMenu 47 EQIO.NumPieces 32 EQIO.EqnProperty 19 EQIO.GetInfo 5 EQIO.EqnType) (105 selectionMenu 84 MENU 73 selectionMenu 59 selectionMenu 38 MENU 27 selectionMenu 14 variable?) () EQIO.MakeSelectionMenu :D8 (P 8 name P 4 i P 0 pieceNames I 1 numPieces I 0 type) A3 Aj@g !`di doAkBLK*H_HOLhL_NOh^Lk\O&MdIdg dgjdndhdJ (28 EQIO.GetInfo) (124 DEFAULTMENUHELDFN 115 CLRPROMPT 36 |MENUTYPE#| 23 pieceNames) ( 48 "Eqn piece?") EQIO.EqnType :D8 (I 0 eqnObj) @g (10 IMAGEOBJPROP) (5 OBJECTDATUM) () EQIO.EqnDataList :D8 (I 0 eqnObj) @g (10 IMAGEOBJPROP) (5 OBJECTDATUM) () EQIO.SetDataList :D8 (I 1 newDataList I 0 eqnObj) @g@ A (18 IMAGEOBJPROP 11 EQIO.EqnType) (5 OBJECTDATUM) () EQIO.EqnData :D8 (I 1 piece# I 0 eqnObj) @ A (11 NTH 5 EQIO.EqnDataList) NIL () EQIO.EqnProperty :D8 (P 1 props P 0 eqn) `eHdljkag la'lj-kag IlalahYkagI hlala (92 LISTPUT 79 IMAGEOBJPROP 49 IMAGEOBJPROP 25 IMAGEOBJPROP) (73 props 44 props 20 props) () EQIO.AllProps :D8 (P 0 eqn) 1eHdkjkag ljkagla (46 IMAGEOBJPROP 23 IMAGEOBJPROP) (38 props 18 props) () EQIO.Specify :D8 (P 0 formFn I 2 draw? I 1 imageStream I 0 eqnObj) @ g H @ABlH(15 EQIO.GetInfo 5 EQIO.EqnType) (10 formFn) () EQIO.GetInitialProps :D8 (P 2 newProps P 1 initialPropFn P 0 props I 0 type) h@g @g I@kIZH9HJJ JZH"Hg'@g o@ HJX(96 ERROR 84 EQIO.GetInfo 54 LISTPUT 26 EQIO.GetInfo 15 COPY 10 EQIO.GetInfo) (79 variable? 70 numPieces 21 initialPropFn 5 objectProps) ( 90 "EQIO.GetInitialProps: can't specify numPieces for fixed size eqn type = ") EQIO.NumPieces :D8 (P 3 value P 2 type P 1 eqnObj P 0 eqn) seHjjka!I ZHkj*dg Ig [3 Jg Jg Igla I oJ (112 ERROR 100 EQIO.NewStructure 94 EQIO.EqnProperty 78 EQIO.GetInfo 66 EQIO.GetInfo 50 EQIO.EqnProperty 38 EQIO.GetInfo 19 EQIO.EqnType) (86 numPieces 73 variable? 61 numPieces 45 numPieces 33 variable?) ( 106 "EQIO.NumPieces: equation has fixed # of parts, type = ") EQIO.NewStructure :D8 (P 0 changeFn I 0 eqnObj) *@gh @ g H@kHh(27 EQIO.GetInfo 17 EQIO.EqnType 11 EQIO.EqnProperty) (22 changeFn 5 selectionMenu) () EQIO.AddType :D8 (P 0 newValue I 3 PROPS I 2 numPieces I 1 formFn I 0 type) IgAgBhC @gH @` @`@ (70 EQIO.ResetTypeProps 49 MEMB 37 PUTPROP 22 \APPEND2) (62 EquationInfo 56 EquationInfo 44 EquationInfo 31 equationInfo 10 numPieces 4 formFn) () EQIO.GetInfo :D8 (I 1 info I 0 type) @g A'(10 GETPROP) (5 equationInfo) () EQIO.SetInfo :D8 (P 0 spec I 2 newValue I 1 info I 0 type) A@ @g Ho@ AB @gH @ B(61 EQIO.ResetTypeProps 55 PUTPROP 43 LISTPUT 35 ERROR 18 GETPROP 5 EQIO.IsDefined) (49 equationInfo 13 equationInfo) ( 29 "EQIO.SetInfo: warning -- no specifications for eqn type = ") EQIO.TypeProp :D8 (P 1 list P 0 type) `eHdljkag la'lj-kag IlalahYkagI hlala (92 LISTPUT 79 PUTPROP 49 GETPROP 25 GETPROP) (73 equationProps 44 equationProps 20 equationProps) () EQIO.ResetTypeProps :D8 (I 0 type) h@gh (17 PUTPROP) (11 equationProps 5 EquationTypeMenu) () EQIO.IsDefined :D8 (L (0 type)) @` @(10 MEMB) (5 EquationInfo) () EQIO.GetBox :D8 (L (0 specification)) @NIL NIL () EQIO.GetDataSpec :D8 (I 1 piece# I 0 specification) @Ak (8 NTH) NIL () EQIO.GetDataSpecList :D8 (L (0 specification)) @NIL NIL () EQIO.GetDataPosition :D8 (L (0 dataSpec)) @NIL NIL () EQIO.GetDataSelectRegion :D8 (L (0 dataSpec)) @NIL NIL () EQIO.MakeSpec :D8 (L (1 dataSpecList 0 box)) @ANIL NIL () EQIO.MakeDataSpec :D8 (L (1 selectRegion 0 position)) @ANIL NIL () EQN.AbortEdit :D8 (P 0 editWindow I 0 mainWindow) "@ H Hh @ h(30 EQN.StopEdit 23 EQN.ContinueFlg 14 WINDOWP 5 EQN.EditWindow) NIL () EQN.StopEdit :D8 (P 0 editWindow I 0 mainWindow) -@ H H H H h(41 CLOSEW 34 TEDIT.QUIT 29 TEXTSTREAM 22 EQN.FinishEdit 14 WINDOWP 5 EQN.EditWindow) NIL () EQN.ContinueEdit :D8 (P 6 numPieces P 5 oldPiece# P 4 end P 3 increment P 2 newPiece# P 1 continueFlg P 0 process I 0 window) @ .HH @ @ "IdiJkԺiId3 :J@ MIN ZjJ J NhJMjh]>I[3 rKjMKK AI\3 L8JKԺLi0jKLJh%JLhId3@JkIZ3 oI h@ @ JIdg h(243 EQN.StartNextEdit 227 EQN.ResultWindow 221 EQN.ResultObj 211 ERROR 147 \FZEROP 106 \FZEROP 91 IMOD 79 EQIO.NumPieces 74 EQN.ResultObj 37 EQN.PieceNumber 31 EQN.ContinueFlg 23 TTY.PROCESS 10 \INSUREWINDOW 5 EQN.ResultWindow) (237 PENDINGDEL) ( 205 "EQN.ContinueEdit: Invalid value for continueFlg = ") EQN.FinishEdit :D8 (P 0 mainWindow I 0 window) 9@ @ h @ H@g Hh i(53 EQN.EditWindow 45 EQN.UpdateEdit 40 GETWINDOWUSERPROP 27 EQN.AbortEdit 20 EQN.ObjEditWindow 14 EQN.ResultObj 5 EQN.ResultWindow) (35 NOUPDATE) () EQN.MakeEditWindow :D8 (P 0 editWindow I 2 YSIZE I 1 XSIZE I 0 mainWindow) jd@ l lBi ohi H@ggg Hgg Hgg Hgg Hgg @gg H(148 WINDOWADDPROP 132 WINDOWADDPROP 116 WINDOWADDPROP 100 WINDOWDELPROP 84 WINDOWADDPROP 68 ATTACHWINDOW 42 CREATEW 30 CREATEREGION 24 HEIGHTIFWINDOW 7 \INSUREWINDOW) (143 EQN.SnuggleWindows 138 RESHAPEFN 127 EQN.SnuggleWindows 122 RESHAPEFN 111 SHAPEW 106 REJECTMAINCOMS 95 SHAPEW 90 PASSTOMAINCOMS 79 DETACHWINDOW 74 CLOSEFN 62 LOCALCLOSE 57 LEFT 52 BOTTOM) ( 35 "Eqn edit") EQN.SetUpEdit :D8 (I 4 piece# I 3 continueFlg I 2 eqnObj I 1 mainWindow I 0 editWindow) 5@A @B @C @D @go B@ (50 EQN.ObjEditWindow 43 PUTWINDOWPROP 27 EQN.PieceNumber 20 EQN.ContinueFlg 13 EQN.ResultObj 6 EQN.ResultWindow) (33 TEDIT.MENU.COMMANDS) ( 38 (Find Looks Substitute Character% Looks (Equation (QUOTE EQN.Equation)) (Exit (QUOTE Quit) "exit from equation editor" (SUBITEMS (Next% Piece (QUOTE EQN.NextPiece)) (Finish% Eqn (QUOTE EQN.FinishEqn)) (Abort (QUOTE EQN.NoUpdateAbort) "Terminates eqn editor without changing eqn."))))) EQN.StartEdit :D8 (P 6 $$PROPLST$$ P 5 $$TEXTOBJ$$ P 4 len P 3 box P 2 editStream P 1 editWindow P 0 data I 4 initialSEL I 3 continueFlg I 2 piece# I 1 mainWindow I 0 eqnObj) A BjB@ @B AHA [AKK YhIhogA Fg'A h IA@CB I ZHJ \DdgJkLgi !3 JDjg DJD AI A 0A MF^MgghFhgg (283 LISTPUT 231 TEXTOBJ 226 TEXTSTREAM 218 EQN.SubEditorP 212 EQN.EditWindow 204 TEDIT.SETSEL 189 TEDIT.SETSEL 171 TEDIT.SETSEL 144 FS.Insert 136 TEXTSTREAM 130 EQN.SetUpEdit 119 TEDIT 114 \APPEND2 106 GETPROMPTWINDOW 85 TEXTOBJ 80 TEXTSTREAM 60 EQN.MakeEditWindow 48 FS.Box 43 DECODE/WINDOW/OR/DISPLAYSTREAM 33 EQIO.EqnData 21 EQIO.NumPieces 5 EQN.AbortEdit) (278 EQN.AbortEdit 273 QUITFN 261 EQN.AbortEdit 256 QUITFN 251 TEXTOBJ 240 TEXTOBJ 196 SELECTION 184 RIGHT 164 RIGHT 152 PENDINGDEL 97 PROMPTWINDOW 90 TEXTOBJ 74 PROMPTWINDOW) ( 69 (QUITFN EQN.FinishEdit AFTERQUITFN EQN.ContinueEdit CHARFN EQN.CharFn)) EQN.StartNextEdit :D8 (I 4 initialSEL I 3 continueFlg I 2 newPiece# I 1 mainWindow I 0 eqnObj) @ABCD A @ (22 TEDIT.OBJECT.CHANGED 16 TEXTSTREAM 10 EQN.StartEdit) NIL () EQN.UpdateEdit :D8 (P 5 ptr P 4 piece# P 3 eqnObj P 2 datum P 1 value P 0 editWindow I 1 noChangeFLG I 0 mainWindow) p@ QH [H A>*<<") EQN.TEditSpecialChar :D8 (P 1 syntax P 0 table I 1 charcode I 0 textObj F 2 TEDIT.READTABLE) 1@ Fg' RAH ddgh(36 TEDIT.GETSYNTAX 23 READTABLEP 5 TEXTOBJ) (43 NONE 17 READTABLE 10 TEXTOBJ) () EQN.SnuggleWindows :D8 (I 0 window) @ @ (11 EQN.SnuggleMainWindow 5 REPOSITIONATTACHEDWINDOWS) NIL () EQN.SnuggleMainWindowA0001 :D8 (NAME SI::*UNWIND-PROTECT* I 0 SI::*CLEANUP-FORMS* F 0 region F 1 window F 2 SI::*RESETFORMS* F 3 mainW) 7gQoQgg hRcSPPP (52 MOVEW 28 WINDOWADDPROP) (23 MOVEW 18 REJECTMAINCOMS 4 WINDOWDELPROP) ( 10 (REJECTMAINCOMS MOVEW)) EQN.SnuggleMainWindow :D8 (P 4 RESETSTATE P 3 SI::*RESETFORMS* P 2 LISPXHIST P 1 region P 0 mainW I 0 window F 5 LISPXHIST) D@ H 3H@-@ YU!g $H h(63 EQN.SnuggleMainWindow 52 SI::RESETUNWIND 47 \MVLIST 42 EQN.SnuggleMainWindowA0001 27 WINDOWREGION 14 WINDOWP 5 MAINWINDOW) (37 SI::RESETUNWIND) () EQN.EquationFontNumber :D8 (P 2 i P 0 size I 0 fontSpec) `@ `b3 @g ` k2JI0`J g H LLMMJ[JkZK(74 ABS 67 FONTPROP 57 ELT 37 ARRAYSIZE 24 FONTPROP) (62 SIZE 51 EquationFontSpecs 32 EquationFontSpecs 19 SIZE 7 DEFAULTFONT) () EQN.EquationFont :D8 (I 0 n) -`d @dHHkHkH (42 COPY 37 ELT 10 ARRAYSIZE) (4 EquationFontSpecs) () EQN.GetEqnFont :D8 (I 0 fontSpec) @ (10 EQN.EquationFont 5 EQN.EquationFontNumber) NIL () EQN.MakeFS :D8 (I 1 fontSpec I 0 item) @ @h@A@ h(26 FS.MakeItem 21 MKSTRING 5 IMAGEOBJP) NIL () EQN.AdjustWindow :D8 (P 3 howAttached P 2 newHeight P 1 attachedWindows P 0 region I 2 dHeight I 1 dWidth I 0 editWindow) ^@ @ bl i HBԽ\MLMZ@HHJHl HA_^ONOJh h(90 SHAPEW 61 WIDTHIFWINDOW 24 HEIGHTIFWINDOW 13 ATTACHEDWINDOWS 5 \INSUREWINDOW) NIL () EQN.CheckWindowSize :D8 (P 3 extraHeight P 2 height P 1 box I 1 eqnObj I 0 window) T@ LAg A@ lH@g lIdnnJ[dj @jK h(80 EQN.AdjustWindow 45 GETWINDOWPROP 28 DECODE/WINDOW/OR/DISPLAYSTREAM 18 IMAGEOBJPROP 5 EQN.SubEditorP) (40 HEIGHT 13 IMAGEBOXFN) () EQN.SubEditorP :D8 (I 0 window) @ (5 EQN.ResultWindow) NIL () EQN.WindowFromText :D8 (P 0 w I 0 textObjORStream) .@ H H o@ (43 ERROR 30 WINDOWP 21 WINDOWP 5 TEXTOBJ) (10 TEXTOBJ) ( 37 "EQN.WindowFromText: unable to find window for textobj/stream = ") EQN.EditWindow :D8 (P 1 w P 0 window) ^eHdkj