opops.c File Reference

#include "frontier.h"
#include "standard.h"
#include "memory.h"
#include "strings.h"
#include "quickdraw.h"
#include "bitmaps.h"
#include "ops.h"
#include "smallicon.h"
#include "scrap.h"
#include "op.h"
#include "opinternal.h"
#include "font.h"
#include "search.h"
#include "timedate.h"
#include "process.h"

Include dependency graph for opops.c:

Go to the source code of this file.

Data Structures

struct  tyscanrecord

Typedefs

typedef tyscanrecordptrscanrecord

Functions

hdloutlinerecord opsetoutline (hdloutlinerecord houtline)
boolean oppushoutline (hdloutlinerecord houtline)
boolean oppopoutline (void)
boolean oppushglobals (void)
boolean oppopglobals (void)
boolean opfirstinlist (hdlheadrecord hnode)
boolean oplastinlist (hdlheadrecord hnode)
boolean opnosubheads (hdlheadrecord hnode)
boolean ophassubheads (hdlheadrecord hnode)
boolean opislastsubhead (hdlheadrecord hnode)
boolean opsubheadsexpanded (hdlheadrecord hnode)
boolean opsubordinateto (hdlheadrecord h1, hdlheadrecord h2)
boolean opnestedincomment (hdlheadrecord hnode)
hdlheadrecord opgetancestor (hdlheadrecord hnode, short level)
hdlheadrecord opgetlastsubhead (hdlheadrecord hnode)
hdlheadrecord opnthsubhead (hdlheadrecord hnode, long n)
boolean opnthsummit (long n, hdlheadrecord *hsummit)
static boolean opgetnthnodevisit (hdlheadrecord hnode, ptrvoid refcon)
boolean opgetnthnode (long lnum, hdlheadrecord *hnode)
boolean oparrayreference (long ix, hdlheadrecord *hnode)
hdlheadrecord oplastexpanded (hdlheadrecord hnode)
hdlheadrecord oplastexpandedatlevel (hdlheadrecord hnode, short level)
boolean opchaseup (hdlheadrecord *hnode)
boolean opchasedown (hdlheadrecord *hnode)
boolean opchaseleft (hdlheadrecord *hnode)
boolean opchaseright (hdlheadrecord *hnode)
void opsummitof (hdlheadrecord hnode, hdlheadrecord *hsummit)
void opgetsiblingnumber (hdlheadrecord hnode, long *siblingnumber)
hdlheadrecord opgetnextexpanded (hdlheadrecord hnode)
hdlheadrecord opbumpflatdown (hdlheadrecord hnode, boolean flexpanded)
hdlheadrecord opbumpflatup (hdlheadrecord hnode, boolean flexpanded)
hdlheadrecord oprepeatedbump (tydirection dir, long ctbumps, hdlheadrecord hstart, boolean flexpanded)
boolean opnavigate (tydirection dir, hdlheadrecord *hnode)
boolean opfindhead (hdlheadrecord hfirst, bigstring bs, hdlheadrecord *hnode)
boolean opbestfind (hdlheadrecord hfirst, bigstring bs, hdlheadrecord *hnode)
long opcountatlevel (hdlheadrecord hnode)
hdlheadrecord op1stsibling (hdlheadrecord hnode)
long opcountsubs (hdlheadrecord hnode)
long opsetctexpanded (hdloutlinerecord ho)
void opsetexpandedbits (hdlheadrecord hsummit, boolean fl)
static boolean opcontainsvisit (hdlheadrecord hnode, ptrvoid refcon)
boolean opcontainsnode (hdlheadrecord hlookunder, hdlheadrecord hlookfor)
void opgetnodeline (hdlheadrecord hnode, long *lnum)
boolean opnewheadrecord (Handle hstring, hdlheadrecord *hnewnode)
boolean opnewstructure (Handle hstring, hdlheadrecord *hsummit)
boolean opreleasevisit (hdlheadrecord hnode, ptrvoid refcon)
void opreleasenode (hdlheadrecord hnode, boolean fldisk)
static boolean opreleaserefconvisit (hdlheadrecord hnode, ptrvoid refcon)
static boolean opresetalllevelsvisit (hdlheadrecord hnode, ptrvoid toplevel)
boolean opsetsummit (hdloutlinerecord houtline, hdlheadrecord hnode)
boolean opnewsummit (void)
boolean optexttooutline (hdloutlinerecord houtline, Handle htext, hdlheadrecord *hnode)
boolean newoutlinerecord (hdloutlinerecord *houtline)
boolean opnewrecord (Rect r, hdloutlinerecord *hnew)
void opdisposestructure (hdlheadrecord hnode, boolean fldisk)
static void opdisposerefcons (hdloutlinerecord ho)
void opdisposeoutline (hdloutlinerecord houtline, boolean fldisk)
hdlheadrecord opfirstatlevel (hdlheadrecord hnode)
static boolean opcountvisit (hdlheadrecord hnode, ptrvoid refcon)
long opcountsubheads (hdlheadrecord hnode, short level)
long opcountheads (void)
static boolean opnotinoutlinevisit (hdlheadrecord hnode, ptrvoid refcon)
boolean opnodeinoutline (hdlheadrecord hnode)
static boolean opresetlevelsvisit (hdlheadrecord hnode, ptrvoid refcon)
void opresetlevels (hdlheadrecord hnode)
void oppushstyle (hdloutlinerecord ho)
void oppushcolors (hdloutlinerecord ho)
boolean opsetactualheadstring (hdlheadrecord hnode, bigstring newstring)
boolean opsetheadtext (hdlheadrecord hnode, Handle hstring)
boolean opsetheadstring (hdlheadrecord hnode, bigstring bs)
boolean opsetcursorlinetext (bigstring bs)
boolean opgetheadstring (hdlheadrecord hnode, bigstring bs)
void opgetsortstring (hdlheadrecord hnode, bigstring bs)
void opcopyformatting (hdloutlinerecord hsource, hdloutlinerecord hdest)

