opstructure.c File Reference

#include "frontier.h"
#include "standard.h"
#include "quickdraw.h"
#include "memory.h"
#include "strings.h"
#include "scrap.h"
#include "cursor.h"
#include "kb.h"
#include "ops.h"
#include "search.h"
#include "shellundo.h"
#include "shell.rsrc.h"
#include "op.h"
#include "opinternal.h"
#include "oplineheight.h"
#include "lang.h"
#include "tablestructure.h"
#include "process.h"

Include dependency graph for opstructure.c:

Go to the source code of this file.

Data Structures

struct  tycopyinfo
struct  tydepositinfo
struct  tymoveinfo

Typedefs

typedef tycopyinfoptrcopyinfo
typedef tydepositinfoptrdepositinfo
typedef tydepositinfo ** hdldepositinfo

Functions

void opstartinternalchange (void)
void opendinternalchange (void)
boolean opinternalchange (void)
boolean opnodechanged (hdlheadrecord hnode)
void opsetline1 (hdlheadrecord hline1)
static boolean opundounmark (hdlheadrecord hnode, boolean flundo)
boolean oppushunmarkundo (hdlheadrecord hnode)
static boolean opundodeposit (hdlheadrecord hnode, boolean flundo)
static boolean oppushdepositundo (hdlheadrecord hnode)
static boolean opdeletelinecallback (hdlheadrecord hnode)
static boolean opinsertlinecallback (hdlheadrecord hnode)
static void opchoosesafenodes (hdlheadrecord hdangerous, hdlheadrecord hsafe)
boolean oppushundo (opundocallback pundo, hdlheadrecord hnode)
static boolean opundounlink (hdldepositinfo hdepositinfo, boolean flundo)
void opunlink (hdlheadrecord hnode)
static void opdepositdown (hdlheadrecord hpre, hdlheadrecord hdeposit)
static void opdepositright (hdlheadrecord hparent, hdlheadrecord hdeposit)
static void opdepositup (hdlheadrecord hpre, hdlheadrecord hdeposit)
boolean opdeposit (hdlheadrecord hpre, tydirection dir, hdlheadrecord hdeposit)
boolean opmoveto (hdlheadrecord hnode)
boolean opjumpto (hdlheadrecord hnode)
boolean opflatfind (boolean flfromtop, boolean flwrap)
boolean opgetsafenode (hdlheadrecord *hnode)
static boolean opchecksafenode (hdlheadrecord hdelete, hdlheadrecord *hsafe)
static boolean opcheckline1 (hdlheadrecord hdelete)
static boolean opsafebarcursor (hdlheadrecord hdelete)
boolean opmovecursor (hdlheadrecord hpre, tydirection dirmove, long units, hdlheadrecord *hnew)
boolean opcopyrefconroutine (hdlheadrecord hsource, hdlheadrecord hdest)
static hdlheadrecord opcopyheadrecord (hdlheadrecord horig)
static boolean opmoveoutlineup (void)
static boolean opmoveoutlinedown (void)
static boolean opmoveoutlineleft (void)
static boolean opmoveoutlineright (void)
static boolean opbeforeundo (hdlheadrecord hnode, boolean flundo)
static boolean opafterundo (hdlheadrecord hnode, boolean flundo)
boolean opbeforestrucchange (hdlscreenmap *hmap, boolean flsaveeditbuffer)
boolean opafterstrucchange (hdlscreenmap hmap, boolean flvisisubs)
boolean opsortlevel (hdlheadrecord hnode)
static boolean opvalidatecanmove (hdlheadrecord hnode, ptrvoid refcon)
static boolean opmoveoutlinevisit (hdlheadrecord hnode, ptrvoid dir)
boolean opreorgcursor (tydirection dir, long units)
static boolean opvalidatemovevisit (hdlheadrecord hnode, tymoveinfo *moveinfo)
boolean oppromote (void)
boolean opdemote (void)
static boolean opdeletesubvisit (hdlheadrecord hnode, ptrvoid refcon)
boolean opdeletesubs (hdlheadrecord hnode)
static boolean opcopyvisit (hdlheadrecord hnode, ptrvoid refcon)
hdlheadrecord opcopyoutline (hdlheadrecord horig)
boolean opcopysiblings (hdlheadrecord horig, hdlheadrecord *hcopy)
boolean opcopyoutlinerecord (hdloutlinerecord horig, hdloutlinerecord *hcopy)
static boolean opclearmarkvisit (hdlheadrecord hnode, ptrvoid refcon)
void opclearallmarks (void)
void opclearmarks (hdlheadrecord hnode)
boolean opgetmark (hdlheadrecord hnode)
void opsetmark (hdlheadrecord hnode, boolean fl)
static boolean opsetbarcursorvisit (hdlheadrecord hnode, ptrvoid refcon)
boolean opanymarked (void)
static boolean opcopymarkedvisit (hdlheadrecord hnode, ptrvoid refcon)
static boolean optrytextcommand (boolean(*editroutine)(void), boolean flneedselection, boolean flchanging)
boolean opcopy (void)
static void opdisposenode (hdlheadrecord hnode)
static boolean opundodelete (hdlheadrecord hnode, boolean flundo)
static boolean opredodelete (hdlheadrecord hnode, boolean flundo)
boolean opdepositnewheadline (hdlheadrecord hpre, tydirection dir, Handle hstring, hdlheadrecord *hnew)
boolean opaddheadline (hdlheadrecord hpre, tydirection dir, bigstring bshead, hdlheadrecord *hnew)
static boolean opundonewsummit (hdlheadrecord hnode, boolean flundo)
boolean opdeletenode (hdlheadrecord hnode)
static boolean opdeletenodevisit (hdlheadrecord hnode, ptrvoid refcon)
boolean opdelete (void)
boolean opclear (void)
void opdeleteline (void)
boolean opcut (void)
boolean isoutlinetext (Handle htext)
boolean isoutlinescrap (void)
static boolean equalheadstrings (hdlheadrecord h1, hdlheadrecord h2)
boolean oppaste (void)
boolean opinsertheadline (Handle hstring, tydirection dir, boolean flcomment)
boolean opinsertstructure (hdlheadrecord hnode, tydirection dir)
boolean opsettmpbitvisit (hdlheadrecord hnode, ptrvoid flset)
boolean opcleartmpbits (void)

Variables

static hdlscreenmap hundomap
static hdlheadrecord hfirstscrap
static hdlheadrecord hlastscrap


Typedef Documentation

typedef struct tydepositinfo ** hdldepositinfo
 

typedef struct tycopyinfo * ptrcopyinfo
 

typedef struct tydepositinfo * ptrdepositinfo
 


Function Documentation

static boolean equalheadstrings hdlheadrecord  h1,
hdlheadrecord  h2
[static]
 

Definition at line 2558 of file opstructure.c.

References bigstring, equalstrings(), and opgetheadstring().

Referenced by oppaste().

Here is the call graph for this function:

boolean isoutlinescrap void   ) 
 

Definition at line 2515 of file opstructure.c.

References disposehandle(), hashscraptype, isoutlinetext(), menuscraptype, opscraptype, scriptscraptype, shellconvertscrap(), shellgetscrap(), and textscraptype.

Referenced by iseditscrap(), and oppaste().

Here is the call graph for this function:

boolean isoutlinetext Handle  htext  ) 
 

Definition at line 2485 of file opstructure.c.

References bigstring, chreturn, gethandlesize(), setstringwithchar, and textpatternmatch().

Referenced by isoutlinescrap(), and opinserthandle().

Here is the call graph for this function:

boolean opaddheadline hdlheadrecord  hpre,
tydirection  dir,
bigstring  bshead,
hdlheadrecord hnew
 

Definition at line 2272 of file opstructure.c.

References newtexthandle(), and opdepositnewheadline().

Referenced by addmenucommandverb(), browserexpandvisit(), browserpreexpand(), oppushhandle(), and opunshifthandle().

Here is the call graph for this function:

boolean opafterstrucchange hdlscreenmap  hmap,
boolean  flvisisubs
 

Definition at line 1242 of file opstructure.c.

References currentprocess, debuggingcurrentprocess(), idopcursormovedscript, langopruncallbackscripts(), nil, opbeforeundo(), opdirtyoutline(), opdisplayenabled(), opinvalscreenmap(), oploadeditbuffer(), oppushundo(), opresetscrollbars(), oprestoreeditbuffer(), opsetctexpanded(), opsetscrollpositiontoline1(), opupdatenow(), opvisinode(), opvisisubheads(), and outlinedata.

Referenced by opafterundo(), opdelete(), opdeletesubs(), opdemote(), opinsertstructure(), opinternaldeletenodewithupdate(), opmovetohotspot(), oppaste(), oppromote(), and opsetlinetextverb().

Here is the call graph for this function:

static boolean opafterundo hdlheadrecord  hnode,
boolean  flundo
[static]
 

Definition at line 1203 of file opstructure.c.

References hnode, hundomap, opafterstrucchange(), opanymarked(), openabledisplay(), opexpandto(), opmoveto(), and opsettextmode().

Referenced by opbeforestrucchange(), and opinsertheadline().

Here is the call graph for this function:

boolean opanymarked void   ) 
 

Definition at line 2092 of file opstructure.c.

References down, nil, opgetmark(), opsetbarcursorvisit(), opvisitmarked(), and outlinedata.

Referenced by opactivate(), opafterundo(), opclearallmarks(), opcmdclick(), opcopy(), opdeletesubs(), opdemote(), opfunctionvalue(), opgetlineselected(), opkeystroke(), oppromote(), opshiftclick(), and opsortlevel().

Here is the call graph for this function:

boolean opbeforestrucchange hdlscreenmap hmap,
boolean  flsaveeditbuffer
 

Definition at line 1223 of file opstructure.c.

References opafterundo(), opnewscreenmap(), oppushundo(), opsaveeditbuffer(), and opunloadeditbuffer().

Referenced by opbeforeundo(), opdelete(), opdeletesubs(), opdemote(), opinsertstructure(), opinternaldeletenodewithupdate(), opmovetohotspot(), oppaste(), oppromote(), opreorgcursor(), opsetlinetextverb(), and opsortlevel().

Here is the call graph for this function:

static boolean opbeforeundo hdlheadrecord  hnode,
boolean  flundo
[static]
 

Definition at line 1184 of file opstructure.c.

References hnode, hundomap, opbeforestrucchange(), opclearallmarks(), opdisabledisplay(), opexpandto(), and opmoveto().

Referenced by opafterstrucchange(), and opinsertheadline().

Here is the call graph for this function:

static boolean opcheckline1 hdlheadrecord  hdelete  )  [static]
 

Definition at line 903 of file opstructure.c.

References opchecksafenode(), and opsetline1().

Referenced by opdeletenode().

Here is the call graph for this function:

static boolean opchecksafenode hdlheadrecord  hdelete,
hdlheadrecord hsafe
[static]
 

Definition at line 881 of file opstructure.c.

References opchaseleft(), and opgetsafenode().

Referenced by opcheckline1(), and opsafebarcursor().

Here is the call graph for this function:

static void opchoosesafenodes hdlheadrecord  hdangerous,
hdlheadrecord  hsafe
[static]
 

Definition at line 216 of file opstructure.c.

References opsetline1(), and outlinedata.

Referenced by opunlink().

Here is the call graph for this function:

boolean opclear void   ) 
 

Definition at line 2431 of file opstructure.c.

References opdelete(), opeditclear(), optrytextcommand(), pushundoaction(), and undoclearstring.

Here is the call graph for this function:

void opclearallmarks void   ) 
 

Definition at line 1993 of file opstructure.c.

References nil, opanymarked(), opclearmarkvisit(), opgetmark(), opinvalscreenmap(), opnewscreenmap(), opsetmark(), opsiblingvisiter(), and outlinedata.

Referenced by browserexpandtofile(), deletemenunode(), mouseinline(), opbeforeundo(), opeditsetundoglobals(), opkeystroke(), opmotionkey(), opmousedown(), oppaste(), opsettextmode(), opshiftclick(), and tablefunctionvalue().

Here is the call graph for this function:

void opclearmarks hdlheadrecord  hnode  ) 
 

Definition at line 2020 of file opstructure.c.

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

Referenced by opmovetohotspot(), opsetmark(), and opshiftclickvisit().

Here is the call graph for this function:

static boolean opclearmarkvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1974 of file opstructure.c.

References h, and hnode.

Referenced by opclearallmarks(), opclearmarks(), and opsetmark().

boolean opcleartmpbits void   ) 
 

Definition at line 2831 of file opstructure.c.

References opsettmpbitvisit(), and opsiblingvisiter().

Referenced by browsercollisiondialog(), browserpredrag(), browserpreexpand(), browserselectfile(), browservalidateinsertion(), and opmovetohotspot().

Here is the call graph for this function:

boolean opcopy void   ) 
 

Definition at line 2187 of file opstructure.c.

References hfirstscrap, hlastscrap, nil, nodirection, opanymarked(), opcopymarkedvisit(), opcopyoutline(), opdisposestructure(), opeditcopy(), opsetscrap(), optrytextcommand(), opvisitmarked(), opwriteeditbuffer(), outlinedata, and STR_copy.

Here is the call graph for this function:

static hdlheadrecord opcopyheadrecord hdlheadrecord  horig  )  [static]
 

Definition at line 1037 of file opstructure.c.

References copyhandle(), fl, hnewnode, nil, opnewheadrecord(), opreleasenode(), opsetoutline(), and outlinedata.

Referenced by opcopyoutline(), and opcopyvisit().

Here is the call graph for this function:

static boolean opcopymarkedvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 2120 of file opstructure.c.

References tyheadrecord::headlevel, hfirstscrap, hlastscrap, hnode, nil, opcopyoutline(), opdepositdown(), opendinternalchange(), opresetlevels(), and opstartinternalchange().

Referenced by opcopy().

Here is the call graph for this function:

hdlheadrecord opcopyoutline hdlheadrecord  horig  ) 
 

Definition at line 1835 of file opstructure.c.

References tycopyinfo::hnode, infinity, tycopyinfo::level, nil, opcopyheadrecord(), opcopyvisit(), opdisposestructure(), and oprecursivelyvisit().

Here is the call graph for this function:

boolean opcopyoutlinerecord hdloutlinerecord  horig,
hdloutlinerecord hcopy
 

Definition at line 1919 of file opstructure.c.