Variables

short topoutlinestack = 0
hdloutlinerecord outlinestack [ctoutlinestack]


Typedef Documentation

typedef struct tyscanrecord * ptrscanrecord
 


Function Documentation

boolean newoutlinerecord hdloutlinerecord houtline  ) 
 

Definition at line 1328 of file opops.c.

References blackcolor, tyconfigrecord::defaultfont, tyconfigrecord::defaultsize, tyconfigrecord::defaultstyle, tyconfigrecord::defaultwindowrect, disposehandle(), fl, idoutlineconfig, newclearhandle(), nil, oneandalittlespaced, opinitcallbacks(), opnewsummit(), oppopoutline(), oppushoutline(), opscraptype, shellgetconfig(), timenow(), and whitecolor.

Referenced by addmenucommandverb(), browsernewwindow(), menewmenurecord(), opnewlist(), opnewrecord(), opsetscrap(), opunpack(), opverbnew(), and tablenewoutlinerecord().

Here is the call graph for this function:

hdlheadrecord op1stsibling hdlheadrecord  hnode  ) 
 

Definition at line 992 of file opops.c.

References hnode, and opchaseup().

Referenced by opbestfind(), opfindhead(), and opmarklevel().

Here is the call graph for this function:

boolean oparrayreference long  ix,
hdlheadrecord hnode
 

Definition at line 424 of file opops.c.

References hnode, and opnthsummit().

Referenced by opverbarrayreference().

Here is the call graph for this function:

boolean opbestfind hdlheadrecord  hfirst,
bigstring  bs,
hdlheadrecord hnode
 

Definition at line 898 of file opops.c.

References alllower(), bigstring, comparestrings(), copystring(), tyheadrecord::headlinkdown, hnode, nil, op1stsibling(), and opgetheadstring().

Here is the call graph for this function:

hdlheadrecord opbumpflatdown hdlheadrecord  hnode,
boolean  flexpanded
 

Definition at line 624 of file opops.c.

References hcheck, tyheadrecord::headlinkdown, tyheadrecord::headlinkleft, hnode, and opgetnextexpanded().

Referenced by opflatfind(), opgetexpansionstatevisit(), opgetpagecount(), oprepeatedbump(), opsetexpansionstateverb(), opsetscrollstateverb(), opvertscrollrecord(), and opxmlbodyvisit().

Here is the call graph for this function:

hdlheadrecord opbumpflatup hdlheadrecord  hnode,
boolean  flexpanded
 

Definition at line 664 of file opops.c.

References hnode, opgetlastsubhead(), and oplastexpanded().

Referenced by getdownpagescrolllines(), opgetlinestoscrolldownforvisi(), opgetnodeline(), opgetscreenline(), opgetscrollstateverb(), opmovecursor(), oprepeatedbump(), opsumprevlineheights(), opupdatehotspot(), and opvertscrollrecord().