References copyhandle(), disposehandle(), fl, flatdown, nil, opcopysiblings(), opgetnodeline(), oppopoutline(), oppushoutline(), oprepeatedbump(), and opsetsummit().

Referenced by mecopyrefconroutine(), menusetscriptverb(), mesavemenurecord(), and opcopylist().

Here is the call graph for this function:

boolean opcopyrefconroutine hdlheadrecord  hsource,
hdlheadrecord  hdest
 

Definition at line 1013 of file opstructure.c.

References copyhandle(), and nil.

Referenced by browsercopyrefcon(), mesavemenurecord(), and opinitcallbacks().

Here is the call graph for this function:

boolean opcopysiblings hdlheadrecord  horig,
hdlheadrecord hcopy
 

Definition at line 1858 of file opstructure.c.

References down, h, nil, opcopyoutline(), opdepositdown(), opdisposestructure(), opendinternalchange(), opnavigate(), opresetlevels(), and opstartinternalchange().

Referenced by menuverbnew(), opcopyoutlinerecord(), opinsertoutlineverb(), and opverbnew().

Here is the call graph for this function:

static boolean opcopyvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1793 of file opstructure.c.

References down, hnode, left, nil, opcopyheadrecord(), opdeposit(), opendinternalchange(), oprepeatedbump(), opstartinternalchange(), and right.

Referenced by opcopyoutline().

Here is the call graph for this function:

boolean opcut void   ) 
 

Definition at line 2454 of file opstructure.c.

References opcopy(), opdelete(), opeditcut(), optrytextcommand(), pushundoaction(), and undocutstring.

Here is the call graph for this function:

boolean opdelete void   ) 
 

Definition at line 2401 of file opstructure.c.

References disposehandle(), down, nil, opafterstrucchange(), opbeforestrucchange(), opdeletenodevisit(), opvisitmarked(), and popundoaction().

Referenced by deletemenunode(), opclear(), opcut(), opdeleteline(), and opgetselectedsuboutlinesverb().

Here is the call graph for this function:

void opdeleteline void   ) 
 

Definition at line 2442 of file opstructure.c.

References opdelete(), pushundoaction(), and undoclearstring.

Referenced by opfunctionvalue().

Here is the call graph for this function:

static boolean opdeletelinecallback hdlheadrecord  hnode  )  [static]
 

Definition at line 198 of file opstructure.c.

References hnode, opinternalchange(), and outlinedata.

Referenced by opdeletenode(), and opunlink().

Here is the call graph for this function:

boolean opdeletenode hdlheadrecord  hnode  ) 
 

Definition at line 2312 of file opstructure.c.

References tyheadrecord::headlinkdown, hnode, nil, opcheckline1(), opdeletelinecallback(), opgetnodelinecount(), opinsertlinecallback(), opnewsummit(), opnodechanged(), oppushundo(), opredodelete(), opsafebarcursor(), opsetctexpanded(), opsetline1(), opsetscrollpositiontoline1(), opsubheadsexpanded(), opundodelete(), opundonewsummit(), opunlink(), outlinedata, and popundoaction().

Referenced by deletetmpbitvisit(), expandcancelledvisit(), opdeletenodevisit(), opinternaldeletenodewithupdate(), and runoutlinedirectivesverb().

Here is the call graph for this function:

static boolean opdeletenodevisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 2394 of file opstructure.c.

References hnode, and opdeletenode().

Referenced by opdelete().

Here is the call graph for this function:

boolean opdeletesubs hdlheadrecord  hnode  ) 
 

Definition at line 1752 of file opstructure.c.

References h, hnode, opafterstrucchange(), opanymarked(), opbeforestrucchange(), opdeletesubvisit(), ophassubheads(), opnodechanged(), opsiblingvisiter(), pushundoaction(), and undodeletionstring.

Referenced by browserpostcollapse(), opfunctionvalue(), and postcollapse().

Here is the call graph for this function:

static boolean opdeletesubvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1726 of file opstructure.c.

References tyoutlinerecord::hbarcursor, hnode, opgetnodelinecount(), opreleasevisit(), opsetline1(), and outlinedata.

Referenced by opdeletesubs().

Here is the call graph for this function:

boolean opdemote void   ) 
 

Definition at line 1659 of file opstructure.c.

References tymoveinfo::dir, tyoutlinerecord::hbarcursor, tyheadrecord::headlinkdown, tymoveinfo::hpre, opafterstrucchange(), opanymarked(), opbeforestrucchange(), opexpand(), oplastinlist(), opmoveoutlineright(), opnodechanged(), opvalidatemovevisit(), outlinedata, pushundoaction(), right, and undodemotestring.

Referenced by opfunctionvalue().

Here is the call graph for this function:

boolean opdeposit hdlheadrecord  hpre,
tydirection  dir,
hdlheadrecord  hdeposit
 

fljustpacking

Definition at line 565 of file opstructure.c.

References down, opdepositdown(), opdepositright(), opdepositup(), right, sorted, and up.

Referenced by addmenucommandverb(), browserinsertagain(), browsersortfolder(), movetohotspotvisit(), opcopyvisit(), opdepositnewheadline(), opgetselectedsuboutlinesvisit(), opinsertstructure(), opundounlink(), and tableupdateoutlinesort().

Here is the call graph for this function:

static void opdepositdown hdlheadrecord  hpre,
hdlheadrecord  hdeposit
[static]
 

Definition at line 384 of file opstructure.c.

References tyheadrecord::headlevel, tyheadrecord::headlinkdown, tyheadrecord::headlinkleft, tyheadrecord::headlinkup, opinsertlinecallback(), opnodechanged(), and oppushdepositundo().

Referenced by opcopymarkedvisit(), opcopysiblings(), opdeposit(), opdepositup(), opmoveoutlinedown(), opmoveoutlineleft(), opmoveoutlineright(), and oppaste().

Here is the call graph for this function:

boolean opdepositnewheadline hdlheadrecord  hpre,
tydirection  dir,
Handle  hstring,
hdlheadrecord hnew
 

Definition at line 2253 of file opstructure.c.

References opdeposit(), opnewheadrecord(), oppushundo(), and opredodelete().

Referenced by opaddheadline(), opinsertheadline(), optextscraptooutline(), and opunpacktexttooutline().

Here is the call graph for this function:

static void opdepositright hdlheadrecord  hparent,
hdlheadrecord  hdeposit
[static]
 

Definition at line 449 of file opstructure.c.

References tyheadrecord::fldirty, tyheadrecord::flexpanded, tyheadrecord::headlinkdown, tyheadrecord::headlinkright, tyheadrecord::headlinkup, opinsertlinecallback(), opnodechanged(), and oppushdepositundo().

Referenced by opdeposit(), opdepositup(), and opmoveoutlineright().

Here is the call graph for this function:

static void opdepositup hdlheadrecord  hpre,
hdlheadrecord  hdeposit
[static]
 

Definition at line 504 of file opstructure.c.

References tyheadrecord::flexpanded, tyheadrecord::headlinkdown, tyheadrecord::headlinkleft, opdepositdown(), opdepositright(), opfirstinlist(), opinsertlinecallback(), opnodechanged(), oppushdepositundo(), opsetline1(), and outlinedata.

Referenced by opdeposit(), opmoveoutlineup(), and opsortlevel().

Here is the call graph for this function:

static void opdisposenode hdlheadrecord  hnode  )  [static]
 

Definition at line 2221 of file opstructure.c.

References hnode, and opdisposestructure().

Referenced by opundodelete().

Here is the call graph for this function:

void opendinternalchange void   ) 
 

Definition at line 81 of file opstructure.c.

References outlinedata.

Referenced by browserexpandvisit(), browserinsertagain(), browsermoveto(), browserpostcollapse(), browserpreexpand(), browsersortfolder(), clayrenamefile(), expandcancelledvisit(), initializetableoutline(), opcopymarkedvisit(), opcopysiblings(), opcopyvisit(), opgetselectedsuboutlinesvisit(), opinternaldeletenodewithupdate(), optextscraptooutline(), opunpacktexttooutline(), postcollapse(), preexpand(), and tableupdateoutlinesort().

boolean opflatfind boolean  flfromtop,
boolean  flwrap
 

Definition at line 700 of file opstructure.c.

References tysearchparameters::bsreplace, copyhandle(), tysearchparameters::ctreplaced, tysearchparameters::flreplaceall, flscriptrunning, handlesearch(), keyboardescape(), max, mungehandle(), opbumpflatdown(), opeditgetselection(), opeditingtext(), opeditinsert(), opeditsetselection(), opexpandto(), oprestoreeditbuffer(), opschedulevisi(), opsetheadtext(), opsettextmode(), opwriteeditbuffer(), outlinedata, rollbeachball(), searchparams, and stringlength.

Referenced by mesearchoutline(), mesearchrefconroutine(), opfindverb(), opverbfind(), opverbsearch(), and scriptsearch().

Here is the call graph for this function:

boolean opgetmark hdlheadrecord  hnode  ) 
 

Definition at line 2026 of file opstructure.c.

Referenced by isundermark(), opanymarked(), opclearallmarks(), opcmdclick(), and opmotionkey().

boolean opgetsafenode hdlheadrecord hnode  ) 
 

Definition at line 844 of file opstructure.c.

References h, and hnode.

Referenced by opchecksafenode().

boolean opinsertheadline Handle  hstring,
tydirection  dir,
boolean  flcomment
 

Definition at line 2711 of file opstructure.c.

References bitboolean, tyheadrecord::flcomment, tyoutlinerecord::hbarcursor, opafterundo(), opbeforeundo(), opdepositnewheadline(), opdirtyoutline(), opdisplayenabled(), opdocursor(), opeditselectall(), opexpandupdate(), oploadeditbuffer(), oppushundo(), opunloadeditbuffer(), opvisibarcursor(), outlinedata, popundoaction(), pushundoaction(), and undotypingstring.