Here is the call graph for this function:

boolean opchasedown hdlheadrecord hnode  ) 
 

Definition at line 498 of file opops.c.

References h, tyheadrecord::headlinkdown, hnode, and nil.

Referenced by browserdeletedummyvalues(), browserexpand(), browserfindinsertionpoint(), browserpredrag(), browsersetscrap(), initializetableoutline(), opcollapseall(), opcountatlevel(), opcountheads(), opdeletelistnode(), opgetlistnode(), opmarklevel(), opvalidate(), and tableupdateoutlinesort().

boolean opchaseleft hdlheadrecord hnode  ) 
 

Definition at line 517 of file opops.c.

References h, tyheadrecord::headlinkleft, hnode, and nil.

Referenced by browserpredrag(), opancestormarked(), opchecksafenode(), and opsummitof().

boolean opchaseright hdlheadrecord hnode  ) 
 

Definition at line 536 of file opops.c.

References h, tyheadrecord::headlinkright, hnode, and nil.

Referenced by browserfindinsertionpoint().

boolean opchaseup hdlheadrecord hnode  ) 
 

Definition at line 479 of file opops.c.

References h, tyheadrecord::headlinkup, hnode, and nil.

Referenced by browserpredrag(), op1stsibling(), opcountatlevel(), opdeletelistnode(), and opgetsiblingnumber().

boolean opcontainsnode hdlheadrecord  hlookunder,
hdlheadrecord  hlookfor
 

Definition at line 1093 of file opops.c.

References tyscanrecord::flfoundit, tyscanrecord::hnodelookfor, opcontainsvisit(), and opsiblingvisiter().

Referenced by opexpandto(), and oppushhoist().

Here is the call graph for this function:

static boolean opcontainsvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1078 of file opops.c.

References tyscanrecord::flfoundit, and hnode.

Referenced by opcontainsnode().

void opcopyformatting hdloutlinerecord  hsource,
hdloutlinerecord  hdest
 

Definition at line 1794 of file opops.c.

References tyoutlinerecord::fontnum.

Referenced by menuverbnew(), opsetscrap(), and opverbnew().

long opcountatlevel hdlheadrecord  hnode  ) 
 

Definition at line 960 of file opops.c.

References ct, hnode, nil, opchasedown(), and opchaseup().

Referenced by browserinsertagain(), opcountsubs(), opfunctionvalue(), opsortlevel(), opunpacklist(), and tableexportscrap().

Here is the call graph for this function:

long opcountheads void   ) 
 

Definition at line 1594 of file opops.c.

References ct, infinity, opchasedown(), and opcountsubheads().

Referenced by menuverbgetsize(), and opverbgetsize().

Here is the call graph for this function:

long opcountsubheads hdlheadrecord  hnode,
short  level
 

Definition at line 1584 of file opops.c.

References hnode, opcountvisit(), and oprecursivelyvisit().

Referenced by opcountheads(), and opfunctionvalue().

Here is the call graph for this function:

long opcountsubs hdlheadrecord  hnode  ) 
 

Definition at line 1000 of file opops.c.

References hnode, and opcountatlevel().

Here is the call graph for this function:

static boolean opcountvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1575 of file opops.c.

Referenced by opcountsubheads().

void opdisposeoutline hdloutlinerecord  houtline,
boolean  fldisk
 

Definition at line 1499 of file opops.c.

References disposehandle(), nil, opdisposerefcons(), opdisposestructure(), opeditdispose(), oppophoist(), oppopoutline(), oppushoutline(), and outlinedata.

Here is the call graph for this function:

static void opdisposerefcons hdloutlinerecord  ho  )  [static]
 

Definition at line 1483 of file opops.c.

References nil, opdisabledisplay(), oppopallhoists(), oppopoutline(), oppushoutline(), opreleaserefconvisit(), oprestorehoists(), and opsiblingvisiter().

Referenced by opdisposeoutline().

Here is the call graph for this function:

void opdisposestructure hdlheadrecord  hnode,
boolean  fldisk
 

Definition at line 1466 of file opops.c.

References hnode, opreleasevisit(), and opsiblingvisiter().

Referenced by initializetableoutline(), opcopy(), opcopyoutline(), opcopysiblings(), opdisposenode(), opdisposeoutline(), opinserthandle(), opinsertoutlineverb(), opredocopy(), optextscraptooutline(), and opunpacktexttooutline().

Here is the call graph for this function:

boolean opfindhead hdlheadrecord  hfirst,
bigstring  bs,
hdlheadrecord hnode
 

Definition at line 856 of file opops.c.

References alllower(), bigstring, copystring(), equalstrings(), tyheadrecord::headlinkdown, hnode, nil, and opgetheadstring().

Referenced by browserfindinsertionpoint(), browserselectfile(), duplicateexpansionvisit(), opnavigationkey(), and tableupdateoutlinesort().

Here is the call graph for this function:

hdlheadrecord opfirstatlevel hdlheadrecord  hnode  ) 
 

Definition at line 1550 of file opops.c.

References h, tyheadrecord::headlinkup, hnode, and nil.

Referenced by opmaxlevelwidth(), and validatemovevisit().

boolean opfirstinlist hdlheadrecord  hnode  ) 
 

Definition at line 164 of file opops.c.

References hnode.

Referenced by opdepositup(), and opupdatehotspot().

hdlheadrecord opgetancestor hdlheadrecord  hnode,
short  level
 

Definition at line 266 of file opops.c.

References hnode, and nil.

Referenced by opupdatehotspot().

boolean opgetheadstring hdlheadrecord  hnode,
bigstring  bs
 

Definition at line 1774 of file opops.c.

References hnode, nil, setstringlength, and texthandletostring().

Referenced by addmenucommandverb(), browsercollisiondialog(), browserfindinsertionpoint(), browserinsertagain(), browsermoveto(), browsersortfolder(), browsertextchanged(), claygetfilespec(), claypostdrawline(), clayrenamefile(), collisionvisit(), compareforcopyvisit(), duplicateexpansionvisit(), equalheadstrings(), findheadlinevisit(), medrawlineroutine(), mefillcmdkeypopup(), mefindusedblocksvisit(), opbestfind(), opfindhead(), opgetlisthandle(), opgetlistnode(), opgetsortstring(), opmeasuretext(), opsetheadtext(), opverbruncursor(), opvisitlist(), safedragvisit(), scriptgetlevelname(), tablegetcellstring(), tablesetitemname(), tablesymbolchangedvisit(), tablesymboldeletedvisit(), and tablesymbolzoomvisit().

Here is the call graph for this function:

hdlheadrecord opgetlastsubhead hdlheadrecord  hnode  ) 
 

Definition at line 292 of file opops.c.

References tyheadrecord::headlinkdown, tyheadrecord::headlinkright, and hnode.

Referenced by browsercalcinsertionpoint(), opbumpflatup(), oplastexpanded(), oplastexpandedatlevel(), opmoveoutlineright(), opmovetohotspot(), and oppromote().

hdlheadrecord opgetnextexpanded hdlheadrecord  hnode  ) 
 

Definition at line 579 of file opops.c.

References hcheck, tyheadrecord::headlinkleft, and hnode.

Referenced by opbumpflatdown(), opcollapse(), opgetcurrentscreenlines(), opgetlastvisiblenode(), opgetlinestoscrollupforvisi(), opgetscreenline(), opmovecursor(), opnewscreenmap(), oppointnode(), opsetctexpanded(), opsetscrollpositiontoline1(), opsumalllineheights(), and opupdate().

void opgetnodeline hdlheadrecord  hnode,
long lnum
 

Definition at line 1116 of file opops.c.

References ct, hnode, and opbumpflatup().

Referenced by initializetableoutline(), mesavemenurecord(), opcopyoutlinerecord(), oppack(), opverbnew(), and tabledisposeoutline().

Here is the call graph for this function:

boolean opgetnthnode long  lnum,
hdlheadrecord hnode
 

Definition at line 400 of file opops.c.

References hnode, tyscanrecord::hnodecurrent, tyscanrecord::lnumcurrent, tyscanrecord::lnumlookfor, opgetnthnodevisit(), and opsiblingvisiter().

Referenced by scriptdebugger().

Here is the call graph for this function:

static boolean opgetnthnodevisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 383 of file opops.c.

References hnode, and tyscanrecord::hnodecurrent.

Referenced by opgetnthnode().

void opgetsiblingnumber hdlheadrecord  hnode,
long siblingnumber
 

Definition at line 563 of file opops.c.

References ct, hnode, and opchaseup().