Referenced by opinserthandle(), and opreturnkey().

Here is the call graph for this function:

static boolean opinsertlinecallback hdlheadrecord  hnode  )  [static]
 

Definition at line 207 of file opstructure.c.

References hnode, opinternalchange(), and outlinedata.

Referenced by opdeletenode(), opdepositdown(), opdepositright(), and opdepositup().

Here is the call graph for this function:

boolean opinsertstructure hdlheadrecord  hnode,
tydirection  dir
 

Definition at line 2761 of file opstructure.c.

References down, tyoutlinerecord::hbarcursor, tyheadrecord::headlinkdown, hnode, nil, opafterstrucchange(), opbeforestrucchange(), opdeposit(), opnodechanged(), opnodevisible(), oppushundo(), opredodelete(), opresetlevels(), opsettextmode(), opvisinode(), outlinedata, pushundoaction(), and undotypingstring.

Referenced by opinserthandle(), and opinsertoutlineverb().

Here is the call graph for this function:

boolean opinternalchange void   ) 
 

Definition at line 88 of file opstructure.c.

References tyoutlinerecord::flinternalchange, and outlinedata.

Referenced by browserreleaserefcon(), opdeletelinecallback(), opinsertlinecallback(), oppushundo(), tablesymbolchangedvisit(), tablesymboldeletedvisit(), and tablesymbolinsertedvisit().

boolean opjumpto hdlheadrecord  hnode  ) 
 

Definition at line 684 of file opstructure.c.

References hnode, and opjumpdisplayto().

Referenced by browserexpandtofile(), and opcollapseall().

Here is the call graph for this function:

boolean opmovecursor hdlheadrecord  hpre,
tydirection  dirmove,
long  units,
hdlheadrecord hnew
 

Definition at line 936 of file opstructure.c.

References ct, down, flatdown, flatup, h, left, opbumpflatup(), opgetnextexpanded(), right, and up.

Referenced by opmotionkey().

Here is the call graph for this function:

static boolean opmoveoutlinedown void   )  [static]
 

Definition at line 1112 of file opstructure.c.

References tyoutlinerecord::hbarcursor, tyheadrecord::headlinkdown, opdepositdown(), opunlink(), and outlinedata.

Referenced by opmoveoutlinevisit().

Here is the call graph for this function:

static boolean opmoveoutlineleft void   )  [static]
 

Definition at line 1137 of file opstructure.c.

References tyoutlinerecord::hbarcursor, tyheadrecord::headlinkleft, opdepositdown(), opresetlevels(), opunlink(), and outlinedata.

Referenced by opmoveoutlinevisit(), and oppromote().

Here is the call graph for this function:

static boolean opmoveoutlineright void   )  [static]
 

Definition at line 1160 of file opstructure.c.

References tyoutlinerecord::hbarcursor, tyheadrecord::headlinkup, opdepositdown(), opdepositright(), opexpand(), opgetlastsubhead(), opnosubheads(), opresetlevels(), opunlink(), and outlinedata.

Referenced by opdemote(), and opmoveoutlinevisit().

Here is the call graph for this function:

static boolean opmoveoutlineup void   )  [static]
 

Definition at line 1096 of file opstructure.c.

References opdepositup(), and opunlink().

Referenced by opmoveoutlinevisit().

Here is the call graph for this function:

static boolean opmoveoutlinevisit hdlheadrecord  hnode,
ptrvoid  dir
[static]
 

Definition at line 1461 of file opstructure.c.

References down, fl, hnode, left, opmoveoutlinedown(), opmoveoutlineleft(), opmoveoutlineright(), opmoveoutlineup(), oppushunmarkundo(), right, and up.

Referenced by opreorgcursor().

Here is the call graph for this function:

boolean opmoveto hdlheadrecord  hnode  ) 
 

Definition at line 601 of file opstructure.c.

References debuggingcurrentprocess(), h, hnode, idopcursormovedscript, langopruncallbackscripts(), opdirtyview(), opdisplayenabled(), opdocursor(), opdovisiscroll(), oploadeditbuffer(), opneedvisiscroll(), opschedulevisi(), opunloadeditbuffer(), and outlinedata.

Referenced by deletemenunode(), mecontinuesearch(), mouseinline(), opafterundo(), opbeforeundo(), opexpandto(), opgetselectedsuboutlinesverb(), opinserthandle(), opinsertoutlineverb(), opmotionkey(), opmovetohotspot(), opnavigationkey(), opsetexpansionstateverb(), opsetscrollstateverb(), opsettextmode(), tablefunctionvalue(), tablesymbolzoomvisit(), and tablezoomtoname().

Here is the call graph for this function:

boolean opnodechanged hdlheadrecord  hnode  ) 
 