Referenced by opgetheadnumberverb().

Here is the call graph for this function:

void opgetsortstring hdlheadrecord  hnode,
bigstring  bs
 

Definition at line 1785 of file opops.c.

References alllower(), tysearchparameters::flunicase, hnode, opgetheadstring(), and searchparams.

Referenced by opsortlevel().

Here is the call graph for this function:

boolean ophassubheads hdlheadrecord  hnode  ) 
 

Definition at line 187 of file opops.c.

References hnode.

Referenced by addmenucommandverb(), deletemenucommandverb(), mecheckformulas(), meicon2click(), meinsertmenuitem(), memenuitemadded(), meshouldhavemenu(), opdeletesubs(), opgetheadicon(), opmovetohotspot(), oppopupinsertmenuitem(), oppromote(), and opvisisubheads().

boolean opislastsubhead hdlheadrecord  hnode  ) 
 

Definition at line 201 of file opops.c.

References hnode.

Referenced by dockmenubuildpopupmenu(), meactivatemenus(), mebuildmenu(), mebuildmenubar(), and opbuildpopupmenu().

hdlheadrecord oplastexpanded hdlheadrecord  hnode  ) 
 

Definition at line 434 of file opops.c.

References h, hnode, opgetlastsubhead(), and opsubheadsexpanded().

Referenced by opbumpflatup(), opexpand(), and opvisisubheads().

Here is the call graph for this function:

hdlheadrecord oplastexpandedatlevel hdlheadrecord  hnode,
short  level
 

Definition at line 453 of file opops.c.

References h, hnode, opgetlastsubhead(), and opsubheadsexpanded().

Referenced by opupdatehotspot().

Here is the call graph for this function:

boolean oplastinlist hdlheadrecord  hnode  ) 
 

Definition at line 170 of file opops.c.

References hnode.

Referenced by opdemote().

boolean opnavigate tydirection  dir,
hdlheadrecord hnode
 

Definition at line 833 of file opops.c.

References h, hnode, and oprepeatedbump().

Referenced by browserselectfile(), isundermark(), mecontinuesearch(), opcopysiblings(), opgetsuboutlinevisit(), oplangtextvisit(), opprint(), remainingsubheadsarecomments(), and runoutlinedirectivesverb().

Here is the call graph for this function:

boolean opnestedincomment hdlheadrecord  hnode  ) 
 

Definition at line 244 of file opops.c.

References tyheadrecord::headlinkleft, and hnode.

Referenced by opfindoffsetvisit(), opgetheadicon(), oplangtextvisit(), outtextvisit(), scriptcommentvisit(), and scriptdebugger().

boolean opnewheadrecord Handle  hstring,
hdlheadrecord hnewnode
 

Definition at line 1148 of file opops.c.

References disposehandle(), h, hnewnode, newclearhandle(), and opnodechanged().

Referenced by opcopyheadrecord(), opdepositnewheadline(), and opnewstructure().

Here is the call graph for this function:

boolean opnewrecord Rect  r,
hdloutlinerecord hnew
 

Definition at line 1429 of file opops.c.

References newoutlinerecord(), opinitdisplayvariables(), opsetdisplaydefaults(), and tyoutlinerecord::outlinerect.

Referenced by meloadoutline(), meloadscript(), newrecord(), and opwinnewrecord().

Here is the call graph for this function:

boolean opnewstructure Handle  hstring,
hdlheadrecord hsummit
 

Definition at line 1178 of file opops.c.

References tyheadrecord::flexpanded, hnode, and opnewheadrecord().

Referenced by addmenucommandverb(), opnewsummit(), optextscraptooutline(), and opunpacktexttooutline().

Here is the call graph for this function:

boolean opnewsummit void   ) 
 

Definition at line 1300 of file opops.c.

References newemptyhandle(), opnewstructure(), opsetsummit(), and outlinedata.

Referenced by newoutlinerecord(), and opdeletenode().

Here is the call graph for this function:

boolean opnodeinoutline hdlheadrecord  hnode  ) 
 

Definition at line 1619 of file opops.c.

References hnode, tyscanrecord::hnodelookfor, opnotinoutlinevisit(), opsiblingvisiter(), and outlinedata.

Referenced by deletemenunode(), mefindnodevisit(), opsetcursorverb(), opsetlongcursor(), and scriptmousedown().

Here is the call graph for this function:

boolean opnosubheads hdlheadrecord  hnode  ) 
 

Definition at line 176 of file opops.c.

References hnode.

Referenced by browsercalcinsertionpoint(), dockmenubuildpopupmenu(), dockmenuinsertmenuitem(), mebuildmenu(), memenuitemadded(), opbuildpopupmenu(), opmoveoutlineright(), and opupdatehotspot().

static boolean opnotinoutlinevisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1613 of file opops.c.

References hnode.

Referenced by opnodeinoutline().

hdlheadrecord opnthsubhead hdlheadrecord  hnode,
long  n
 

Definition at line 316 of file opops.c.

References h, tyheadrecord::headlinkdown, hnode, i, and nil.

boolean opnthsummit long  n,
hdlheadrecord hsummit
 

Definition at line 350 of file opops.c.

References tyheadrecord::headlinkdown, and i.

Referenced by oparrayreference(), and tablefunctionvalue().

boolean oppopglobals void   ) 
 

Definition at line 153 of file opops.c.

References tyoutlinerecord::ctpushes, and outlinedata.

Referenced by ccwindowstart(), menustart(), opstart(), scriptstart(), and tablestart().

boolean oppopoutline void   ) 
 

Definition at line 121 of file opops.c.

References opdisposeoutline(), outlinedata, outlinestack, and topoutlinestack.

Referenced by addmenucommandverb(), dockmenugetaddresscallback(), dockmenuruncommand(), handleshowmenunode(), initializetableoutline(), langopruncallbackscripts(), meexportscrap(), meloadoutline(), menuverbfind(), menuverbfindusedblocks(), menuverbgetsize(), menuverbnew(), mepopmenudata(), mesavemenurecord(), mesearchrefconroutine(), mesetalloutlinerects(), mesomethingdirty(), meunpackmenustructure(), newoutlinerecord(), opcopyoutlinerecord(), opdeletelistitem(), opdisposeoutline(), opdisposerefcons(), opgetlangtext(), opgetselectedsuboutlinesverb(), opgetselectedsuboutlinesvisit(), opoutlinetotextstream(), oppacklist(), oppackoutline(), oppopupruncallbackscript(), oppopupselect(), oppushhandle(), opsetctexpanded(), opunpack(), opunshifthandle(), opvalidate(), opverbarrayreference(), opverbfind(), opverbgetsize(), opverbnew(), opvisitallverb(), opvisitallvisit(), opxmlbuildbody(), opxmlgetwindowexpansionstate(), opxmlgetwindowscrollstate(), opxmlsetwindowatts(), opxmlsetwindowverticalscrollstate(), opxmltooutline(), opxmltooutlineverb(), opxmltooutlinevisit(), popmenubarglobals(), runoutlinedirectivesverb(), scriptdebugger(), tablepopformats(), and tableresetformatsrects().

Here is the call graph for this function:

void oppushcolors hdloutlinerecord  ho  ) 
 

Definition at line 1660 of file opops.c.

References pushcolors().

Referenced by opdocursor(), opdrawicon(), and opupdate().

Here is the call graph for this function:

boolean oppushglobals void   ) 
 

Definition at line 140 of file opops.c.

References outlinedata.

Referenced by ccwindowstart(), menustart(), opstart(), scriptstart(), and tablestart().

boolean oppushoutline hdloutlinerecord  houtline  ) 
 

Definition at line 96 of file opops.c.

References ctoutlinestack, tyoutlinerecord::ctpushes, idoutlinestackfull, outlinedata, outlinestack, shellinternalerror, STR_outline_stack_overflow, and topoutlinestack.

Referenced by addmenucommandverb(), dockmenugetaddresscallback(), dockmenuruncommand(), handleshowmenunode(), initializetableoutline(), langopruncallbackscripts(), meexportscrap(), meloadoutline(), menuverbfind(), menuverbfindusedblocks(), menuverbgetsize(), menuverbnew(), mepushmenudata(), mesavemenurecord(), mesearchrefconroutine(), mesetalloutlinerects(), mesomethingdirty(), meunpackmenustructure(), newoutlinerecord(), opcopyoutlinerecord(), opdeletelistitem(), opdisposeoutline(), opdisposerefcons(), opgetlangtext(), opgetselectedsuboutlinesverb(), opgetselectedsuboutlinesvisit(), opoutlinetotextstream(), oppacklist(), oppackoutline(), oppopupruncallbackscript(), oppopupselect(), oppushhandle(), opsetctexpanded(), opunpack(), opunshifthandle(), opvalidate(), opverbarrayreference(), opverbfind(), opverbgetsize(), opverbnew(), opvisitallverb(), opvisitallvisit(), opxmlbuildbody(), opxmlgetwindowexpansionstate(), opxmlgetwindowscrollstate(), opxmlsetwindowatts(), opxmlsetwindowverticalscrollstate(), opxmltooutline(), opxmltooutlineverb(), opxmltooutlinevisit(), pushmenubarglobals(), runoutlinedirectivesverb(), scriptdebugger(), tablepushformats(), and tableresetformatsrects().