Definition at line 98 of file opstructure.c.

References opdirtymeasurevalue.

Referenced by opdeletenode(), opdeletesubs(), opdemote(), opdepositdown(), opdepositright(), opdepositup(), opinsertstructure(), opnewheadrecord(), oppaste(), oppromote(), opsetheadtext(), opsortlevel(), and opunlink().

boolean oppaste void   ) 
 

Definition at line 2570 of file opstructure.c.

References disposehandle(), down, equalheadstrings(), tyoutlinerecord::hbarcursor, tyheadrecord::headlinkdown, tyheadrecord::headlinkup, infinity, isoutlinescrap(), nil, opafterstrucchange(), opbeforestrucchange(), opclearallmarks(), opcopyoutline(), opdepositdown(), opeditpaste(), opeditsetselection(), opfastcollapse(), opgetscrap(), opnodechanged(), opnodevisible(), oppushundo(), opredodelete(), opresetlevels(), opsetctexpanded(), opsetmark(), opsettextmode(), optrytextcommand(), opvisinode(), outlinedata, popundoaction(), pushundoaction(), and undopastestring.

Here is the call graph for this function:

boolean oppromote void   ) 
 

Definition at line 1586 of file opstructure.c.

References tymoveinfo::dir, down, fl, tyoutlinerecord::hbarcursor, tyheadrecord::headlinkup, tymoveinfo::hpre, opafterstrucchange(), opanymarked(), opbeforestrucchange(), opexpand(), opgetlastsubhead(), ophassubheads(), opmoveoutlineleft(), opnodechanged(), opvalidatemovevisit(), outlinedata, pushundoaction(), and undopromotestring.

Referenced by opfunctionvalue().

Here is the call graph for this function:

static boolean oppushdepositundo hdlheadrecord  hnode  )  [static]
 

Definition at line 192 of file opstructure.c.

References hnode, oppushundo(), and opundodeposit().

Referenced by opdepositdown(), opdepositright(), and opdepositup().

Here is the call graph for this function:

boolean oppushundo opundocallback  pundo,
hdlheadrecord  hnode
 

Definition at line 231 of file opstructure.c.

References hnode, nil, opinternalchange(), outlinedata, and pushundostep().

Referenced by movetohotspotvisit(), opafterstrucchange(), opbeforestrucchange(), opdeletenode(), opdepositnewheadline(), opinsertheadline(), opinsertstructure(), oppaste(), oppushdepositundo(), oppushunmarkundo(), opredocopy(), opredodelete(), opundocopy(), opundodelete(), opundonewsummit(), opundounmark(), and opunlink().

Here is the call graph for this function:

boolean oppushunmarkundo hdlheadrecord  hnode  ) 
 

Definition at line 162 of file opstructure.c.

References hnode, oppushundo(), and opundounmark().

Referenced by movetohotspotvisit(), and opmoveoutlinevisit().

Here is the call graph for this function:

static boolean opredodelete hdlheadrecord  hnode,
boolean  flundo
[static]
 

Definition at line 2229 of file opstructure.c.

References hnode, oppushundo(), and opundodelete().

Referenced by opdeletenode(), opdepositnewheadline(), opinsertstructure(), oppaste(), and opundodelete().

Here is the call graph for this function:

boolean opreorgcursor tydirection  dir,
long  units
 

Definition at line 1499 of file opstructure.c.

References tymoveinfo::dir, down, fl, tymoveinfo::hpre, i, nil, opbeforestrucchange(), opmoveoutlinevisit(), opvalidatecanmove(), opvisitmarked(), outlinedata, pushundoaction(), right, undomovestring, and up.

Referenced by opcmdmove(), opfunctionvalue(), and opmenuroutine().

Here is the call graph for this function:

static boolean opsafebarcursor hdlheadrecord  hdelete  )  [static]
 

Definition at line 919 of file opstructure.c.

References opchecksafenode().

Referenced by opdeletenode().

Here is the call graph for this function:

static boolean opsetbarcursorvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 2071 of file opstructure.c.

References hnode.

Referenced by opanymarked().

void opsetline1 hdlheadrecord  hline1  ) 
 

Definition at line 128 of file opstructure.c.

References tyoutlinerecord::hline1, and outlinedata.

Referenced by opcheckline1(), opchoosesafenodes(), opdeletenode(), opdeletesubvisit(), opdepositup(), and opexpand().

void opsetmark hdlheadrecord  hnode,
boolean  fl
 

Definition at line 2032 of file opstructure.c.

References h, tyheadrecord::headlinkleft, hnode, nil, opclearmarks(), and opclearmarkvisit().

Referenced by opclearallmarks(), opcmdclick(), opmarklevel(), opmotionkey(), and oppaste().

Here is the call graph for this function:

boolean opsettmpbitvisit hdlheadrecord  hnode,
ptrvoid  flset
 

Definition at line 2823 of file opstructure.c.