void oppushstyle hdloutlinerecord  ho  ) 
 

Definition at line 1654 of file opops.c.

References pushstyle().

Referenced by opdefaultpushstyle(), opdocursor(), opprint(), opsetdisplaydefaults(), opupdate(), and tablegetoutlinesize().

Here is the call graph for this function:

void opreleasenode hdlheadrecord  hnode,
boolean  fldisk
 

Definition at line 1227 of file opops.c.

References hnode, and opreleasevisit().

Referenced by opcopyheadrecord(), opdeletelistitem(), and opsetsummit().

Here is the call graph for this function:

static boolean opreleaserefconvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1233 of file opops.c.

References disposehandle(), hnode, nil, opsetoutline(), and outlinedata.

Referenced by opdisposerefcons().

Here is the call graph for this function:

boolean opreleasevisit hdlheadrecord  hnode,
ptrvoid  refcon
 

Definition at line 1199 of file opops.c.

References disposehandle(), h, hnode, nil, opsetoutline(), and outlinedata.

Referenced by opdeletesubvisit(), opdisposestructure(), and opreleasenode().

Here is the call graph for this function:

hdlheadrecord oprepeatedbump tydirection  dir,
long  ctbumps,
hdlheadrecord  hstart,
boolean  flexpanded
 

Definition at line 709 of file opops.c.

References ct, fl, flatdown, flatup, i, nil, opbumpflatdown(), opbumpflatup(), and oppositdirection().

Referenced by addmenucommandverb(), browsercalcinsertionpoint(), browserfindinsertionpoint(), dockmenuruncommand(), initializetableoutline(), opbumpvisit(), opcopyoutlinerecord(), opcopyvisit(), opgetlistnode(), opnavigate(), oppopupselect(), oppushhandle(), oprecursivelyvisitmarked(), oprestorescrollposition(), opsetcursorinfo(), opsortlevel(), optextscraptooutline(), opunpacktexttooutline(), opunpackversion2(), and opverbnew().

Here is the call graph for this function:

static boolean opresetalllevelsvisit hdlheadrecord  hnode,
ptrvoid  toplevel
[static]
 

Definition at line 1259 of file opops.c.

References hnode, long, and opresetlevels().

Referenced by opsetsummit().

Here is the call graph for this function:

void opresetlevels hdlheadrecord  hnode  ) 
 

Definition at line 1648 of file opops.c.

References hnode, infinity, nil, oprecursivelyvisit(), and opresetlevelsvisit().

Referenced by addmenucommandverb(), movetohotspotvisit(), opcopymarkedvisit(), opcopysiblings(), opgetselectedsuboutlinesvisit(), opinsertstructure(), opmoveoutlineleft(), opmoveoutlineright(), oppaste(), oppophoist(), oppushhoistvisit(), opresetalllevelsvisit(), and opundounlink().

Here is the call graph for this function:

static boolean opresetlevelsvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1637 of file opops.c.

References h, and hnode.

Referenced by opresetlevels().

boolean opsetactualheadstring hdlheadrecord  hnode,
bigstring  newstring
 

Definition at line 1666 of file opops.c.

References sethandlecontents(), and stringlength.

Referenced by browsermoveto(), and tablesymbolchangedvisit().

Here is the call graph for this function:

long opsetctexpanded hdloutlinerecord  ho  ) 
 

Definition at line 1015 of file opops.c.

References ct, opgetnextexpanded(), opgetnodelinecount(), oppopoutline(), and oppushoutline().

Referenced by browserpreexpand(), browsersortfolder(), initializetableoutline(), menuverbnew(), opafterstrucchange(), opdeletenode(), opedit(), opgetsourceverb(), ophoistdisplay(), opmovetohotspot(), oppaste(), oppostfontchange(), oprefreshdisplay(), opsetdisplayverb(), opsetscrap(), opunpackversion2(), opverbnew(), and scriptsetdata().

Here is the call graph for this function:

boolean opsetcursorlinetext bigstring  bs  ) 
 

Definition at line 1752 of file opops.c.

References fl, opinvalnode(), opsetheadstring(), opsettextmode(), and opupdatenow().

Here is the call graph for this function:

void opsetexpandedbits hdlheadrecord  hsummit,
boolean  fl
 

Definition at line 1050 of file opops.c.

References bitboolean, tyheadrecord::flexpanded, tyheadrecord::headlinkdown, and nil.

Referenced by opunpackversion2().

boolean opsetheadstring hdlheadrecord  hnode,
bigstring  bs
 

Definition at line 1737 of file opops.c.

References hnode, newtexthandle(), and opsetheadtext().

Referenced by oppushhandle(), opsetcursorlinetext(), opunshifthandle(), tablegetwpedittext(), and tablepopupkinddialog().

Here is the call graph for this function:

boolean opsetheadtext hdlheadrecord  hnode,
Handle  hstring
 

Definition at line 1672 of file opops.c.

References bigstring, disposehandle(), equalhandles(), h, hnode, opdirtyoutline(), opgetheadstring(), opinvalnode(), opnodechanged(), and opupdatenow().

Here is the call graph for this function:

hdloutlinerecord opsetoutline hdloutlinerecord  houtline  ) 
 

Definition at line 68 of file opops.c.

References tyoutlinerecord::ctpushes, opdisposeoutline(), and outlinedata.

Referenced by mereduceformula(), mesavemenurecord(), mesetglobals(), opcopyheadrecord(), opreleaserefconvisit(), opreleasevisit(), opverbsetglobals(), runoutlinedirectivesverb(), scriptsetglobals(), shellgetdatabase(), tabledrivesymbolchange(), and tableverbsetglobals().

Here is the call graph for this function:

boolean opsetsummit hdloutlinerecord  houtline,
hdlheadrecord  hnode
 

Definition at line 1269 of file opops.c.

References down, h, hnode, nil, opbumpvisit(), opreleasenode(), and opresetalllevelsvisit().

Referenced by addmenucommandverb(), menuverbnew(), opcopyoutlinerecord(), opgetsourceverb(), opnewsummit(), opsetscrap(), opunpackversion2(), and opverbnew().

Here is the call graph for this function:

boolean opsubheadsexpanded hdlheadrecord  hnode  ) 
 

Definition at line 207 of file opops.c.

References hnode.

Referenced by browserexpand(), browserselectfile(), duplicateexpansionvisit(), notexpandedvisit(), opcollapseall(), opdeletenode(), opfunctionvalue(), opgetexpansionstatevisit(), opgetheadicon(), opinserthandle(), opinsertoutlineverb(), oplastexpanded(), oplastexpandedatlevel(), opmovetohotspot(), opreturnkey(), opsetexpansionstateverb(), opvisisubheads(), tablesymboldeletedvisit(), tablesymbolinsertedvisit(), tablesymbolsresortedvisit(), and tablesymbolzoomvisit().

boolean opsubordinateto hdlheadrecord  h1,
hdlheadrecord  h2
 

Definition at line 218 of file opops.c.

References tyheadrecord::headlinkleft.

Referenced by medeletelineroutine(), and opupdatehotspot().

void opsummitof hdlheadrecord  hnode,
hdlheadrecord hsummit
 

Definition at line 555 of file opops.c.

References hnode, and opchaseleft().

Here is the call graph for this function:

boolean optexttooutline hdloutlinerecord  houtline,
Handle  htext,
hdlheadrecord hnode
 

Definition at line 1320 of file opops.c.

References hnode.

Referenced by opgetscrap(), opgetsourceverb(), and opinserthandle().


Variable Documentation

hdloutlinerecord outlinestack[ctoutlinestack]
 

Definition at line 65 of file opops.c.

Referenced by copythreadglobals(), oppopoutline(), oppushoutline(), and swapinthreadglobals().

short topoutlinestack = 0
 

Definition at line 63 of file opops.c.

Referenced by copythreadglobals(), oppopoutline(), oppushoutline(), and swapinthreadglobals().


Generated on Thu Jun 8 09:49:40 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6