References boolean.

Referenced by browsercompareforcollision(), and opcleartmpbits().

boolean opsortlevel hdlheadrecord  hnode  ) 
 

Definition at line 1290 of file opstructure.c.

References bigstring, copystring(), ct, h, tyheadrecord::headlinkdown, hnode, i, initbeachball(), longinfinity, opanymarked(), opbeforestrucchange(), opcountatlevel(), opdepositup(), opgetsortstring(), opnodechanged(), oprepeatedbump(), opunlink(), pushundoaction(), right, rollbeachball(), stringlessthan(), undosortstring, and up.

Referenced by opfunctionvalue().

Here is the call graph for this function:

void opstartinternalchange void   ) 
 

Definition at line 70 of file opstructure.c.

References outlinedata.

Referenced by browserexpandvisit(), browserinsertagain(), browsermoveto(), browserpostcollapse(), browserpreexpand(), browsersortfolder(), clayrenamefile(), expandcancelledvisit(), initializetableoutline(), opcopymarkedvisit(), opcopysiblings(), opcopyvisit(), opgetselectedsuboutlinesvisit(), opinternaldeletenodewithupdate(), optextscraptooutline(), opunpacktexttooutline(), postcollapse(), preexpand(), and tableupdateoutlinesort().

static boolean optrytextcommand boolean(*)(void)  editroutine,
boolean  flneedselection,
boolean  flchanging
[static]
 

Definition at line 2160 of file opstructure.c.

References opeditgetselection(), and outlinedata.

Referenced by opclear(), opcopy(), opcut(), and oppaste().

Here is the call graph for this function:

static boolean opundodelete hdlheadrecord  hnode,
boolean  flundo
[static]
 

Definition at line 2238 of file opstructure.c.

References hnode, opdisposenode(), oppushundo(), and opredodelete().

Referenced by opdeletenode(), and opredodelete().

Here is the call graph for this function:

static boolean opundodeposit hdlheadrecord  hnode,
boolean  flundo
[static]
 

Definition at line 178 of file opstructure.c.

References hnode, and opunlink().

Referenced by oppushdepositundo().

Here is the call graph for this function:

static boolean opundonewsummit hdlheadrecord  hnode,
boolean  flundo
[static]
 

Definition at line 2283 of file opstructure.c.

References assert, hnode, tyoutlinerecord::hsummit, oppushundo(), and outlinedata.

Referenced by opdeletenode().

Here is the call graph for this function:

static boolean opundounlink hdldepositinfo  hdepositinfo,
boolean  flundo
[static]
 

Definition at line 257 of file opstructure.c.

References disposehandle(), tydepositinfo::hdeposit, tyheadrecord::headlevel, opdeposit(), opexpandto(), and opresetlevels().

Referenced by opunlink().

Here is the call graph for this function:

static boolean opundounmark hdlheadrecord  hnode,
boolean  flundo
[static]
 

Definition at line 138 of file opstructure.c.

References hnode, and oppushundo().

Referenced by oppushunmarkundo().

Here is the call graph for this function:

void opunlink hdlheadrecord  hnode  ) 
 

Definition at line 289 of file opstructure.c.

References assert, tydepositinfo::dir, down, h, tydepositinfo::hdeposit, tyheadrecord::headlinkdown, tyheadrecord::headlinkup, hnode, tydepositinfo::hpre, longsizeof, newfilledhandle(), nil, opchoosesafenodes(), opdeletelinecallback(), opnodechanged(), oppushundo(), opundounlink(), right, and up.

Referenced by browserinsertagain(), initializetableoutline(), movetohotspotvisit(), opdeletelistnode(), opdeletenode(), opmoveoutlinedown(), opmoveoutlineleft(), opmoveoutlineright(), opmoveoutlineup(), opsortlevel(), opundodeposit(), and tableupdateoutlinesort().

Here is the call graph for this function:

static boolean opvalidatecanmove hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1414 of file opstructure.c.

References down, tyheadrecord::headlinkdown, tyheadrecord::headlinkleft, tyheadrecord::headlinkup, hnode, left, nil, outlinedata, right, and up.

Referenced by opreorgcursor().

static boolean opvalidatemovevisit hdlheadrecord  hnode,
tymoveinfo moveinfo
[static]
 

Definition at line 1568 of file opstructure.c.

References hnode.

Referenced by opdemote(), and oppromote().


Variable Documentation

hdlheadrecord hfirstscrap [static]
 

Definition at line 2117 of file opstructure.c.

Referenced by opcopy(), and opcopymarkedvisit().

hdlheadrecord hlastscrap [static]
 

Definition at line 2117 of file opstructure.c.

Referenced by opcopy(), and opcopymarkedvisit().

hdlscreenmap hundomap [static]
 

Definition at line 58 of file opstructure.c.

Referenced by opafterundo(), and opbeforeundo().


Generated on Thu Jun 8 11:10:34 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6