home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / code / wxwin140 / utils / hytext / docs / classes.tex next >
LaTeX Document  |  1995-05-19  |  19.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Corel 10 Texture (image/corel10Texture) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 68 65 6c 70 69 67 6e | 6f 72 65 7b 0a 5c 63 68 |\helpign|ore{.\ch|
|00000010| 61 70 74 65 72 7b 43 6c | 61 73 73 65 73 20 61 6e |apter{Cl|asses an|
|00000020| 64 20 64 61 74 61 20 74 | 79 70 65 73 7d 0a 0a 54 |d data t|ypes}..T|
|00000030| 68 65 20 6d 65 6d 62 65 | 72 20 66 75 6e 63 74 69 |he membe|r functi|
|00000040| 6f 6e 73 20 61 72 65 20 | 67 69 76 65 6e 20 69 6e |ons are |given in|
|00000050| 20 61 6c 70 68 61 62 65 | 74 69 63 61 6c 20 6f 72 | alphabe|tical or|
|00000060| 64 65 72 20 65 78 63 65 | 70 74 20 66 6f 72 20 74 |der exce|pt for t|
|00000070| 68 65 0a 63 6f 6e 73 74 | 72 75 63 74 6f 72 73 20 |he.const|ructors |
|00000080| 61 6e 64 20 64 65 73 74 | 72 75 63 74 6f 72 73 20 |and dest|ructors |
|00000090| 77 68 69 63 68 20 61 70 | 70 65 61 72 20 66 69 72 |which ap|pear fir|
|000000a0| 73 74 2e 0a 7d 0a 0a 5c | 73 65 63 74 69 6f 6e 7b |st..}..\|section{|
|000000b0| 5c 63 6c 61 73 73 7b 77 | 78 48 54 4d 61 70 70 69 |\class{w|xHTMappi|
|000000c0| 6e 67 53 74 72 75 63 74 | 75 72 65 7d 3a 20 77 78 |ngStruct|ure}: wx|
|000000d0| 4f 62 6a 65 63 74 7d 0a | 0a 54 68 69 73 20 63 6c |Object}.|.This cl|
|000000e0| 61 73 73 20 69 73 20 75 | 73 65 64 20 66 6f 72 20 |ass is u|sed for |
|000000f0| 73 74 6f 72 69 6e 67 20 | 6d 61 70 70 69 6e 67 20 |storing |mapping |
|00000100| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 66 6f 72 20 |informat|ion for |
|00000110| 61 20 62 6c 6f 63 6b 20 | 74 79 70 65 2e 0a 0a 5c |a block |type...\|
|00000120| 6d 65 6d 62 65 72 73 65 | 63 74 69 6f 6e 7b 77 78 |memberse|ction{wx|
|00000130| 48 54 4d 61 70 70 69 6e | 67 53 74 72 75 63 74 75 |HTMappin|gStructu|
|00000140| 72 65 3a 3a 77 78 48 54 | 4d 61 70 70 69 6e 67 53 |re::wxHT|MappingS|
|00000150| 74 72 75 63 74 75 72 65 | 7d 0a 0a 5c 66 75 6e 63 |tructure|}..\func|
|00000160| 7b 76 6f 69 64 7d 7b 77 | 78 48 54 4d 61 70 70 69 |{void}{w|xHTMappi|
|00000170| 6e 67 53 74 72 75 63 74 | 75 72 65 7d 7b 5c 70 61 |ngStruct|ure}{\pa|
|00000180| 72 61 6d 7b 69 6e 74 7d | 7b 20 62 6c 6f 63 6b 54 |ram{int}|{ blockT|
|00000190| 79 70 65 7d 2c 20 5c 70 | 61 72 61 6d 7b 69 6e 74 |ype}, \p|aram{int|
|000001a0| 7d 7b 20 74 65 78 74 53 | 69 7a 65 7d 2c 20 5c 70 |}{ textS|ize}, \p|
|000001b0| 61 72 61 6d 7b 69 6e 74 | 7d 7b 20 74 65 78 74 46 |aram{int|}{ textF|
|000001c0| 61 6d 69 6c 79 7d 2c 20 | 5c 70 61 72 61 6d 7b 69 |amily}, |\param{i|
|000001d0| 6e 74 7d 7b 20 74 65 78 | 74 53 74 79 6c 65 7d 2c |nt}{ tex|tStyle},|
|000001e0| 5c 5c 0a 5c 70 61 72 61 | 6d 7b 69 6e 74 7d 7b 20 |\\.\para|m{int}{ |
|000001f0| 74 65 78 74 57 65 69 67 | 68 74 7d 2c 20 5c 70 61 |textWeig|ht}, \pa|
|00000200| 72 61 6d 7b 63 68 61 72 | 20 2a 7d 7b 74 65 78 74 |ram{char| *}{text|
|00000210| 43 6f 6c 6f 75 72 7d 2c | 20 5c 70 61 72 61 6d 7b |Colour},| \param{|
|00000220| 63 68 61 72 20 2a 7d 7b | 6e 61 6d 65 7d 2c 20 5c |char *}{|name}, \|
|00000230| 70 61 72 61 6d 7b 69 6e | 74 7d 7b 20 61 74 74 72 |param{in|t}{ attr|
|00000240| 69 62 75 74 65 20 3d 20 | 77 78 48 59 50 45 52 5c |ibute = |wxHYPER\|
|00000250| 5f 4e 4f 4e 45 7d 2c 5c | 5c 0a 5c 70 61 72 61 6d |_NONE},\|\.\param|
|00000260| 7b 69 6e 74 7d 7b 20 76 | 69 73 69 62 69 6c 69 74 |{int}{ v|isibilit|
|00000270| 79 20 3d 20 54 52 55 45 | 7d 7d 0a 0a 43 6f 6e 73 |y = TRUE|}}..Cons|
|00000280| 74 72 75 63 74 6f 72 2e | 0a 0a 5c 6d 65 6d 62 65 |tructor.|..\membe|
|00000290| 72 73 65 63 74 69 6f 6e | 7b 77 78 48 54 4d 61 70 |rsection|{wxHTMap|
|000002a0| 70 69 6e 67 53 74 72 75 | 63 74 75 72 65 3a 3a 5c |pingStru|cture::\|
|000002b0| 64 65 73 74 72 75 63 74 | 7b 77 78 48 54 4d 61 70 |destruct|{wxHTMap|
|000002c0| 70 69 6e 67 53 74 72 75 | 63 74 75 72 65 7d 7d 0a |pingStru|cture}}.|
|000002d0| 0a 5c 66 75 6e 63 7b 76 | 6f 69 64 7d 7b 5c 64 65 |.\func{v|oid}{\de|
|000002e0| 73 74 72 75 63 74 7b 77 | 78 48 54 4d 61 70 70 69 |struct{w|xHTMappi|
|000002f0| 6e 67 53 74 72 75 63 74 | 75 72 65 7d 7d 7b 5c 76 |ngStruct|ure}}{\v|
|00000300| 6f 69 64 7d 0a 0a 44 65 | 73 74 72 75 63 74 6f 72 |oid}..De|structor|
|00000310| 2e 0a 0a 5c 6d 65 6d 62 | 65 72 73 65 63 74 69 6f |...\memb|ersectio|
|00000320| 6e 7b 77 78 48 54 4d 61 | 70 70 69 6e 67 53 74 72 |n{wxHTMa|ppingStr|
|00000330| 75 63 74 75 72 65 3a 3a | 43 6f 70 79 7d 0a 0a 5c |ucture::|Copy}..\|
|00000340| 66 75 6e 63 7b 77 78 48 | 54 4d 61 70 70 69 6e 67 |func{wxH|TMapping|
|00000350| 53 74 72 75 63 74 75 72 | 65 20 2a 7d 7b 43 6f 70 |Structur|e *}{Cop|
|00000360| 79 7d 7b 5c 76 6f 69 64 | 7d 0a 0a 43 6f 70 69 65 |y}{\void|}..Copie|
|00000370| 73 20 74 68 65 20 73 74 | 72 75 63 74 75 72 65 2e |s the st|ructure.|
|00000380| 0a 0a 5c 6d 65 6d 62 65 | 72 73 65 63 74 69 6f 6e |..\membe|rsection|
|00000390| 7b 77 78 48 54 4d 61 70 | 70 69 6e 67 53 74 72 75 |{wxHTMap|pingStru|
|000003a0| 63 74 75 72 65 3a 3a 47 | 65 74 46 6f 6e 74 7d 0a |cture::G|etFont}.|
|000003b0| 0a 5c 66 75 6e 63 7b 77 | 78 46 6f 6e 74 20 2a 7d |.\func{w|xFont *}|
|000003c0| 7b 47 65 74 46 6f 6e 74 | 7d 7b 5c 76 6f 69 64 7d |{GetFont|}{\void}|
|000003d0| 0a 0a 46 69 6e 64 73 20 | 6f 72 20 63 72 65 61 74 |..Finds |or creat|
|000003e0| 65 73 20 61 20 66 6f 6e | 74 20 6d 61 74 63 68 69 |es a fon|t matchi|
|000003f0| 6e 67 20 74 68 65 20 63 | 68 61 72 61 63 74 65 72 |ng the c|haracter|
|00000400| 69 73 74 69 63 73 20 73 | 74 6f 72 65 64 20 69 6e |istics s|tored in|
|00000410| 20 74 68 69 73 0a 73 74 | 72 75 63 74 75 72 65 2e | this.st|ructure.|
|00000420| 0a 0a 5c 73 65 63 74 69 | 6f 6e 7b 5c 63 6c 61 73 |..\secti|on{\clas|
|00000430| 73 7b 77 78 48 79 70 65 | 72 54 65 78 74 4d 61 70 |s{wxHype|rTextMap|
|00000440| 70 69 6e 67 7d 3a 20 77 | 78 4c 69 73 74 7d 0a 0a |ping}: w|xList}..|
|00000450| 41 6e 20 6f 62 6a 65 63 | 74 20 6f 66 20 74 68 69 |An objec|t of thi|
|00000460| 73 20 63 6c 61 73 73 20 | 73 74 6f 72 65 73 20 61 |s class |stores a|
|00000470| 20 6c 69 73 74 20 6f 66 | 20 62 6c 6f 63 6b 20 6d | list of| block m|
|00000480| 61 70 70 69 6e 67 20 73 | 74 72 75 63 74 75 72 65 |apping s|tructure|
|00000490| 73 2e 20 54 68 65 0a 70 | 72 6f 67 72 61 6d 6d 65 |s. The.p|rogramme|
|000004a0| 72 20 6e 65 65 64 73 20 | 74 6f 20 63 61 6c 6c 20 |r needs |to call |
|000004b0| 7b 5c 62 66 20 77 78 48 | 79 70 65 72 54 65 78 74 |{\bf wxH|yperText|
|000004c0| 57 69 6e 64 6f 77 3a 3a | 53 65 74 4d 61 70 70 69 |Window::|SetMappi|
|000004d0| 6e 67 7d 20 77 69 74 68 | 20 61 6e 0a 6f 62 6a 65 |ng} with| an.obje|
|000004e0| 63 74 20 6f 66 20 74 68 | 69 73 20 63 6c 61 73 73 |ct of th|is class|
|000004f0| 2c 20 74 6f 20 73 70 65 | 63 69 66 79 20 68 6f 77 |, to spe|cify how|
|00000500| 20 62 6c 6f 63 6b 73 20 | 61 72 65 20 69 6e 74 65 | blocks |are inte|
|00000510| 72 70 72 65 74 65 64 3b | 20 73 65 76 65 72 61 6c |rpreted;| several|
|00000520| 0a 69 6e 73 74 61 6e 63 | 65 73 20 6f 66 20 7b 5c |.instanc|es of {\|
|00000530| 62 66 20 77 78 48 79 70 | 65 72 54 65 78 74 57 69 |bf wxHyp|erTextWi|
|00000540| 6e 64 6f 77 7d 20 63 6f | 75 6c 64 20 6d 61 6b 65 |ndow} co|uld make|
|00000550| 20 75 73 65 20 6f 66 20 | 74 68 65 20 73 61 6d 65 | use of |the same|
|00000560| 20 7b 5c 62 66 0a 77 78 | 48 79 70 65 72 54 65 78 | {\bf.wx|HyperTex|
|00000570| 74 4d 61 70 70 69 6e 67 | 7d 2e 0a 0a 5c 6d 65 6d |tMapping|}...\mem|
|00000580| 62 65 72 73 65 63 74 69 | 6f 6e 7b 77 78 48 79 70 |bersecti|on{wxHyp|
|00000590| 65 72 54 65 78 74 4d 61 | 70 70 69 6e 67 3a 3a 77 |erTextMa|pping::w|
|000005a0| 78 48 79 70 65 72 54 65 | 78 74 4d 61 70 70 69 6e |xHyperTe|xtMappin|
|000005b0| 67 7d 0a 0a 5c 66 75 6e | 63 7b 76 6f 69 64 7d 7b |g}..\fun|c{void}{|
|000005c0| 77 78 48 79 70 65 72 54 | 65 78 74 4d 61 70 70 69 |wxHyperT|extMappi|
|000005d0| 6e 67 7d 7b 5c 76 6f 69 | 64 7d 0a 0a 43 6f 6e 73 |ng}{\voi|d}..Cons|
|000005e0| 74 72 75 63 74 6f 72 2e | 0a 0a 5c 6d 65 6d 62 65 |tructor.|..\membe|
|000005f0| 72 73 65 63 74 69 6f 6e | 7b 77 78 48 79 70 65 72 |rsection|{wxHyper|
|00000600| 54 65 78 74 4d 61 70 70 | 69 6e 67 3a 3a 5c 64 65 |TextMapp|ing::\de|
|00000610| 73 74 72 75 63 74 7b 77 | 78 48 79 70 65 72 54 65 |struct{w|xHyperTe|
|00000620| 78 74 4d 61 70 70 69 6e | 67 7d 7d 0a 0a 5c 66 75 |xtMappin|g}}..\fu|
|00000630| 6e 63 7b 76 6f 69 64 7d | 7b 5c 64 65 73 74 72 75 |nc{void}|{\destru|
|00000640| 63 74 7b 77 78 48 79 70 | 65 72 54 65 78 74 4d 61 |ct{wxHyp|erTextMa|
|00000650| 70 70 69 6e 67 7d 7d 7b | 5c 76 6f 69 64 7d 0a 0a |pping}}{|\void}..|
|00000660| 44 65 73 74 72 75 63 74 | 6f 72 2e 0a 0a 5c 6d 65 |Destruct|or...\me|
|00000670| 6d 62 65 72 73 65 63 74 | 69 6f 6e 7b 77 78 48 79 |mbersect|ion{wxHy|
|00000680| 70 65 72 54 65 78 74 4d | 61 70 70 69 6e 67 3a 3a |perTextM|apping::|
|00000690| 41 64 64 4d 61 70 70 69 | 6e 67 7d 0a 0a 5c 66 75 |AddMappi|ng}..\fu|
|000006a0| 6e 63 7b 76 6f 69 64 7d | 7b 41 64 64 4d 61 70 70 |nc{void}|{AddMapp|
|000006b0| 69 6e 67 7d 7b 5c 70 61 | 72 61 6d 7b 69 6e 74 7d |ing}{\pa|ram{int}|
|000006c0| 7b 20 62 6c 6f 63 6b 54 | 79 70 65 7d 2c 20 5c 70 |{ blockT|ype}, \p|
|000006d0| 61 72 61 6d 7b 69 6e 74 | 7d 7b 20 74 65 78 74 53 |aram{int|}{ textS|
|000006e0| 69 7a 65 7d 2c 20 5c 70 | 61 72 61 6d 7b 69 6e 74 |ize}, \p|aram{int|
|000006f0| 7d 7b 20 74 65 78 74 46 | 61 6d 69 6c 79 7d 2c 20 |}{ textF|amily}, |
|00000700| 5c 70 61 72 61 6d 7b 69 | 6e 74 7d 7b 20 74 65 78 |\param{i|nt}{ tex|
|00000710| 74 53 74 79 6c 65 7d 2c | 5c 5c 0a 5c 70 61 72 61 |tStyle},|\\.\para|
|00000720| 6d 7b 69 6e 74 7d 7b 20 | 74 65 78 74 57 65 69 67 |m{int}{ |textWeig|
|00000730| 68 74 7d 2c 20 5c 70 61 | 72 61 6d 7b 63 68 61 72 |ht}, \pa|ram{char|
|00000740| 20 2a 7d 7b 20 74 65 78 | 74 43 6f 6c 6f 75 72 7d | *}{ tex|tColour}|
|00000750| 2c 20 5c 70 61 72 61 6d | 7b 63 68 61 72 20 2a 7d |, \param|{char *}|
|00000760| 7b 6e 61 6d 65 7d 2c 20 | 5c 70 61 72 61 6d 7b 69 |{name}, |\param{i|
|00000770| 6e 74 7d 7b 20 61 74 74 | 72 69 62 75 74 65 20 3d |nt}{ att|ribute =|
|00000780| 20 2d 31 7d 2c 5c 5c 0a | 5c 70 61 72 61 6d 7b 69 | -1},\\.|\param{i|
|00000790| 6e 74 7d 7b 20 76 69 73 | 69 62 69 6c 69 74 79 20 |nt}{ vis|ibility |
|000007a0| 3d 20 54 52 55 45 7d 7d | 0a 0a 41 64 64 73 20 61 |= TRUE}}|..Adds a|
|000007b0| 20 6d 61 70 70 69 6e 67 | 20 66 6f 72 20 61 20 62 | mapping| for a b|
|000007c0| 6c 6f 63 6b 20 74 79 70 | 65 2e 20 7b 5c 69 74 20 |lock typ|e. {\it |
|000007d0| 62 6c 6f 63 6b 54 79 70 | 65 7d 20 6d 75 73 74 20 |blockTyp|e} must |
|000007e0| 62 65 20 75 6e 69 71 75 | 65 2c 20 61 6e 64 0a 61 |be uniqu|e, and.a|
|000007f0| 6e 79 20 70 61 72 61 6d | 65 74 65 72 73 20 77 68 |ny param|eters wh|
|00000800| 69 63 68 20 68 61 76 65 | 20 74 68 65 20 64 65 66 |ich have| the def|
|00000810| 61 75 6c 74 20 76 61 6c | 75 65 20 28 2d 31 20 66 |ault val|ue (-1 f|
|00000820| 6f 72 20 69 6e 74 65 67 | 65 72 73 2c 20 4e 55 4c |or integ|ers, NUL|
|00000830| 4c 20 66 6f 72 0a 73 74 | 72 69 6e 67 73 29 20 77 |L for.st|rings) w|
|00000840| 69 6c 6c 20 62 65 20 69 | 6e 73 74 61 6e 74 69 61 |ill be i|nstantia|
|00000850| 74 65 64 20 61 63 63 6f | 72 64 69 6e 67 20 74 6f |ted acco|rding to|
|00000860| 20 74 68 65 20 63 6f 6e | 74 65 78 74 20 6f 66 20 | the con|text of |
|00000870| 74 68 65 20 62 6c 6f 63 | 6b 2e 0a 54 68 61 74 20 |the bloc|k..That |
|00000880| 69 73 2c 20 69 66 20 61 | 20 62 6c 6f 63 6b 20 69 |is, if a| block i|
|00000890| 73 20 6e 65 73 74 65 64 | 20 77 69 74 68 20 61 6e |s nested| with an|
|000008a0| 6f 74 68 65 72 20 62 6c | 6f 63 6b 2c 20 74 68 65 |other bl|ock, the|
|000008b0| 20 6f 75 74 65 72 20 62 | 6c 6f 63 6b 27 73 0a 63 | outer b|lock's.c|
|000008c0| 68 61 72 61 63 74 65 72 | 69 73 74 69 63 73 20 61 |haracter|istics a|
|000008d0| 72 65 20 75 73 65 64 20 | 74 6f 20 66 69 6c 6c 20 |re used |to fill |
|000008e0| 69 6e 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 76 |in the d|efault v|
|000008f0| 61 6c 75 65 73 2e 0a 0a | 53 65 65 20 7b 5c 74 74 |alues...|See {\tt|
|00000900| 20 77 78 68 65 6c 70 2e | 63 63 7d 20 66 6f 72 20 | wxhelp.|cc} for |
|00000910| 65 78 61 6d 70 6c 65 73 | 2e 0a 0a 5c 6d 65 6d 62 |examples|...\memb|
|00000920| 65 72 73 65 63 74 69 6f | 6e 7b 77 78 48 79 70 65 |ersectio|n{wxHype|
|00000930| 72 54 65 78 74 4d 61 70 | 70 69 6e 67 3a 3a 43 6c |rTextMap|ping::Cl|
|00000940| 65 61 72 4d 61 70 70 69 | 6e 67 7d 0a 0a 5c 66 75 |earMappi|ng}..\fu|
|00000950| 6e 63 7b 76 6f 69 64 7d | 7b 43 6c 65 61 72 4d 61 |nc{void}|{ClearMa|
|00000960| 70 70 69 6e 67 7d 7b 5c | 76 6f 69 64 7d 0a 0a 44 |pping}{\|void}..D|
|00000970| 65 6c 65 74 65 73 20 61 | 6c 6c 20 6d 65 6d 62 65 |eletes a|ll membe|
|00000980| 72 73 20 6f 66 20 74 68 | 65 20 6d 61 70 70 69 6e |rs of th|e mappin|
|00000990| 67 20 6c 69 73 74 2e 0a | 0a 5c 6d 65 6d 62 65 72 |g list..|.\member|
|000009a0| 73 65 63 74 69 6f 6e 7b | 77 78 48 79 70 65 72 54 |section{|wxHyperT|
|000009b0| 65 78 74 4d 61 70 70 69 | 6e 67 3a 3a 46 69 6e 64 |extMappi|ng::Find|
|000009c0| 42 79 4e 61 6d 65 7d 0a | 0a 5c 66 75 6e 63 7b 76 |ByName}.|.\func{v|
|000009d0| 6f 69 64 7d 7b 46 69 6e | 64 42 79 4e 61 6d 65 7d |oid}{Fin|dByName}|
|000009e0| 7b 5c 70 61 72 61 6d 7b | 63 68 61 72 20 2a 7d 7b |{\param{|char *}{|
|000009f0| 6e 61 6d 65 7d 7d 0a 0a | 46 69 6e 64 73 20 61 20 |name}}..|Finds a |
|00000a00| 6d 61 70 70 69 6e 67 20 | 73 74 72 75 63 74 75 72 |mapping |structur|
|00000a10| 65 20 62 79 20 6e 61 6d | 65 2e 0a 0a 5c 6d 65 6d |e by nam|e...\mem|
|00000a20| 62 65 72 73 65 63 74 69 | 6f 6e 7b 77 78 48 79 70 |bersecti|on{wxHyp|
|00000a30| 65 72 54 65 78 74 4d 61 | 70 70 69 6e 67 3a 3a 47 |erTextMa|pping::G|
|00000a40| 65 74 4d 61 70 70 69 6e | 67 7d 0a 0a 5c 66 75 6e |etMappin|g}..\fun|
|00000a50| 63 7b 42 6f 6f 6c 7d 7b | 47 65 74 4d 61 70 70 69 |c{Bool}{|GetMappi|
|00000a60| 6e 67 7d 7b 5c 70 61 72 | 61 6d 7b 69 6e 74 20 7d |ng}{\par|am{int }|
|00000a70| 7b 62 6c 6f 63 6b 54 79 | 70 65 7d 2c 20 5c 70 61 |{blockTy|pe}, \pa|
|00000a80| 72 61 6d 7b 69 6e 74 20 | 2a 7d 7b 20 74 65 78 74 |ram{int |*}{ text|
|00000a90| 53 69 7a 65 7d 2c 20 5c | 70 61 72 61 6d 7b 69 6e |Size}, \|param{in|
|00000aa0| 74 20 2a 7d 7b 74 65 78 | 74 46 61 6d 69 6c 79 7d |t *}{tex|tFamily}|
|00000ab0| 2c 20 5c 70 61 72 61 6d | 7b 69 6e 74 20 2a 7d 7b |, \param|{int *}{|
|00000ac0| 74 65 78 74 53 74 79 6c | 65 7d 2c 5c 5c 0a 5c 70 |textStyl|e},\\.\p|
|00000ad0| 61 72 61 6d 7b 69 6e 74 | 20 2a 7d 7b 74 65 78 74 |aram{int| *}{text|
|00000ae0| 57 65 69 67 68 74 7d 2c | 20 5c 70 61 72 61 6d 7b |Weight},| \param{|
|00000af0| 63 68 61 72 20 2a 2a 7d | 7b 74 65 78 74 43 6f 6c |char **}|{textCol|
|00000b00| 6f 75 72 7d 2c 20 5c 70 | 61 72 61 6d 7b 63 68 61 |our}, \p|aram{cha|
|00000b10| 72 20 2a 2a 7d 7b 6e 61 | 6d 65 7d 2c 20 5c 70 61 |r **}{na|me}, \pa|
|00000b20| 72 61 6d 7b 69 6e 74 20 | 2a 7d 7b 61 74 74 72 69 |ram{int |*}{attri|
|00000b30| 62 75 74 65 7d 2c 5c 5c | 0a 5c 70 61 72 61 6d 7b |bute},\\|.\param{|
|00000b40| 69 6e 74 20 2a 7d 7b 76 | 69 73 69 62 69 6c 69 74 |int *}{v|isibilit|
|00000b50| 79 7d 7d 0a 0a 47 65 74 | 73 20 6d 61 70 70 69 6e |y}}..Get|s mappin|
|00000b60| 67 20 76 61 6c 75 65 73 | 20 66 6f 72 20 61 20 67 |g values| for a g|
|00000b70| 69 76 65 6e 20 62 6c 6f | 63 6b 2c 20 72 65 74 75 |iven blo|ck, retu|
|00000b80| 72 6e 69 6e 67 20 46 41 | 4c 53 45 20 69 66 20 6e |rning FA|LSE if n|
|00000b90| 6f 74 20 66 6f 75 6e 64 | 2e 0a 0a 5c 73 65 63 74 |ot found|...\sect|
|00000ba0| 69 6f 6e 7b 5c 63 6c 61 | 73 73 7b 77 78 48 79 70 |ion{\cla|ss{wxHyp|
|00000bb0| 65 72 54 65 78 74 57 69 | 6e 64 6f 77 7d 3a 20 77 |erTextWi|ndow}: w|
|00000bc0| 78 43 61 6e 76 61 73 7d | 0a 0a 4f 62 6a 65 63 74 |xCanvas}|..Object|
|00000bd0| 73 20 6f 66 20 74 68 69 | 73 20 63 6c 61 73 73 20 |s of thi|s class |
|00000be0| 72 65 70 72 65 73 65 6e | 74 20 61 20 63 61 6e 76 |represen|t a canv|
|00000bf0| 61 73 20 6f 6e 20 77 68 | 69 63 68 20 68 79 70 65 |as on wh|ich hype|
|00000c00| 72 74 65 78 74 20 66 69 | 6c 65 73 20 61 72 65 0a |rtext fi|les are.|
|00000c10| 64 72 61 77 6e 2e 20 20 | 4d 6f 73 74 20 6f 66 20 |drawn. |Most of |
|00000c20| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 61 6c 69 74 |the func|tionalit|
|00000c30| 79 20 6f 66 20 74 68 65 | 20 6c 69 62 72 61 72 79 |y of the| library|
|00000c40| 20 69 73 20 61 63 63 65 | 73 73 65 64 20 74 68 72 | is acce|ssed thr|
|00000c50| 6f 75 67 68 0a 74 68 69 | 73 20 63 6c 61 73 73 2e |ough.thi|s class.|
|00000c60| 0a 0a 4e 6f 74 65 20 74 | 68 61 74 20 74 68 65 20 |..Note t|hat the |
|00000c70| 63 6c 61 73 73 20 64 65 | 66 69 6e 65 73 20 62 65 |class de|fines be|
|00000c80| 68 61 76 69 6f 75 72 20 | 66 6f 72 20 7b 5c 62 66 |haviour |for {\bf|
|00000c90| 20 4f 6e 45 76 65 6e 74 | 7d 20 61 6e 64 20 7b 5c | OnEvent|} and {\|
|00000ca0| 62 66 20 4f 6e 50 61 69 | 6e 74 7d 2e 0a 0a 5c 6d |bf OnPai|nt}...\m|
|00000cb0| 65 6d 62 65 72 73 65 63 | 74 69 6f 6e 7b 77 78 48 |embersec|tion{wxH|
|00000cc0| 79 70 65 72 54 65 78 74 | 57 69 6e 64 6f 77 3a 3a |yperText|Window::|
|00000cd0| 77 78 48 79 70 65 72 54 | 65 78 74 57 69 6e 64 6f |wxHyperT|extWindo|
|00000ce0| 77 7d 0a 0a 5c 66 75 6e | 63 7b 76 6f 69 64 7d 7b |w}..\fun|c{void}{|
|00000cf0| 77 78 48 79 70 65 72 54 | 65 78 74 57 69 6e 64 6f |wxHyperT|extWindo|
|00000d00| 77 7d 7b 5c 70 61 72 61 | 6d 7b 77 78 46 72 61 6d |w}{\para|m{wxFram|
|00000d10| 65 20 2a 7d 7b 70 61 72 | 65 6e 74 7d 2c 20 5c 70 |e *}{par|ent}, \p|
|00000d20| 61 72 61 6d 7b 69 6e 74 | 7d 7b 20 78 7d 2c 20 5c |aram{int|}{ x}, \|
|00000d30| 70 61 72 61 6d 7b 69 6e | 74 7d 7b 20 79 7d 2c 0a |param{in|t}{ y},.|
|00000d40| 5c 70 61 72 61 6d 7b 69 | 6e 74 7d 7b 20 77 7d 2c |\param{i|nt}{ w},|
|00000d50| 20 5c 70 61 72 61 6d 7b | 69 6e 74 7d 7b 20 68 7d | \param{|int}{ h}|
|00000d60| 2c 20 5c 70 61 72 61 6d | 7b 69 6e 74 7d 7b 20 73 |, \param|{int}{ s|
|00000d70| 74 79 6c 65 7d 7d 0a 0a | 43 6f 6e 73 74 72 75 63 |tyle}}..|Construc|
|00000d80| 74 6f 72 3b 20 66 6f 72 | 20 64 65 74 61 69 6c 73 |tor; for| details|
|00000d90| 20 73 65 65 20 7b 5c 62 | 66 20 77 78 43 61 6e 76 | see {\b|f wxCanv|
|00000da0| 61 73 7d 20 69 6e 20 74 | 68 65 20 77 78 57 69 6e |as} in t|he wxWin|
|00000db0| 64 6f 77 73 20 63 6c 61 | 73 73 20 72 65 66 65 72 |dows cla|ss refer|
|00000dc0| 65 6e 63 65 2e 0a 0a 5c | 6d 65 6d 62 65 72 73 65 |ence...\|memberse|
|00000dd0| 63 74 69 6f 6e 7b 77 78 | 48 79 70 65 72 54 65 78 |ction{wx|HyperTex|
|00000de0| 74 57 69 6e 64 6f 77 3a | 3a 5c 64 65 73 74 72 75 |tWindow:|:\destru|
|00000df0| 63 74 7b 77 78 48 79 70 | 65 72 54 65 78 74 57 69 |ct{wxHyp|erTextWi|
|00000e00| 6e 64 6f 77 7d 7d 0a 0a | 5c 66 75 6e 63 7b 76 6f |ndow}}..|\func{vo|
|00000e10| 69 64 7d 7b 5c 64 65 73 | 74 72 75 63 74 7b 77 78 |id}{\des|truct{wx|
|00000e20| 48 79 70 65 72 54 65 78 | 74 57 69 6e 64 6f 77 7d |HyperTex|tWindow}|
|00000e30| 7d 7b 5c 76 6f 69 64 7d | 0a 0a 44 65 73 74 72 75 |}{\void}|..Destru|
|00000e40| 63 74 6f 72 2e 0a 0a 5c | 6d 65 6d 62 65 72 73 65 |ctor...\|memberse|
|00000e50| 63 74 69 6f 6e 7b 77 78 | 48 79 70 65 72 54 65 78 |ction{wx|HyperTex|
|00000e60| 74 57 69 6e 64 6f 77 3a | 3a 41 64 64 42 6c 6f 63 |tWindow:|:AddBloc|
|00000e70| 6b 7d 0a 0a 5c 66 75 6e | 63 7b 42 6f 6f 6c 7d 7b |k}..\fun|c{Bool}{|
|00000e80| 41 64 64 42 6c 6f 63 6b | 7d 7b 5c 70 61 72 61 6d |AddBlock|}{\param|
|00000e90| 7b 69 6e 74 7d 7b 20 78 | 53 74 61 72 74 7d 2c 20 |{int}{ x|Start}, |
|00000ea0| 5c 70 61 72 61 6d 7b 69 | 6e 74 7d 7b 20 79 53 74 |\param{i|nt}{ ySt|
|00000eb0| 61 72 74 7d 2c 20 5c 70 | 61 72 61 6d 7b 69 6e 74 |art}, \p|aram{int|
|00000ec0| 7d 7b 20 78 45 6e 64 7d | 2c 20 5c 70 61 72 61 6d |}{ xEnd}|, \param|
|00000ed0| 7b 69 6e 74 7d 7b 20 79 | 45 6e 64 7d 2c 20 5c 70 |{int}{ y|End}, \p|
|00000ee0| 61 72 61 6d 7b 69 6e 74 | 7d 7b 20 62 6c 6f 63 6b |aram{int|}{ block|
|00000ef0| 54 79 70 65 7d 2c 20 5c | 70 61 72 61 6d 7b 69 6e |Type}, \|param{in|
|00000f00| 74 7d 7b 20 62 6c 6f 63 | 6b 49 64 7d 7d 0a 0a 41 |t}{ bloc|kId}}..A|
|00000f10| 64 64 73 20 61 20 62 6c | 6f 63 6b 20 66 72 6f 6d |dds a bl|ock from|
|00000f20| 20 74 68 65 20 66 69 72 | 73 74 20 72 6f 77 2f 63 | the fir|st row/c|
|00000f30| 6f 6c 75 6d 6e 20 74 6f | 20 74 68 65 20 73 65 63 |olumn to| the sec|
|00000f40| 6f 6e 64 20 72 6f 77 2f | 63 6f 6c 75 6d 6e 2c 20 |ond row/|column, |
|00000f50| 77 69 74 68 0a 67 69 76 | 65 6e 20 74 79 70 65 20 |with.giv|en type |
|00000f60| 61 6e 64 20 75 6e 69 71 | 75 65 20 69 64 65 6e 74 |and uniq|ue ident|
|00000f70| 69 66 69 65 72 2e 20 54 | 68 65 20 64 69 73 70 6c |ifier. T|he displ|
|00000f80| 61 79 20 77 69 6c 6c 20 | 6e 6f 74 20 63 68 61 6e |ay will |not chan|
|00000f90| 67 65 20 75 6e 74 69 6c | 0a 74 68 65 20 66 75 6e |ge until|.the fun|
|00000fa0| 63 74 69 6f 6e 73 20 7b | 5c 62 66 20 43 6f 6d 70 |ctions {|\bf Comp|
|00000fb0| 69 6c 65 7d 20 61 6e 64 | 20 7b 5c 62 66 20 44 69 |ile} and| {\bf Di|
|00000fc0| 73 70 6c 61 79 46 69 6c | 65 41 74 7d 20 61 72 65 |splayFil|eAt} are|
|00000fd0| 20 63 61 6c 6c 65 64 2e | 0a 0a 5c 6d 65 6d 62 65 | called.|..\membe|
|00000fe0| 72 73 65 63 74 69 6f 6e | 7b 77 78 48 79 70 65 72 |rsection|{wxHyper|
|00000ff0| 54 65 78 74 57 69 6e 64 | 6f 77 3a 3a 43 6c 65 61 |TextWind|ow::Clea|
|00001000| 72 42 6c 6f 63 6b 7d 0a | 0a 5c 66 75 6e 63 7b 42 |rBlock}.|.\func{B|
|00001010| 6f 6f 6c 7d 7b 43 6c 65 | 61 72 42 6c 6f 63 6b 7d |ool}{Cle|arBlock}|
|00001020| 7b 5c 70 61 72 61 6d 7b | 69 6e 74 7d 7b 20 62 6c |{\param{|int}{ bl|
|00001030| 6f 63 6b 49 64 7d 7d 0a | 0a 43 6c 65 61 72 73 20 |ockId}}.|.Clears |
|00001040| 74 68 65 20 67 69 76 65 | 6e 20 62 6c 6f 63 6b 2e |the give|n block.|
|00001050| 20 54 68 65 20 64 69 73 | 70 6c 61 79 20 77 69 6c | The dis|play wil|
|00001060| 6c 20 6e 6f 74 20 63 68 | 61 6e 67 65 20 75 6e 74 |l not ch|ange unt|
|00001070| 69 6c 20 74 68 65 0a 66 | 75 6e 63 74 69 6f 6e 73 |il the.f|unctions|
|00001080| 20 7b 5c 62 66 20 43 6f | 6d 70 69 6c 65 7d 20 61 | {\bf Co|mpile} a|
|00001090| 6e 64 20 7b 5c 62 66 20 | 44 69 73 70 6c 61 79 46 |nd {\bf |DisplayF|
|000010a0| 69 6c 65 41 74 7d 20 61 | 72 65 20 63 61 6c 6c 65 |ileAt} a|re calle|
|000010b0| 64 2e 0a 0a 5c 6d 65 6d | 62 65 72 73 65 63 74 69 |d...\mem|bersecti|
|000010c0| 6f 6e 7b 77 78 48 79 70 | 65 72 54 65 78 74 57 69 |on{wxHyp|erTextWi|
|000010d0| 6e 64 6f 77 3a 3a 43 6c | 65 61 72 46 69 6c 65 7d |ndow::Cl|earFile}|
|000010e0| 0a 0a 5c 66 75 6e 63 7b | 76 6f 69 64 7d 7b 43 6c |..\func{|void}{Cl|
|000010f0| 65 61 72 46 69 6c 65 7d | 7b 5c 76 6f 69 64 7d 0a |earFile}|{\void}.|
|00001100| 0a 43 6c 65 61 72 73 20 | 74 68 65 20 63 75 72 72 |.Clears |the curr|
|00001110| 65 6e 74 20 68 79 70 65 | 72 74 65 78 74 20 66 69 |ent hype|rtext fi|
|00001120| 6c 65 2e 0a 0a 5c 6d 65 | 6d 62 65 72 73 65 63 74 |le...\me|mbersect|
|00001130| 69 6f 6e 7b 77 78 48 79 | 70 65 72 54 65 78 74 57 |ion{wxHy|perTextW|
|00001140| 69 6e 64 6f 77 3a 3a 43 | 6f 6d 70 69 6c 65 7d 0a |indow::C|ompile}.|
|00001150| 0a 5c 66 75 6e 63 7b 76 | 6f 69 64 7d 7b 43 6f 6d |.\func{v|oid}{Com|
|00001160| 70 69 6c 65 7d 7b 5c 76 | 6f 69 64 7d 0a 0a 43 6f |pile}{\v|oid}..Co|
|00001170| 6d 70 69 6c 65 73 20 74 | 68 65 20 63 75 72 72 65 |mpiles t|he curre|
|00001180| 6e 74 20 68 79 70 65 72 | 74 65 78 74 20 66 69 6c |nt hyper|text fil|
|00001190| 65 2c 20 74 68 61 74 20 | 69 73 2c 20 74 72 61 76 |e, that |is, trav|
|000011a0| 65 72 73 65 73 20 74 68 | 65 20 62 6c 6f 63 6b 0a |erses th|e block.|
|000011b0| 73 74 72 75 63 74 75 72 | 65 20 6f 66 20 74 68 65 |structur|e of the|
|000011c0| 20 66 69 6c 65 20 61 73 | 73 6f 63 69 61 74 69 6e | file as|sociatin|
|000011d0| 67 20 61 63 74 75 61 6c | 20 66 6f 6e 74 73 20 61 |g actual| fonts a|
|000011e0| 6e 64 20 6f 74 68 65 72 | 20 61 74 74 72 69 62 75 |nd other| attribu|
|000011f0| 74 65 73 20 74 6f 0a 74 | 65 78 74 20 63 68 75 6e |tes to.t|ext chun|
|00001200| 6b 73 2e 20 54 68 69 73 | 20 6d 75 73 74 20 62 65 |ks. This| must be|
|00001210| 20 64 6f 6e 65 20 62 65 | 66 6f 72 65 20 61 20 66 | done be|fore a f|
|00001220| 69 6c 65 20 6d 61 79 20 | 62 65 20 64 69 73 70 6c |ile may |be displ|
|00001230| 61 79 65 64 2c 20 61 6e | 64 20 6d 61 79 0a 61 6c |ayed, an|d may.al|
|00001240| 73 6f 20 72 65 71 75 69 | 72 65 20 74 68 65 20 66 |so requi|re the f|
|00001250| 75 6e 63 74 69 6f 6e 73 | 20 7b 5c 62 66 20 53 61 |unctions| {\bf Sa|
|00001260| 76 65 53 65 63 74 69 6f | 6e 7d 20 61 6e 64 20 7b |veSectio|n} and {|
|00001270| 5c 62 66 20 52 65 73 74 | 6f 72 65 53 65 63 74 69 |\bf Rest|oreSecti|
|00001280| 6f 6e 7d 0a 74 6f 20 62 | 65 20 63 61 6c 6c 65 64 |on}.to b|e called|
|00001290| 20 69 6e 20 6f 72 64 65 | 72 20 74 6f 20 73 61 76 | in orde|r to sav|
|000012a0| 65 20 61 6e 64 20 72 65 | 73 74 6f 72 65 20 74 68 |e and re|store th|
|000012b0| 65 20 63 75 72 72 65 6e | 74 20 70 6f 73 69 74 69 |e curren|t positi|
|000012c0| 6f 6e 20 69 6e 20 74 68 | 65 0a 66 69 6c 65 2c 20 |on in th|e.file, |
|000012d0| 73 69 6e 63 65 20 63 6f | 6d 70 69 6c 61 74 69 6f |since co|mpilatio|
|000012e0| 6e 20 64 65 73 74 72 6f | 79 73 20 73 65 63 74 69 |n destro|ys secti|
|000012f0| 6f 6e 20 70 6f 69 6e 74 | 65 72 73 2e 0a 0a 41 66 |on point|ers...Af|
|00001300| 74 65 72 20 61 20 7b 5c | 62 66 20 43 6f 6d 70 69 |ter a {\|bf Compi|
|00001310| 6c 65 7d 20 28 77 68 69 | 63 68 20 69 73 20 6e 65 |le} (whi|ch is ne|
|00001320| 63 65 73 73 61 72 79 20 | 61 66 74 65 72 20 6d 61 |cessary |after ma|
|00001330| 72 6b 69 6e 67 20 75 70 | 20 6f 72 20 61 6e 79 0a |rking up| or any.|
|00001340| 6f 70 65 72 61 74 69 6f | 6e 20 77 68 69 63 68 20 |operatio|n which |
|00001350| 61 66 66 65 63 74 73 20 | 74 68 65 20 64 69 73 70 |affects |the disp|
|00001360| 6c 61 79 29 20 74 68 65 | 20 66 69 6c 65 20 6d 75 |lay) the| file mu|
|00001370| 73 74 20 62 65 20 64 69 | 73 70 6c 61 79 65 64 20 |st be di|splayed |
|00001380| 77 69 74 68 0a 7b 5c 62 | 66 20 44 69 73 70 6c 61 |with.{\b|f Displa|
|00001390| 79 46 69 6c 65 41 74 7d | 20 6f 72 20 7b 5c 62 66 |yFileAt}| or {\bf|
|000013a0| 20 52 65 73 74 6f 72 65 | 53 65 63 74 69 6f 6e 7d | Restore|Section}|
|000013b0| 2e 0a 0a 5c 6d 65 6d 62 | 65 72 73 65 63 74 69 6f |...\memb|ersectio|
|000013c0| 6e 7b 77 78 48 79 70 65 | 72 54 65 78 74 57 69 6e |n{wxHype|rTextWin|
|000013d0| 64 6f 77 3a 3a 44 69 73 | 63 61 72 64 45 64 69 74 |dow::Dis|cardEdit|
|000013e0| 73 7d 0a 0a 5c 66 75 6e | 63 7b 76 6f 69 64 7d 7b |s}..\fun|c{void}{|
|000013f0| 44 69 73 63 61 72 64 45 | 64 69 74 73 7d 7b 5c 76 |DiscardE|dits}{\v|
|00001400| 6f 69 64 7d 0a 0a 44 69 | 73 63 61 72 64 73 20 61 |oid}..Di|scards a|
|00001410| 6e 79 20 65 64 69 74 73 | 20 28 6a 75 73 74 20 73 |ny edits| (just s|
|00001420| 65 74 73 20 74 68 65 20 | 69 6e 74 65 72 6e 61 6c |ets the |internal|
|00001430| 20 7b 5c 69 74 20 6d 6f | 64 69 66 69 65 64 7d 20 | {\it mo|dified} |
|00001440| 66 6c 61 67 20 74 6f 20 | 46 41 4c 53 45 29 2e 0a |flag to |FALSE)..|
|00001450| 0a 5c 6d 65 6d 62 65 72 | 73 65 63 74 69 6f 6e 7b |.\member|section{|
|00001460| 77 78 48 79 70 65 72 54 | 65 78 74 57 69 6e 64 6f |wxHyperT|extWindo|
|00001470| 77 3a 3a 44 69 73 70 6c | 61 79 46 69 6c 65 7d 0a |w::Displ|ayFile}.|
|00001480| 0a 5c 66 75 6e 63 7b 76 | 6f 69 64 7d 7b 44 69 73 |.\func{v|oid}{Dis|
|00001490| 70 6c 61 79 46 69 6c 65 | 7d 7b 5c 76 6f 69 64 7d |playFile|}{\void}|
|000014a0| 0a 0a 44 72 61 77 20 74 | 68 65 20 74 65 78 74 20 |..Draw t|he text |
|000014b0| 61 74 20 74 68 65 20 70 | 6f 69 6e 74 20 66 6f 75 |at the p|oint fou|
|000014c0| 6e 64 20 62 79 20 7b 5c | 62 66 20 44 69 73 70 6c |nd by {\|bf Displ|
|000014d0| 61 79 46 69 6c 65 41 74 | 7d 2e 0a 0a 5c 6d 65 6d |ayFileAt|}...\mem|
|000014e0| 62 65 72 73 65 63 74 69 | 6f 6e 7b 77 78 48 79 70 |bersecti|on{wxHyp|
|000014f0| 65 72 54 65 78 74 57 69 | 6e 64 6f 77 3a 3a 44 69 |erTextWi|ndow::Di|
|00001500| 73 70 6c 61 79 46 69 6c | 65 41 74 7d 0a 0a 5c 66 |splayFil|eAt}..\f|
|00001510| 75 6e 63 7b 76 6f 69 64 | 7d 7b 44 69 73 70 6c 61 |unc{void|}{Displa|
|00001520| 79 46 69 6c 65 41 74 7d | 7b 5c 70 61 72 61 6d 7b |yFileAt}|{\param{|
|00001530| 6c 6f 6e 67 7d 7b 20 62 | 6c 6f 63 6b 49 64 7d 2c |long}{ b|lockId},|
|00001540| 20 5c 70 61 72 61 6d 7b | 42 6f 6f 6c 20 7d 7b 72 | \param{|Bool }{r|
|00001550| 65 66 72 65 73 68 20 3d | 20 54 52 55 45 7d 7d 0a |efresh =| TRUE}}.|
|00001560| 0a 50 6f 73 69 74 69 6f | 6e 73 20 74 68 65 20 66 |.Positio|ns the f|
|00001570| 69 6c 65 20 61 74 20 74 | 68 65 20 67 69 76 65 6e |ile at t|he given|
|00001580| 20 62 6c 6f 63 6b 2c 20 | 64 72 61 77 69 6e 67 20 | block, |drawing |
|00001590| 74 68 65 20 74 65 78 74 | 20 6f 6e 6c 79 20 69 66 |the text| only if|
|000015a0| 20 7b 5c 69 74 20 72 65 | 66 72 65 73 68 7d 20 69 | {\it re|fresh} i|
|000015b0| 73 20 54 52 55 45 2e 0a | 49 66 20 7b 5c 69 74 20 |s TRUE..|If {\it |
|000015c0| 62 6c 6f 63 6b 49 64 7d | 20 69 73 20 2d 31 2c 20 |blockId}| is -1, |
|000015d0| 74 68 65 20 66 69 6c 65 | 20 69 73 20 64 69 73 70 |the file| is disp|
|000015e0| 6c 61 79 65 64 20 61 74 | 20 74 68 65 20 74 6f 70 |layed at| the top|
|000015f0| 2e 0a 0a 5c 6d 65 6d 62 | 65 72 73 65 63 74 69 6f |...\memb|ersectio|
|00001600| 6e 7b 77 78 48 79 70 65 | 72 54 65 78 74 57 69 6e |n{wxHype|rTextWin|
|00001610| 64 6f 77 3a 3a 44 69 73 | 70 6c 61 79 46 69 6c 65 |dow::Dis|playFile|
|00001620| 41 74 54 6f 70 7d 0a 0a | 5c 66 75 6e 63 7b 76 6f |AtTop}..|\func{vo|
|00001630| 69 64 7d 7b 44 69 73 70 | 6c 61 79 46 69 6c 65 41 |id}{Disp|layFileA|
|00001640| 74 54 6f 70 7d 7b 5c 76 | 6f 69 64 7d 0a 0a 44 69 |tTop}{\v|oid}..Di|
|00001650| 73 70 6c 61 79 73 20 74 | 68 65 20 66 69 6c 65 20 |splays t|he file |
|00001660| 61 74 20 74 68 65 20 74 | 6f 70 20 28 66 69 72 73 |at the t|op (firs|
|00001670| 74 20 73 65 63 74 69 6f | 6e 29 2e 0a 0a 5c 6d 65 |t sectio|n)...\me|
|00001680| 6d 62 65 72 73 65 63 74 | 69 6f 6e 7b 77 78 48 79 |mbersect|ion{wxHy|
|00001690| 70 65 72 54 65 78 74 57 | 69 6e 64 6f 77 3a 3a 44 |perTextW|indow::D|
|000016a0| 69 73 70 6c 61 79 4e 65 | 78 74 53 65 63 74 69 6f |isplayNe|xtSectio|
|000016b0| 6e 7d 0a 0a 5c 66 75 6e | 63 7b 76 6f 69 64 7d 7b |n}..\fun|c{void}{|
|000016c0| 44 69 73 70 6c 61 79 4e | 65 78 74 53 65 63 74 69 |DisplayN|extSecti|
|000016d0| 6f 6e 7d 7b 5c 76 6f 69 | 64 7d 0a 0a 46 69 6e 64 |on}{\voi|d}..Find|
|000016e0| 73 20 61 6e 64 20 64 69 | 73 70 6c 61 79 73 20 74 |s and di|splays t|
|000016f0| 68 65 20 6e 65 78 74 20 | 73 65 63 74 69 6f 6e 2e |he next |section.|
|00001700| 0a 0a 5c 6d 65 6d 62 65 | 72 73 65 63 74 69 6f 6e |..\membe|rsection|
|00001710| 7b 77 78 48 79 70 65 72 | 54 65 78 74 57 69 6e 64 |{wxHyper|TextWind|
|00001720| 6f 77 3a 3a 44 69 73 70 | 6c 61 79 50 72 65 76 69 |ow::Disp|layPrevi|
|00001730| 6f 75 73 53 65 63 74 69 | 6f 6e 7d 0a 0a 5c 66 75 |ousSecti|on}..\fu|
|00001740| 6e 63 7b 76 6f 69 64 7d | 7b 44 69 73 70 6c 61 79 |nc{void}|{Display|
|00001750| 50 72 65 76 69 6f 75 73 | 53 65 63 74 69 6f 6e 7d |Previous|Section}|
|00001760| 7b 5c 76 6f 69 64 7d 0a | 0a 46 69 6e 64 73 20 61 |{\void}.|.Finds a|
|00001770| 6e 64 20 64 69 73 70 6c | 61 79 73 20 74 68 65 20 |nd displ|ays the |
|00001780| 70 72 65 76 69 6f 75 73 | 20 73 65 63 74 69 6f 6e |previous| section|
|00001790| 2e 0a 0a 5c 6d 65 6d 62 | 65 72 73 65 63 74 69 6f |...\memb|ersectio|
|000017a0| 6e 7b 77 78 48 79 70 65 | 72 54 65 78 74 57 69 6e |n{wxHype|rTextWin|
|000017b0| 64 6f 77 3a 3a 44 72 61 | 77 4f 75 74 6c 69 6e 65 |dow::Dra|wOutline|
|000017c0| 7d 0a 0a 5c 66 75 6e 63 | 7b 76 6f 69 64 7d 7b 44 |}..\func|{void}{D|
|000017d0| 72 61 77 4f 75 74 6c 69 | 6e 65 7d 7b 5c 70 61 72 |rawOutli|ne}{\par|
|000017e0| 61 6d 7b 66 6c 6f 61 74 | 7d 7b 20 78 31 7d 2c 20 |am{float|}{ x1}, |
|000017f0| 5c 70 61 72 61 6d 7b 66 | 6c 6f 61 74 7d 7b 20 79 |\param{f|loat}{ y|
|00001800| 31 7d 2c 20 5c 70 61 72 | 61 6d 7b 66 6c 6f 61 74 |1}, \par|am{float|
|00001810| 7d 7b 20 78 32 7d 2c 20 | 5c 70 61 72 61 6d 7b 66 |}{ x2}, |\param{f|
|00001820| 6c 6f 61 74 7d 7b 20 79 | 32 7d 7d 0a 0a 44 72 61 |loat}{ y|2}}..Dra|
|00001830| 77 73 20 61 20 72 65 63 | 74 61 6e 67 75 6c 61 72 |ws a rec|tangular|
|00001840| 20 6f 75 74 6c 69 6e 65 | 20 66 6f 72 20 72 75 62 | outline| for rub|
|00001850| 62 65 72 2d 62 61 6e 64 | 69 6e 67 20 75 73 69 6e |ber-band|ing usin|
|00001860| 67 20 74 68 65 20 67 69 | 76 65 6e 0a 74 6f 70 2d |g the gi|ven.top-|
|00001870| 6c 65 66 74 20 61 6e 64 | 20 62 6f 74 74 6f 6d 2d |left and| bottom-|
|00001880| 72 69 67 68 74 20 63 6f | 6f 72 64 69 6e 61 74 65 |right co|ordinate|
|00001890| 73 0a 0a 5c 6d 65 6d 62 | 65 72 73 65 63 74 69 6f |s..\memb|ersectio|
|000018a0| 6e 7b 77 78 48 79 70 65 | 72 54 65 78 74 57 69 6e |n{wxHype|rTextWin|
|000018b0| 64 6f 77 3a 3a 46 69 6e | 64 42 6c 6f 63 6b 7d 0a |dow::Fin|dBlock}.|
|000018c0| 0a 5c 66 75 6e 63 7b 77 | 78 54 65 78 74 43 68 75 |.\func{w|xTextChu|
|000018d0| 6e 6b 20 2a 7d 7b 46 69 | 6e 64 42 6c 6f 63 6b 7d |nk *}{Fi|ndBlock}|
|000018e0| 7b 5c 70 61 72 61 6d 7b | 6c 6f 6e 67 7d 7b 20 62 |{\param{|long}{ b|
|000018f0| 6c 6f 63 6b 49 64 7d 7d | 0a 0a 46 6f 72 20 61 20 |lockId}}|..For a |
|00001900| 67 69 76 65 6e 20 62 6c | 6f 63 6b 20 69 64 2c 20 |given bl|ock id, |
|00001910| 72 65 74 75 72 6e 73 20 | 74 68 65 20 74 65 78 74 |returns |the text|
|00001920| 20 63 68 75 6e 6b 20 61 | 74 20 74 68 65 20 73 74 | chunk a|t the st|
|00001930| 61 72 74 20 6f 66 20 74 | 68 65 0a 62 6c 6f 63 6b |art of t|he.block|
|00001940| 2e 0a 0a 5c 6d 65 6d 62 | 65 72 73 65 63 74 69 6f |...\memb|ersectio|
|00001950| 6e 7b 77 78 48 79 70 65 | 72 54 65 78 74 57 69 6e |n{wxHype|rTextWin|
|00001960| 64 6f 77 3a 3a 46 69 6e | 64 42 6c 6f 63 6b 46 6f |dow::Fin|dBlockFo|
|00001970| 72 53 65 63 74 69 6f 6e | 7d 0a 0a 5c 66 75 6e 63 |rSection|}..\func|
|00001980| 7b 6c 6f 6e 67 7d 7b 46 | 69 6e 64 42 6c 6f 63 6b |{long}{F|indBlock|
|00001990| 46 6f 72 53 65 63 74 69 | 6f 6e 7d 7b 5c 70 61 72 |ForSecti|on}{\par|
|000019a0| 61 6d 7b 77 78 4e 6f 64 | 65 20 2a 7d 7b 73 65 63 |am{wxNod|e *}{sec|
|000019b0| 74 69 6f 6e 4e 6f 64 65 | 7d 7d 0a 0a 50 6f 69 6e |tionNode|}}..Poin|
|000019c0| 74 65 72 73 20 74 6f 20 | 62 6c 6f 63 6b 73 20 77 |ters to |blocks w|
|000019d0| 68 69 63 68 20 6d 61 72 | 6b 20 73 65 63 74 69 6f |hich mar|k sectio|
|000019e0| 6e 73 20 61 72 65 20 73 | 74 6f 72 65 64 20 69 6e |ns are s|tored in|
|000019f0| 20 74 68 65 20 64 61 74 | 61 20 6d 65 6d 62 65 72 | the dat|a member|
|00001a00| 0a 7b 5c 62 66 20 73 65 | 63 74 69 6f 6e 73 7d 2e |.{\bf se|ctions}.|
|00001a10| 20 54 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 74 | This fu|nction t|
|00001a20| 61 6b 65 73 20 61 20 6e | 6f 64 65 20 77 68 69 63 |akes a n|ode whic|
|00001a30| 68 20 69 73 20 6b 6e 6f | 77 6e 20 74 6f 20 70 6f |h is kno|wn to po|
|00001a40| 69 6e 74 0a 74 6f 20 61 | 20 74 65 78 74 20 63 68 |int.to a| text ch|
|00001a50| 75 6e 6b 20 6d 61 72 6b | 69 6e 67 20 61 20 62 6c |unk mark|ing a bl|
|00001a60| 6f 63 6b 2c 20 61 6e 64 | 20 72 65 74 75 72 6e 73 |ock, and| returns|
|00001a70| 20 74 68 65 20 62 6c 6f | 63 6b 20 69 64 2e 0a 54 | the blo|ck id..T|
|00001a80| 68 69 73 20 69 73 20 61 | 20 66 61 69 72 6c 79 20 |his is a| fairly |
|00001a90| 74 72 69 76 69 61 6c 20 | 66 75 6e 63 74 69 6f 6e |trivial |function|
|00001aa0| 20 73 69 6e 63 65 20 69 | 74 20 6a 75 73 74 20 67 | since i|t just g|
|00001ab0| 65 74 73 20 74 68 65 20 | 7b 5c 62 66 20 77 78 54 |ets the |{\bf wxT|
|00001ac0| 65 78 74 43 68 75 6e 6b | 7d 0a 66 72 6f 6d 20 74 |extChunk|}.from t|
|00001ad0| 68 65 20 6e 6f 64 65 20 | 61 6e 64 20 72 65 74 75 |he node |and retu|
|00001ae0| 72 6e 73 20 69 74 73 20 | 7b 5c 62 66 20 62 6c 6f |rns its |{\bf blo|
|00001af0| 63 6b 5c 5f 69 64 7d 2e | 0a 0a 5c 6d 65 6d 62 65 |ck\_id}.|..\membe|
|00001b00| 72 73 65 63 74 69 6f 6e | 7b 77 78 48 79 70 65 72 |rsection|{wxHyper|
|00001b10| 54 65 78 74 57 69 6e 64 | 6f 77 3a 3a 46 69 6e 64 |TextWind|ow::Find|
|00001b20| 43 68 75 6e 6b 41 74 42 | 6c 6f 63 6b 7d 0a 0a 5c |ChunkAtB|lock}..\|
|00001b30| 66 75 6e 63 7b 77 78 4e | 6f 64 65 20 2a 7d 7b 46 |func{wxN|ode *}{F|
|00001b40| 69 6e 64 43 68 75 6e 6b | 41 74 42 6c 6f 63 6b 7d |indChunk|AtBlock}|
|00001b50| 7b 5c 70 61 72 61 6d 7b | 6c 6f 6e 67 7d 7b 20 62 |{\param{|long}{ b|
|00001b60| 6c 6f 63 6b 49 64 7d 7d | 0a 0a 46 6f 72 20 61 20 |lockId}}|..For a |
|00001b70| 67 69 76 65 6e 20 62 6c | 6f 63 6b 20 69 64 2c 20 |given bl|ock id, |
|00001b80| 72 65 74 75 72 6e 73 20 | 74 68 65 20 70 6f 73 69 |returns |the posi|
|00001b90| 74 69 6f 6e 20 69 6e 20 | 74 68 65 20 74 65 78 74 |tion in |the text|
|00001ba0| 20 63 68 75 6e 6b 73 20 | 6c 69 73 74 20 6f 66 0a | chunks |list of.|
|00001bb0| 74 68 65 20 66 69 72 73 | 74 20 43 48 55 4e 4b 5c |the firs|t CHUNK\|
|00001bc0| 5f 53 54 41 52 54 5c 5f | 4c 49 4e 45 20 63 68 75 |_START\_|LINE chu|
|00001bd0| 6e 6b 20 62 65 66 6f 72 | 65 20 74 68 65 20 62 6c |nk befor|e the bl|
|00001be0| 6f 63 6b 2e 20 20 41 20 | 7b 5c 62 66 20 77 78 4e |ock. A |{\bf wxN|
|00001bf0| 6f 64 65 7d 0a 70 6f 69 | 6e 74 65 72 20 69 73 20 |ode}.poi|nter is |
|00001c00| 72 65 74 75 72 6e 65 64 | 20 74 6f 20 61 6c 6c 6f |returned| to allo|
|00001c10| 77 20 74 68 65 20 70 72 | 6f 67 72 61 6d 6d 65 72 |w the pr|ogrammer|
|00001c20| 20 74 6f 20 65 66 66 69 | 63 69 65 6e 74 6c 79 20 | to effi|ciently |
|00001c30| 74 72 61 76 65 72 73 65 | 0a 74 68 65 20 74 65 78 |traverse|.the tex|
|00001c40| 74 20 63 68 75 6e 6b 73 | 20 6c 69 73 74 20 66 72 |t chunks| list fr|
|00001c50| 6f 6d 20 74 68 69 73 20 | 70 6f 69 6e 74 2e 20 54 |om this |point. T|
|00001c60| 68 65 20 64 61 74 61 20 | 73 74 6f 72 65 64 20 69 |he data |stored i|
|00001c70| 6e 20 74 68 69 73 20 6e | 6f 64 65 20 69 73 0a 61 |n this n|ode is.a|
|00001c80| 20 7b 5c 62 66 20 77 78 | 54 65 78 74 43 68 75 6e | {\bf wx|TextChun|
|00001c90| 6b 7d 20 6f 62 6a 65 63 | 74 2e 0a 0a 54 68 69 73 |k} objec|t...This|
|00001ca0| 20 66 75 6e 63 74 69 6f | 6e 20 6d 61 79 20 6e 6f | functio|n may no|
|00001cb0| 74 20 62 65 20 76 65 72 | 79 20 75 73 65 66 75 6c |t be ver|y useful|
|00001cc0| 20 66 6f 72 20 70 72 6f | 67 72 61 6d 6d 65 72 73 | for pro|grammers|
|00001cd0| 3b 20 69 74 20 69 73 20 | 6d 61 69 6e 6c 79 20 66 |; it is |mainly f|
|00001ce0| 6f 72 0a 69 6e 74 65 72 | 6e 61 6c 20 75 73 65 2e |or.inter|nal use.|
|00001cf0| 20 4e 6f 72 6d 61 6c 6c | 79 20 66 75 6e 63 74 69 | Normall|y functi|
|00001d00| 6f 6e 73 20 72 65 74 75 | 72 6e 69 6e 67 20 61 6e |ons retu|rning an|
|00001d10| 64 20 74 61 6b 69 6e 67 | 20 62 6c 6f 63 6b 20 69 |d taking| block i|
|00001d20| 64 73 0a 61 72 65 20 75 | 73 65 64 20 66 6f 72 20 |ds.are u|sed for |
|00001d30| 6d 61 6e 69 70 75 6c 61 | 74 69 6e 67 20 62 6c 6f |manipula|ting blo|
|00001d40| 63 6b 73 2e 0a 0a 5c 6d | 65 6d 62 65 72 73 65 63 |cks...\m|embersec|
|00001d50| 74 69 6f 6e 7b 77 78 48 | 79 70 65 72 54 65 78 74 |tion{wxH|yperText|
|00001d60| 57 69 6e 64 6f 77 3a 3a | 46 69 6e 64 43 68 75 6e |Window::|FindChun|
|00001d70| 6b 41 74 4c 69 6e 65 7d | 0a 0a 5c 66 75 6e 63 7b |kAtLine}|..\func{|
|00001d80| 77 78 4e 6f 64 65 20 2a | 7d 7b 46 69 6e 64 43 68 |wxNode *|}{FindCh|
|00001d90| 75 6e 6b 41 74 4c 69 6e | 65 7d 7b 5c 70 61 72 61 |unkAtLin|e}{\para|
|00001da0| 6d 7b 6c 6f 6e 67 7d 7b | 20 62 6c 6f 63 6b 49 64 |m{long}{| blockId|
|00001db0| 7d 7d 0a 0a 46 6f 72 20 | 61 20 67 69 76 65 6e 20 |}}..For |a given |
|00001dc0| 62 6c 6f 63 6b 20 69 64 | 2c 20 72 65 74 75 72 6e |block id|, return|
|00001dd0| 73 20 74 68 65 20 70 6f | 73 69 74 69 6f 6e 20 69 |s the po|sition i|
|00001de0| 6e 20 74 68 65 20 74 65 | 78 74 20 63 68 75 6e 6b |n the te|xt chunk|
|00001df0| 73 20 6c 69 73 74 20 6f | 66 0a 74 68 65 20 66 69 |s list o|f.the fi|
|00001e00| 72 73 74 20 63 68 75 6e | 6b 20 6f 6e 20 74 68 65 |rst chun|k on the|
|00001e10| 20 67 69 76 65 6e 20 6c | 69 6e 65 2e 20 20 41 20 | given l|ine. A |
|00001e20| 7b 5c 62 66 20 77 78 4e | 6f 64 65 7d 20 70 6f 69 |{\bf wxN|ode} poi|
|00001e30| 6e 74 65 72 20 69 73 20 | 72 65 74 75 72 6e 65 64 |nter is |returned|
|00001e40| 0a 74 6f 20 61 6c 6c 6f | 77 20 74 68 65 20 70 72 |.to allo|w the pr|
|00001e50| 6f 67 72 61 6d 6d 65 72 | 20 74 6f 20 65 66 66 69 |ogrammer| to effi|
|00001e60| 63 69 65 6e 74 6c 79 20 | 74 72 61 76 65 72 73 65 |ciently |traverse|
|00001e70| 20 74 68 65 20 74 65 78 | 74 20 63 68 75 6e 6b 73 | the tex|t chunks|
|00001e80| 20 6c 69 73 74 0a 66 72 | 6f 6d 20 74 68 69 73 20 | list.fr|om this |
|00001e90| 70 6f 69 6e 74 2e 20 54 | 68 65 20 64 61 74 61 20 |point. T|he data |
|00001ea0| 73 74 6f 72 65 64 20 69 | 6e 20 74 68 69 73 20 6e |stored i|n this n|
|00001eb0| 6f 64 65 20 69 73 20 61 | 20 7b 5c 62 66 20 77 78 |ode is a| {\bf wx|
|00001ec0| 54 65 78 74 43 68 75 6e | 6b 7d 0a 6f 62 6a 65 63 |TextChun|k}.objec|
|00001ed0| 74 2e 0a 0a 54 68 69 73 | 20 66 75 6e 63 74 69 6f |t...This| functio|
|00001ee0| 6e 20 6d 61 79 20 6e 6f | 74 20 62 65 20 76 65 72 |n may no|t be ver|
|00001ef0| 79 20 75 73 65 66 75 6c | 20 66 6f 72 20 70 72 6f |y useful| for pro|
|00001f00| 67 72 61 6d 6d 65 72 73 | 3b 20 69 74 20 69 73 20 |grammers|; it is |
|00001f10| 6d 61 69 6e 6c 79 20 66 | 6f 72 0a 69 6e 74 65 72 |mainly f|or.inter|
|00001f20| 6e 61 6c 20 75 73 65 2e | 20 4e 6f 72 6d 61 6c 6c |nal use.| Normall|
|00001f30| 79 20 66 75 6e 63 74 69 | 6f 6e 73 20 72 65 74 75 |y functi|ons retu|
|00001f40| 72 6e 69 6e 67 20 61 6e | 64 20 74 61 6b 69 6e 67 |rning an|d taking|
|00001f50| 20 62 6c 6f 63 6b 20 69 | 64 73 0a 61 72 65 20 75 | block i|ds.are u|
|00001f60| 73 65 64 20 66 6f 72 20 | 6d 61 6e 69 70 75 6c 61 |sed for |manipula|
|00001f70| 74 69 6e 67 20 62 6c 6f | 63 6b 73 2e 0a 0a 5c 6d |ting blo|cks...\m|
|00001f80| 65 6d 62 65 72 73 65 63 | 74 69 6f 6e 7b 77 78 48 |embersec|tion{wxH|
|00001f90| 79 70 65 72 54 65 78 74 | 57 69 6e 64 6f 77 3a 3a |yperText|Window::|
|00001fa0| 46 69 6e 64 50 6f 73 69 | 74 69 6f 6e 7d 0a 0a 5c |FindPosi|tion}..\|
|00001fb0| 66 75 6e 63 7b 42 6f 6f | 6c 7d 7b 46 69 6e 64 50 |func{Boo|l}{FindP|
|00001fc0| 6f 73 69 74 69 6f 6e 7d | 7b 5c 70 61 72 61 6d 7b |osition}|{\param{|
|00001fd0| 66 6c 6f 61 74 7d 7b 20 | 6d 6f 75 73 65 58 7d 2c |float}{ |mouseX},|
|00001fe0| 20 5c 70 61 72 61 6d 7b | 66 6c 6f 61 74 7d 7b 20 | \param{|float}{ |
|00001ff0| 6d 6f 75 73 65 59 7d 2c | 20 5c 70 61 72 61 6d 7b |mouseY},| \param{|
|00002000| 69 6e 74 20 2a 7d 7b 63 | 68 61 72 50 6f 73 7d 2c |int *}{c|harPos},|
|00002010| 20 5c 70 61 72 61 6d 7b | 69 6e 74 20 2a 7d 7b 6c | \param{|int *}{l|
|00002020| 69 6e 65 50 6f 73 7d 2c | 20 5c 70 61 72 61 6d 7b |inePos},| \param{|
|00002030| 6c 6f 6e 67 20 2a 7d 7b | 62 6c 6f 63 6b 49 64 7d |long *}{|blockId}|
|00002040| 7d 0a 0a 46 69 6e 64 73 | 20 74 68 65 20 63 68 61 |}..Finds| the cha|
|00002050| 72 61 63 74 65 72 20 61 | 6e 64 20 6c 69 6e 65 20 |racter a|nd line |
|00002060| 70 6f 73 69 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |position| of the |
|00002070| 67 69 76 65 6e 20 70 6f | 69 6e 74 2c 20 70 6c 75 |given po|int, plu|
|00002080| 73 20 74 68 65 20 69 64 | 20 6f 66 20 74 68 65 20 |s the id| of the |
|00002090| 62 6c 6f 63 6b 20 66 6f | 75 6e 64 2e 0a 52 65 74 |block fo|und..Ret|
|000020a0| 75 72 6e 73 20 46 41 4c | 53 45 20 69 66 20 6e 6f |urns FAL|SE if no|
|000020b0| 20 63 68 61 72 61 63 74 | 65 72 20 77 61 73 20 66 | charact|er was f|
|000020c0| 6f 75 6e 64 20 61 74 20 | 74 68 69 73 20 70 6f 73 |ound at |this pos|
|000020d0| 69 74 69 6f 6e 2e 0a 0a | 5c 6d 65 6d 62 65 72 73 |ition...|\members|
|000020e0| 65 63 74 69 6f 6e 7b 77 | 78 48 79 70 65 72 54 65 |ection{w|xHyperTe|
|000020f0| 78 74 57 69 6e 64 6f 77 | 3a 3a 47 65 6e 65 72 61 |xtWindow|::Genera|
|00002100| 74 65 49 64 7d 0a 0a 5c | 66 75 6e 63 7b 6c 6f 6e |teId}..\|func{lon|
|00002110| 67 7d 7b 47 65 6e 65 72 | 61 74 65 49 64 7d 7b 5c |g}{Gener|ateId}{\|
|00002120| 76 6f 69 64 7d 0a 0a 47 | 65 6e 65 72 61 74 65 73 |void}..G|enerates|
|00002130| 20 61 20 75 6e 69 71 75 | 65 20 69 64 65 6e 74 69 | a uniqu|e identi|
|00002140| 66 69 65 72 20 66 6f 72 | 20 61 20 62 6c 6f 63 6b |fier for| a block|
|00002150| 3b 20 6d 61 79 20 62 65 | 20 6f 76 65 72 72 69 64 |; may be| overrid|
|00002160| 64 65 6e 20 74 6f 20 73 | 75 70 70 6c 79 0a 61 20 |den to s|upply.a |
|00002170| 64 69 66 66 65 72 65 6e | 74 20 67 65 6e 65 72 61 |differen|t genera|
|00002180| 74 6f 72 2e 0a 0a 5c 6d | 65 6d 62 65 72 73 65 63 |tor...\m|embersec|
|00002190| 74 69 6f 6e 7b 77 78 48 | 79 70 65 72 54 65 78 74 |tion{wxH|yperText|
|000021a0| 57 69 6e 64 6f 77 3a 3a | 47 65 74 42 6c 6f 63 6b |Window::|GetBlock|
|000021b0| 54 65 78 74 7d 0a 0a 5c | 66 75 6e 63 7b 76 6f 69 |Text}..\|func{voi|
|000021c0| 64 7d 7b 47 65 74 42 6c | 6f 63 6b 54 65 78 74 7d |d}{GetBl|ockText}|
|000021d0| 7b 5c 70 61 72 61 6d 7b | 63 68 61 72 20 2a 7d 7b |{\param{|char *}{|
|000021e0| 62 75 66 66 65 72 7d 2c | 20 5c 70 61 72 61 6d 7b |buffer},| \param{|
|000021f0| 69 6e 74 7d 7b 20 6d 61 | 78 53 69 7a 65 7d 2c 20 |int}{ ma|xSize}, |
|00002200| 5c 70 61 72 61 6d 7b 6c | 6f 6e 67 7d 7b 20 62 6c |\param{l|ong}{ bl|
|00002210| 6f 63 6b 49 64 7d 7d 0a | 0a 5c 66 75 6e 63 7b 76 |ockId}}.|.\func{v|
|00002220| 6f 69 64 7d 7b 47 65 74 | 42 6c 6f 63 6b 54 65 78 |oid}{Get|BlockTex|
|00002230| 74 7d 7b 5c 70 61 72 61 | 6d 7b 63 68 61 72 20 2a |t}{\para|m{char *|
|00002240| 7d 7b 62 75 66 66 65 72 | 7d 2c 20 5c 70 61 72 61 |}{buffer|}, \para|
|00002250| 6d 7b 69 6e 74 7d 7b 20 | 6d 61 78 53 69 7a 65 7d |m{int}{ |maxSize}|
|00002260| 2c 20 5c 70 61 72 61 6d | 7b 77 78 4e 6f 64 65 20 |, \param|{wxNode |
|00002270| 2a 7d 7b 6e 6f 64 65 7d | 2c 20 5c 70 61 72 61 6d |*}{node}|, \param|
|00002280| 7b 6c 6f 6e 67 7d 7b 20 | 62 6c 6f 63 6b 49 64 7d |{long}{ |blockId}|
|00002290| 7d 0a 0a 47 65 74 73 20 | 74 68 65 20 70 6c 61 69 |}..Gets |the plai|
|000022a0| 6e 20 74 65 78 74 20 62 | 6f 75 6e 64 65 64 20 62 |n text b|ounded b|
|000022b0| 79 20 74 68 65 20 67 69 | 76 65 6e 20 62 6c 6f 63 |y the gi|ven bloc|
|000022c0| 6b 2c 20 73 74 72 69 70 | 70 69 6e 67 20 6f 75 74 |k, strip|ping out|
|000022d0| 20 61 6e 79 0a 62 6c 6f | 63 6b 20 63 6f 64 65 73 | any.blo|ck codes|
|000022e0| 2e 20 20 54 68 65 20 73 | 65 63 6f 6e 64 20 66 6f |. The s|econd fo|
|000022f0| 72 6d 20 69 73 20 6d 6f | 72 65 20 65 66 66 69 63 |rm is mo|re effic|
|00002300| 69 65 6e 74 20 73 69 6e | 63 65 20 69 74 20 74 61 |ient sin|ce it ta|
|00002310| 6b 65 73 20 61 20 6e 6f | 64 65 0a 63 6f 6e 74 61 |kes a no|de.conta|
|00002320| 69 6e 69 6e 67 20 61 20 | 70 6f 69 6e 74 65 72 20 |ining a |pointer |
|00002330| 74 6f 20 74 68 65 20 7b | 5c 62 66 20 77 78 54 65 |to the {|\bf wxTe|
|00002340| 78 74 43 68 75 6e 6b 7d | 2c 20 61 6e 64 20 64 6f |xtChunk}|, and do|
|00002350| 65 73 6e 27 74 20 68 61 | 76 65 20 74 6f 0a 73 65 |esn't ha|ve to.se|
|00002360| 61 72 63 68 20 66 6f 72 | 20 74 68 65 20 62 6c 6f |arch for| the blo|
|00002370| 63 6b 2e 0a 0a 5c 6d 65 | 6d 62 65 72 73 65 63 74 |ck...\me|mbersect|
|00002380| 69 6f 6e 7b 77 78 48 79 | 70 65 72 54 65 78 74 57 |ion{wxHy|perTextW|
|00002390| 69 6e 64 6f 77 3a 3a 47 | 65 74 42 6c 6f 63 6b 54 |indow::G|etBlockT|
|000023a0| 79 70 65 7d 0a 0a 5c 66 | 75 6e 63 7b 69 6e 74 7d |ype}..\f|unc{int}|
|000023b0| 7b 47 65 74 42 6c 6f 63 | 6b 54 79 70 65 7d 7b 5c |{GetBloc|kType}{\|
|000023c0| 70 61 72 61 6d 7b 6c 6f | 6e 67 7d 7b 20 62 6c 6f |param{lo|ng}{ blo|
|000023d0| 63 6b 49 64 7d 7d 0a 0a | 47 65 74 73 20 74 68 65 |ckId}}..|Gets the|
|000023e0| 20 74 79 70 65 20 6f 66 | 20 74 68 65 20 67 69 76 | type of| the giv|
|000023f0| 65 6e 20 62 6c 6f 63 6b | 2e 0a 0a 5c 6d 65 6d 62 |en block|...\memb|
|00002400| 65 72 73 65 63 74 69 6f | 6e 7b 77 78 48 79 70 65 |ersectio|n{wxHype|
|00002410| 72 54 65 78 74 57 69 6e | 64 6f 77 3a 3a 47 65 74 |rTextWin|dow::Get|
|00002420| 43 75 72 72 65 6e 74 53 | 65 63 74 69 6f 6e 4e 75 |CurrentS|ectionNu|
|00002430| 6d 62 65 72 7d 0a 0a 5c | 66 75 6e 63 7b 69 6e 74 |mber}..\|func{int|
|00002440| 7d 7b 47 65 74 43 75 72 | 72 65 6e 74 53 65 63 74 |}{GetCur|rentSect|
|00002450| 69 6f 6e 4e 75 6d 62 65 | 72 7d 7b 5c 76 6f 69 64 |ionNumbe|r}{\void|
|00002460| 7d 0a 0a 47 65 74 73 20 | 74 68 65 20 6e 75 6d 62 |}..Gets |the numb|
|00002470| 65 72 20 6f 66 20 74 68 | 65 20 63 75 72 72 65 6e |er of th|e curren|
|00002480| 74 6c 79 2d 64 69 73 70 | 6c 61 79 65 64 20 73 65 |tly-disp|layed se|
|00002490| 63 74 69 6f 6e 2c 20 73 | 74 61 72 74 69 6e 67 20 |ction, s|tarting |
|000024a0| 66 72 6f 6d 20 31 2e 20 | 5a 65 72 6f 20 69 73 20 |from 1. |Zero is |
|000024b0| 72 65 74 75 72 6e 65 64 | 0a 69 66 20 74 68 65 72 |returned|.if ther|
|000024c0| 65 20 61 72 65 20 6e 6f | 20 73 65 63 74 69 6f 6e |e are no| section|
|000024d0| 20 6d 61 72 6b 65 72 73 | 2e 0a 0a 5c 6d 65 6d 62 | markers|...\memb|
|000024e0| 65 72 73 65 63 74 69 6f | 6e 7b 77 78 48 79 70 65 |ersectio|n{wxHype|
|000024f0| 72 54 65 78 74 57 69 6e | 64 6f 77 3a 3a 47 65 74 |rTextWin|dow::Get|
|00002500| 45 64 69 74 4d 6f 64 65 | 7d 0a 0a 5c 66 75 6e 63 |EditMode|}..\func|
|00002510| 7b 42 6f 6f 6c 7d 7b 47 | 65 74 45 64 69 74 4d 6f |{Bool}{G|etEditMo|
|00002520| 64 65 7d 7b 5c 76 6f 69 | 64 7d 0a 0a 52 65 74 75 |de}{\voi|d}..Retu|
|00002530| 72 6e 73 20 54 52 55 45 | 20 69 66 20 74 68 65 20 |rns TRUE| if the |
|00002540| 68 79 70 65 72 74 65 78 | 74 20 77 69 6e 64 6f 77 |hypertex|t window|
|00002550| 20 69 73 20 65 64 69 74 | 61 62 6c 65 2e 0a 0a 5c | is edit|able...\|
|00002560| 6d 65 6d 62 65 72 73 65 | 63 74 69 6f 6e 7b 77 78 |memberse|ction{wx|
|00002570| 48 79 70 65 72 54 65 78 | 74 57 69 6e 64 6f 77 3a |HyperTex|tWindow:|
|00002580| 3a 47 65 74 46 69 72 73 | 74 53 65 6c 65 63 74 69 |:GetFirs|tSelecti|
|00002590| 6f 6e 7d 0a 0a 5c 66 75 | 6e 63 7b 6c 6f 6e 67 7d |on}..\fu|nc{long}|
|000025a0| 7b 47 65 74 46 69 72 73 | 74 53 65 6c 65 63 74 69 |{GetFirs|tSelecti|
|000025b0| 6f 6e 7d 7b 5c 76 6f 69 | 64 7d 0a 0a 47 65 74 73 |on}{\voi|d}..Gets|
|000025c0| 20 74 68 65 20 66 69 72 | 73 74 20 62 6c 6f 63 6b | the fir|st block|
|000025d0| 20 73 65 6c 65 63 74 65 | 64 2e 20 55 73 65 20 7b | selecte|d. Use {|
|000025e0| 5c 62 66 20 47 65 74 4e | 65 78 74 53 65 6c 65 63 |\bf GetN|extSelec|
|000025f0| 74 69 6f 6e 7d 20 66 6f | 72 20 73 75 62 73 65 71 |tion} fo|r subseq|
|00002600| 75 65 6e 74 0a 62 6c 6f | 63 6b 73 2e 20 52 65 74 |uent.blo|cks. Ret|
|00002610| 75 72 6e 73 20 2d 31 20 | 69 66 20 6e 6f 20 6d 6f |urns -1 |if no mo|
|00002620| 72 65 20 73 65 6c 65 63 | 74 69 6f 6e 73 2e 0a 0a |re selec|tions...|
|00002630| 5c 6d 65 6d 62 65 72 73 | 65 63 74 69 6f 6e 7b 77 |\members|ection{w|
|00002640| 78 48 79 70 65 72 54 65 | 78 74 57 69 6e 64 6f 77 |xHyperTe|xtWindow|
|00002650| 3a 3a 47 65 74 4c 69 6e | 6b 54 61 62 6c 65 7d 0a |::GetLin|kTable}.|
|00002660| 0a 5c 66 75 6e 63 7b 77 | 78 48 61 73 68 54 61 62 |.\func{w|xHashTab|
|00002670| 6c 65 20 2a 7d 7b 47 65 | 74 4c 69 6e 6b 54 61 62 |le *}{Ge|tLinkTab|
|00002680| 6c 65 7d 7b 5c 76 6f 69 | 64 7d 0a 0a 52 65 74 75 |le}{\voi|d}..Retu|
|00002690| 72 6e 73 20 74 68 65 20 | 68 79 70 65 72 74 65 78 |rns the |hypertex|
|000026a0| 74 20 77 69 6e 64 6f 77 | 27 73 20 68 61 73 68 20 |t window|'s hash |
|000026b0| 74 61 62 6c 65 20 75 73 | 65 64 20 66 6f 72 20 73 |table us|ed for s|
|000026c0| 74 6f 72 69 6e 67 20 6c | 69 6e 6b 73 0a 62 65 74 |toring l|inks.bet|
|000026d0| 77 65 65 6e 20 62 6c 6f | 63 6b 73 2e 20 4f 62 6a |ween blo|cks. Obj|
|000026e0| 65 63 74 73 20 6f 66 20 | 74 79 70 65 20 7b 5c 62 |ects of |type {\b|
|000026f0| 66 20 48 79 70 65 72 74 | 65 78 74 49 74 65 6d 7d |f Hypert|extItem}|
|00002700| 20 61 72 65 20 73 74 6f | 72 65 64 20 69 6e 20 74 | are sto|red in t|
|00002710| 68 65 0a 74 61 62 6c 65 | 2c 20 63 6f 6e 74 61 69 |he.table|, contai|
|00002720| 6e 69 6e 67 20 61 20 64 | 65 73 74 69 6e 61 74 69 |ning a d|estinati|
|00002730| 6f 6e 20 66 69 6c 65 6e | 61 6d 65 20 61 6e 64 20 |on filen|ame and |
|00002740| 64 65 73 74 69 6e 61 74 | 69 6f 6e 20 62 6c 6f 63 |destinat|ion bloc|
|00002750| 6b 20 69 64 3b 0a 74 68 | 65 73 65 20 6f 62 6a 65 |k id;.th|ese obje|
|00002760| 63 74 73 20 6d 75 73 74 | 20 62 65 20 69 6e 64 65 |cts must| be inde|
|00002770| 78 65 64 20 62 79 20 74 | 68 65 20 73 6f 75 72 63 |xed by t|he sourc|
|00002780| 65 20 62 6c 6f 63 6b 20 | 69 64 2c 20 74 6f 20 73 |e block |id, to s|
|00002790| 74 6f 72 65 20 61 20 6c | 69 6e 6b 0a 62 65 74 77 |tore a l|ink.betw|
|000027a0| 65 65 6e 20 61 20 73 6f | 75 72 63 65 20 62 6c 6f |een a so|urce blo|
|000027b0| 63 6b 20 61 6e 64 20 64 | 65 73 74 69 6e 61 74 69 |ck and d|estinati|
|000027c0| 6f 6e 20 62 6c 6f 63 6b | 2e 0a 0a 54 68 69 73 20 |on block|...This |
|000027d0| 69 73 20 6f 6e 6c 79 20 | 72 65 6c 65 76 61 6e 74 |is only |relevant|
|000027e0| 20 69 66 20 75 73 69 6e | 67 20 74 68 65 20 62 75 | if usin|g the bu|
|000027f0| 69 6c 74 2d 69 6e 20 69 | 6e 64 65 78 20 66 61 63 |ilt-in i|ndex fac|
|00002800| 69 6c 69 74 79 2c 20 72 | 61 74 68 65 72 20 74 68 |ility, r|ather th|
|00002810| 61 6e 0a 69 6d 70 6c 65 | 6d 65 6e 74 69 6e 67 20 |an.imple|menting |
|00002820| 79 6f 75 72 20 6f 77 6e | 20 69 6e 64 65 78 2e 20 |your own| index. |
|00002830| 59 6f 75 20 6e 65 65 64 | 20 74 6f 20 70 75 74 20 |You need| to put |
|00002840| 61 6e 64 20 67 65 74 20 | 65 78 70 6c 69 63 69 74 |and get |explicit|
|00002850| 6c 79 2c 20 61 6e 64 20 | 77 72 69 74 69 6e 67 0a |ly, and |writing.|
|00002860| 74 6f 20 61 20 66 69 6c | 65 20 77 69 6c 6c 20 75 |to a fil|e will u|
|00002870| 73 65 20 74 68 69 73 20 | 74 61 62 6c 65 20 66 6f |se this |table fo|
|00002880| 72 20 73 61 76 69 6e 67 | 20 74 68 65 20 69 6e 64 |r saving| the ind|
|00002890| 65 78 2e 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 3a |ex. For |example:|
|000028a0| 0a 0a 5c 62 65 67 69 6e | 7b 76 65 72 62 61 74 69 |..\begin|{verbati|
|000028b0| 6d 7d 0a 20 20 69 66 20 | 28 47 65 74 4c 69 6e 6b |m}. if |(GetLink|
|000028c0| 54 61 62 6c 65 28 29 2d | 3e 47 65 74 28 62 6c 6f |Table()-|>Get(blo|
|000028d0| 63 6b 5f 69 64 29 29 0a | 20 20 20 20 4d 61 69 6e |ck_id)).| Main|
|000028e0| 46 72 61 6d 65 2d 3e 53 | 65 74 53 74 61 74 75 73 |Frame->S|etStatus|
|000028f0| 54 65 78 74 28 22 54 68 | 69 73 20 62 6c 6f 63 6b |Text("Th|is block|
|00002900| 20 61 6c 72 65 61 64 79 | 20 6c 69 6e 6b 65 64 21 | already| linked!|
|00002910| 22 29 3b 0a 20 20 65 6c | 73 65 20 69 66 20 28 68 |");. el|se if (h|
|00002920| 79 53 65 6c 65 63 74 69 | 6f 6e 2d 3e 62 6c 6f 63 |ySelecti|on->bloc|
|00002930| 6b 5f 69 64 20 3e 20 2d | 31 29 0a 20 20 7b 0a 20 |k_id > -|1). {. |
|00002940| 20 20 20 47 65 74 4c 69 | 6e 6b 54 61 62 6c 65 28 | GetLi|nkTable(|
|00002950| 29 2d 3e 50 75 74 28 62 | 6c 6f 63 6b 5f 69 64 2c |)->Put(b|lock_id,|
|00002960| 0a 20 20 20 20 20 20 6e | 65 77 20 48 79 70 65 72 |. n|ew Hyper|
|00002970| 74 65 78 74 49 74 65 6d | 28 68 79 53 65 6c 65 63 |textItem|(hySelec|
|00002980| 74 69 6f 6e 2d 3e 66 69 | 6c 65 6e 61 6d 65 2c 20 |tion->fi|lename, |
|00002990| 68 79 53 65 6c 65 63 74 | 69 6f 6e 2d 3e 62 6c 6f |hySelect|ion->blo|
|000029a0| 63 6b 5f 69 64 29 29 3b | 0a 20 20 20 20 6d 6f 64 |ck_id));|. mod|
|000029b0| 69 66 69 65 64 20 3d 20 | 54 52 55 45 3b 0a 20 20 |ified = |TRUE;. |
|000029c0| 20 20 53 65 6c 65 63 74 | 42 6c 6f 63 6b 28 68 79 | Select|Block(hy|
|000029d0| 53 65 6c 65 63 74 69 6f | 6e 2d 3e 62 6c 6f 63 6b |Selectio|n->block|
|000029e0| 5f 69 64 2c 20 46 41 4c | 53 45 29 3b 0a 20 20 20 |_id, FAL|SE);. |
|000029f0| 20 43 6f 6d 70 69 6c 65 | 28 29 3b 0a 20 20 20 20 | Compile|();. |
|00002a00| 44 69 73 70 6c 61 79 46 | 69 6c 65 28 29 3b 0a 20 |DisplayF|ile();. |
|00002a10| 20 7d 0a 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d | }.\end{|verbatim|
|00002a20| 7d 0a 0a 5c 6d 65 6d 62 | 65 72 73 65 63 74 69 6f |}..\memb|ersectio|
|00002a30| 6e 7b 77 78 48 79 70 65 | 72 54 65 78 74 57 69 6e |n{wxHype|rTextWin|
|00002a40| 64 6f 77 3a 3a 47 65 74 | 4e 65 78 74 53 65 6c 65 |dow::Get|NextSele|
|00002a50| 63 74 69 6f 6e 7d 0a 0a | 5c 66 75 6e 63 7b 6c 6f |ction}..|\func{lo|
|00002a60| 6e 67 7d 7b 47 65 74 46 | 69 72 73 74 53 65 6c 65 |ng}{GetF|irstSele|
|00002a70| 63 74 69 6f 6e 7d 7b 5c | 76 6f 69 64 7d 0a 0a 47 |ction}{\|void}..G|
|00002a80| 65 74 73 20 74 68 65 20 | 6e 65 78 74 20 20 62 6c |ets the |next bl|
|00002a90| 6f 63 6b 20 73 65 6c 65 | 63 74 65 64 20 28 75 73 |ock sele|cted (us|
|00002aa0| 65 20 7b 5c 62 66 20 47 | 65 74 46 69 72 73 74 53 |e {\bf G|etFirstS|
|00002ab0| 65 6c 65 63 74 69 6f 6e | 7d 20 74 6f 20 73 74 61 |election|} to sta|
|00002ac0| 72 74 2e 0a 52 65 74 75 | 72 6e 73 20 2d 31 20 69 |rt..Retu|rns -1 i|
|00002ad0| 66 20 6e 6f 20 6d 6f 72 | 65 20 73 65 6c 65 63 74 |f no mor|e select|
|00002ae0| 69 6f 6e 73 2e 0a 0a 5c | 6d 65 6d 62 65 72 73 65 |ions...\|memberse|
|00002af0| 63 74 69 6f 6e 7b 77 78 | 48 79 70 65 72 54 65 78 |ction{wx|HyperTex|
|00002b00| 74 57 69 6e 64 6f 77 3a | 3a 47 65 74 54 69 74 6c |tWindow:|:GetTitl|
|00002b10| 65 7d 0a 0a 5c 66 75 6e | 63 7b 63 68 61 72 20 2a |e}..\fun|c{char *|
|00002b20| 7d 7b 47 65 74 54 69 74 | 6c 65 7d 7b 5c 76 6f 69 |}{GetTit|le}{\voi|
|00002b30| 64 7d 0a 0a 52 65 74 75 | 72 6e 73 20 4e 55 4c 4c |d}..Retu|rns NULL|
|00002b40| 20 6f 72 20 74 68 65 20 | 74 69 74 6c 65 20 28 70 | or the |title (p|
|00002b50| 6f 69 6e 74 65 72 20 74 | 6f 20 74 68 65 20 68 79 |ointer t|o the hy|
|00002b60| 70 65 72 74 65 78 74 20 | 77 69 6e 64 6f 77 27 73 |pertext |window's|
|00002b70| 20 6c 6f 63 61 6c 20 6d | 65 6d 6f 72 79 29 2e 0a | local m|emory)..|
|00002b80| 0a 0a 5c 6d 65 6d 62 65 | 72 73 65 63 74 69 6f 6e |..\membe|rsection|
|00002b90| 7b 77 78 48 79 70 65 72 | 54 65 78 74 57 69 6e 64 |{wxHyper|TextWind|
|00002ba0| 6f 77 3a 3a 4c 6f 61 64 | 46 69 6c 65 7d 0a 0a 5c |ow::Load|File}..\|
|00002bb0| 66 75 6e 63 7b 42 6f 6f | 6c 7d 7b 4c 6f 61 64 46 |func{Boo|l}{LoadF|
|00002bc0| 69 6c 65 7d 7b 5c 70 61 | 72 61 6d 7b 63 68 61 72 |ile}{\pa|ram{char|
|00002bd0| 20 2a 7d 7b 66 69 6c 65 | 7d 7d 0a 0a 4c 6f 61 64 | *}{file|}}..Load|
|00002be0| 73 20 74 68 65 20 6e 61 | 6d 65 64 20 66 69 6c 65 |s the na|med file|
|00002bf0| 2e 0a 0a 5c 6d 65 6d 62 | 65 72 73 65 63 74 69 6f |...\memb|ersectio|
|00002c00| 6e 7b 77 78 48 79 70 65 | 72 54 65 78 74 57 69 6e |n{wxHype|rTextWin|
|00002c10| 64 6f 77 3a 3a 4d 6f 64 | 69 66 69 65 64 7d 0a 0a |dow::Mod|ified}..|
|00002c20| 5c 66 75 6e 63 7b 42 6f | 6f 6c 7d 7b 4d 6f 64 69 |\func{Bo|ol}{Modi|
|00002c30| 66 69 65 64 7d 7b 5c 76 | 6f 69 64 7d 0a 0a 52 65 |fied}{\v|oid}..Re|
|00002c40| 74 75 72 6e 73 20 74 72 | 75 65 20 69 66 20 74 68 |turns tr|ue if th|
|00002c50| 65 20 75 73 65 72 20 68 | 61 73 20 6d 6f 64 69 66 |e user h|as modif|
|00002c60| 69 65 64 20 74 68 65 20 | 74 65 78 74 2e 0a 0a 5c |ied the |text...\|
|00002c70| 6d 65 6d 62 65 72 73 65 | 63 74 69 6f 6e 7b 77 78 |memberse|ction{wx|
|00002c80| 48 79 70 65 72 54 65 78 | 74 57 69 6e 64 6f 77 3a |HyperTex|tWindow:|
|00002c90| 3a 4f 6e 42 65 67 69 6e | 44 72 61 67 4c 65 66 74 |:OnBegin|DragLeft|
|00002ca0| 7d 0a 0a 5c 66 75 6e 63 | 7b 76 6f 69 64 7d 7b 4f |}..\func|{void}{O|
|00002cb0| 6e 42 65 67 69 6e 44 72 | 61 67 4c 65 66 74 7d 7b |nBeginDr|agLeft}{|
|00002cc0| 5c 70 61 72 61 6d 7b 66 | 6c 6f 61 74 7d 7b 20 78 |\param{f|loat}{ x|
|00002cd0| 7d 2c 20 5c 70 61 72 61 | 6d 7b 66 6c 6f 61 74 7d |}, \para|m{float}|
|00002ce0| 7b 20 79 7d 2c 20 5c 70 | 61 72 61 6d 7b 6c 6f 6e |{ y}, \p|aram{lon|
|00002cf0| 67 7d 7b 20 62 6c 6f 63 | 6b 49 64 7d 2c 20 5c 70 |g}{ bloc|kId}, \p|
|00002d00| 61 72 61 6d 7b 69 6e 74 | 7d 7b 20 6b 65 79 73 7d |aram{int|}{ keys}|
|00002d10| 7d 0a 0a 43 61 6c 6c 65 | 64 20 77 68 65 6e 20 74 |}..Calle|d when t|
|00002d20| 68 65 20 75 73 65 72 20 | 73 74 61 72 74 73 20 74 |he user |starts t|
|00002d30| 6f 20 6c 65 66 74 2d 64 | 72 61 67 2e 20 4f 76 65 |o left-d|rag. Ove|
|00002d40| 72 72 69 64 65 61 62 6c | 65 2e 0a 0a 5c 6d 65 6d |rrideabl|e...\mem|
|00002d50| 62 65 72 73 65 63 74 69 | 6f 6e 7b 77 78 48 79 70 |bersecti|on{wxHyp|
|00002d60| 65 72 54 65 78 74 57 69 | 6e 64 6f 77 3a 3a 4f 6e |erTextWi|ndow::On|
|00002d70| 42 65 67 69 6e 44 72 61 | 67 52 69 67 68 74 7d 0a |BeginDra|gRight}.|
|00002d80| 0a 5c 66 75 6e 63 7b 76 | 6f 69 64 7d 7b 4f 6e 42 |.\func{v|oid}{OnB|
|00002d90| 65 67 69 6e 44 72 61 67 | 52 69 67 68 74 7d 7b 5c |eginDrag|Right}{\|
|00002da0| 70 61 72 61 6d 7b 66 6c | 6f 61 74 7d 7b 20 78 7d |param{fl|oat}{ x}|
|00002db0| 2c 20 5c 70 61 72 61 6d | 7b 66 6c 6f 61 74 7d 7b |, \param|{float}{|
|00002dc0| 20 79 7d 2c 20 5c 70 61 | 72 61 6d 7b 6c 6f 6e 67 | y}, \pa|ram{long|
|00002dd0| 7d 7b 20 62 6c 6f 63 6b | 49 64 7d 2c 20 5c 70 61 |}{ block|Id}, \pa|
|00002de0| 72 61 6d 7b 69 6e 74 7d | 7b 20 6b 65 79 73 7d 7d |ram{int}|{ keys}}|
|00002df0| 0a 0a 43 61 6c 6c 65 64 | 20 77 68 65 6e 20 74 68 |..Called| when th|
|00002e00| 65 20 75 73 65 72 20 73 | 74 61 72 74 73 20 74 6f |e user s|tarts to|
|00002e10| 20 72 69 67 68 74 2d 64 | 72 61 67 2e 20 4f 76 65 | right-d|rag. Ove|
|00002e20| 72 72 69 64 65 61 62 6c | 65 2e 0a 0a 5c 6d 65 6d |rrideabl|e...\mem|
|00002e30| 62 65 72 73 65 63 74 69 | 6f 6e 7b 77 78 48 79 70 |bersecti|on{wxHyp|
|00002e40| 65 72 54 65 78 74 57 69 | 6e 64 6f 77 3a 3a 4f 6e |erTextWi|ndow::On|
|00002e50| 44 72 61 67 4c 65 66 74 | 7d 0a 0a 5c 66 75 6e 63 |DragLeft|}..\func|
|00002e60| 7b 76 6f 69 64 7d 7b 4f | 6e 44 72 61 67 4c 65 66 |{void}{O|nDragLef|
|00002e70| 74 7d 7b 5c 70 61 72 61 | 6d 7b 42 6f 6f 6c 7d 7b |t}{\para|m{Bool}{|
|00002e80| 20 64 72 61 77 7d 2c 20 | 5c 70 61 72 61 6d 7b 66 | draw}, |\param{f|
|00002e90| 6c 6f 61 74 7d 7b 20 78 | 7d 2c 20 5c 70 61 72 61 |loat}{ x|}, \para|
|00002ea0| 6d 7b 66 6c 6f 61 74 7d | 7b 20 79 7d 2c 20 5c 70 |m{float}|{ y}, \p|
|00002eb0| 61 72 61 6d 7b 6c 6f 6e | 67 7d 7b 20 62 6c 6f 63 |aram{lon|g}{ bloc|
|00002ec0| 6b 49 64 7d 2c 20 5c 70 | 61 72 61 6d 7b 69 6e 74 |kId}, \p|aram{int|
|00002ed0| 7d 7b 20 6b 65 79 73 7d | 7d 0a 0a 43 61 6c 6c 65 |}{ keys}|}..Calle|
|00002ee0| 64 20 77 68 65 6e 20 74 | 68 65 20 75 73 65 72 20 |d when t|he user |
|00002ef0| 69 73 20 69 6e 20 74 68 | 65 20 6d 69 64 64 6c 65 |is in th|e middle|
|00002f00| 20 6f 66 20 61 20 64 72 | 61 67 20 6f 70 65 72 61 | of a dr|ag opera|
|00002f10| 74 69 6f 6e 3b 20 63 61 | 6c 6c 65 64 20 6f 6e 63 |tion; ca|lled onc|
|00002f20| 65 0a 77 69 74 68 20 7b | 5c 69 74 20 64 72 61 77 |e.with {|\it draw|
|00002f30| 7d 20 65 71 75 61 6c 20 | 74 6f 20 46 41 4c 53 45 |} equal |to FALSE|
|00002f40| 20 61 6e 64 20 77 69 74 | 68 20 7b 5c 69 74 20 78 | and wit|h {\it x|
|00002f50| 7d 20 61 6e 64 20 7b 5c | 69 74 20 79 7d 20 65 71 |} and {\|it y} eq|
|00002f60| 75 61 6c 20 74 6f 0a 74 | 68 65 20 6f 6c 64 20 76 |ual to.t|he old v|
|00002f70| 61 6c 75 65 73 2c 20 74 | 68 65 6e 20 61 67 61 69 |alues, t|hen agai|
|00002f80| 6e 20 77 69 74 68 20 7b | 5c 69 74 20 64 72 61 77 |n with {|\it draw|
|00002f90| 7d 20 65 71 75 61 6c 20 | 74 6f 20 54 52 55 45 20 |} equal |to TRUE |
|00002fa0| 61 6e 64 20 75 70 64 61 | 74 65 64 0a 7b 5c 69 74 |and upda|ted.{\it|
|00002fb0| 20 78 7d 20 61 6e 64 20 | 7b 5c 69 74 20 79 7d 20 | x} and |{\it y} |
|00002fc0| 28 74 6f 20 61 6c 6c 6f | 77 20 65 72 61 73 65 2f |(to allo|w erase/|
|00002fd0| 64 72 61 77 20 6f 70 65 | 72 61 74 69 6f 6e 73 29 |draw ope|rations)|
|00002fe0| 2e 0a 0a 5c 6d 65 6d 62 | 65 72 73 65 63 74 69 6f |...\memb|ersectio|
|00002ff0| 6e 7b 77 78 48 79 70 65 | 72 54 65 78 74 57 69 6e |n{wxHype|rTextWin|
|00003000| 64 6f 77 3a 3a 4f 6e 44 | 72 61 67 52 69 67 68 74 |dow::OnD|ragRight|
|00003010| 7d 0a 0a 5c 66 75 6e 63 | 7b 76 6f 69 64 7d 7b 4f |}..\func|{void}{O|
|00003020| 6e 44 72 61 67 52 69 67 | 68 74 7d 7b 5c 70 61 72 |nDragRig|ht}{\par|
|00003030| 61 6d 7b 42 6f 6f 6c 7d | 7b 20 64 72 61 77 7d 2c |am{Bool}|{ draw},|
|00003040| 20 5c 70 61 72 61 6d 7b | 66 6c 6f 61 74 7d 7b 20 | \param{|float}{ |
|00003050| 78 7d 2c 20 5c 70 61 72 | 61 6d 7b 66 6c 6f 61 74 |x}, \par|am{float|
|00003060| 7d 7b 20 79 7d 2c 20 5c | 70 61 72 61 6d 7b 6c 6f |}{ y}, \|param{lo|
|00003070| 6e 67 7d 7b 20 62 6c 6f | 63 6b 49 64 7d 2c 20 5c |ng}{ blo|ckId}, \|
|00003080| 70 61 72 61 6d 7b 69 6e | 74 7d 7b 20 6b 65 79 73 |param{in|t}{ keys|
|00003090| 7d 7d 0a 0a 43 61 6c 6c | 65 64 20 77 68 65 6e 20 |}}..Call|ed when |
|000030a0| 74 68 65 20 75 73 65 72 | 20 69 73 20 69 6e 20 74 |the user| is in t|
|000030b0| 68 65 20 6d 69 64 64 6c | 65 20 6f 66 20 61 20 64 |he middl|e of a d|
|000030c0| 72 61 67 20 6f 70 65 72 | 61 74 69 6f 6e 3b 20 63 |rag oper|ation; c|
|000030d0| 61 6c 6c 65 64 20 6f 6e | 63 65 0a 77 69 74 68 20 |alled on|ce.with |
|000030e0| 7b 5c 69 74 20 64 72 61 | 77 7d 20 65 71 75 61 6c |{\it dra|w} equal|
|000030f0| 20 74 6f 20 46 41 4c 53 | 45 20 61 6e 64 20 77 69 | to FALS|E and wi|
|00003100| 74 68 20 7b 5c 69 74 20 | 78 7d 20 61 6e 64 20 7b |th {\it |x} and {|
|00003110| 5c 69 74 20 79 7d 20 65 | 71 75 61 6c 20 74 6f 0a |\it y} e|qual to.|
|00003120| 74 68 65 20 6f 6c 64 20 | 76 61 6c 75 65 73 2c 20 |the old |values, |
|00003130| 74 68 65 6e 20 61 67 61 | 69 6e 20 77 69 74 68 20 |then aga|in with |
|00003140| 7b 5c 69 74 20 64 72 61 | 77 7d 20 65 71 75 61 6c |{\it dra|w} equal|
|00003150| 20 74 6f 20 54 52 55 45 | 20 61 6e 64 20 75 70 64 | to TRUE| and upd|
|00003160| 61 74 65 64 0a 7b 5c 69 | 74 20 78 7d 20 61 6e 64 |ated.{\i|t x} and|
|00003170| 20 7b 5c 69 74 20 79 7d | 20 28 74 6f 20 61 6c 6c | {\it y}| (to all|
|00003180| 6f 77 20 65 72 61 73 65 | 2f 64 72 61 77 20 6f 70 |ow erase|/draw op|
|00003190| 65 72 61 74 69 6f 6e 73 | 29 2e 0a 0a 5c 6d 65 6d |erations|)...\mem|
|000031a0| 62 65 72 73 65 63 74 69 | 6f 6e 7b 77 78 48 79 70 |bersecti|on{wxHyp|
|000031b0| 65 72 54 65 78 74 57 69 | 6e 64 6f 77 3a 3a 4f 6e |erTextWi|ndow::On|
|000031c0| 45 6e 64 44 72 61 67 4c | 65 66 74 7d 0a 0a 5c 66 |EndDragL|eft}..\f|
|000031d0| 75 6e 63 7b 76 6f 69 64 | 7d 7b 4f 6e 45 6e 64 44 |unc{void|}{OnEndD|
|000031e0| 72 61 67 4c 65 66 74 7d | 7b 5c 70 61 72 61 6d 7b |ragLeft}|{\param{|
|000031f0| 66 6c 6f 61 74 7d 7b 20 | 78 7d 2c 20 5c 70 61 72 |float}{ |x}, \par|
|00003200| 61 6d 7b 66 6c 6f 61 74 | 7d 7b 20 79 7d 2c 20 5c |am{float|}{ y}, \|
|00003210| 70 61 72 61 6d 7b 6c 6f | 6e 67 7d 7b 20 62 6c 6f |param{lo|ng}{ blo|
|00003220| 63 6b 49 64 7d 2c 20 5c | 70 61 72 61 6d 7b 69 6e |ckId}, \|param{in|
|00003230| 74 7d 7b 20 6b 65 79 73 | 7d 7d 0a 0a 43 61 6c 6c |t}{ keys|}}..Call|
|00003240| 65 64 20 77 68 65 6e 20 | 74 68 65 20 75 73 65 72 |ed when |the user|
|00003250| 20 66 69 6e 69 73 68 65 | 73 20 6c 65 66 74 2d 64 | finishe|s left-d|
|00003260| 72 61 67 67 69 6e 67 2e | 20 4f 76 65 72 72 69 64 |ragging.| Overrid|
|00003270| 65 61 62 6c 65 2e 0a 0a | 5c 6d 65 6d 62 65 72 73 |eable...|\members|
|00003280| 65 63 74 69 6f 6e 7b 77 | 78 48 79 70 65 72 54 65 |ection{w|xHyperTe|
|00003290| 78 74 57 69 6e 64 6f 77 | 3a 3a 4f 6e 45 6e 64 44 |xtWindow|::OnEndD|
|000032a0| 72 61 67 52 69 67 68 74 | 7d 0a 0a 5c 66 75 6e 63 |ragRight|}..\func|
|000032b0| 7b 76 6f 69 64 7d 7b 4f | 6e 45 6e 64 44 72 61 67 |{void}{O|nEndDrag|
|000032c0| 52 69 67 68 74 7d 7b 5c | 70 61 72 61 6d 7b 66 6c |Right}{\|param{fl|
|000032d0| 6f 61 74 7d 7b 20 78 7d | 2c 20 5c 70 61 72 61 6d |oat}{ x}|, \param|
|000032e0| 7b 66 6c 6f 61 74 7d 7b | 20 79 7d 2c 20 5c 70 61 |{float}{| y}, \pa|
|000032f0| 72 61 6d 7b 6c 6f 6e 67 | 7d 7b 20 62 6c 6f 63 6b |ram{long|}{ block|
|00003300| 49 64 7d 2c 20 5c 70 61 | 72 61 6d 7b 69 6e 74 7d |Id}, \pa|ram{int}|
|00003310| 7b 20 6b 65 79 73 7d 7d | 0a 0a 43 61 6c 6c 65 64 |{ keys}}|..Called|
|00003320| 20 77 68 65 6e 20 74 68 | 65 20 75 73 65 72 20 66 | when th|e user f|
|00003330| 69 6e 69 73 68 65 73 20 | 72 69 67 68 74 2d 64 72 |inishes |right-dr|
|00003340| 61 67 67 69 6e 67 2e 20 | 4f 76 65 72 72 69 64 65 |agging. |Override|
|00003350| 61 62 6c 65 2e 0a 0a 5c | 6d 65 6d 62 65 72 73 65 |able...\|memberse|
|00003360| 63 74 69 6f 6e 7b 77 78 | 48 79 70 65 72 54 65 78 |ction{wx|HyperTex|
|00003370| 74 57 69 6e 64 6f 77 3a | 3a 4f 6e 4c 65 66 74 43 |tWindow:|:OnLeftC|
|00003380| 6c 69 63 6b 7d 0a 0a 5c | 66 75 6e 63 7b 76 6f 69 |lick}..\|func{voi|
|00003390| 64 7d 7b 4f 6e 4c 65 66 | 74 43 6c 69 63 6b 7d 7b |d}{OnLef|tClick}{|
|000033a0| 5c 70 61 72 61 6d 7b 66 | 6c 6f 61 74 7d 7b 20 78 |\param{f|loat}{ x|
|000033b0| 7d 2c 20 5c 70 61 72 61 | 6d 7b 66 6c 6f 61 74 7d |}, \para|m{float}|
|000033c0| 7b 20 79 7d 2c 20 5c 70 | 61 72 61 6d 7b 69 6e 74 |{ y}, \p|aram{int|
|000033d0| 7d 7b 20 63 68 61 72 50 | 6f 73 7d 2c 20 5c 70 61 |}{ charP|os}, \pa|
|000033e0| 72 61 6d 7b 69 6e 74 7d | 7b 20 6c 69 6e 65 50 6f |ram{int}|{ linePo|
|000033f0| 73 7d 2c 20 5c 70 61 72 | 61 6d 7b 6c 6f 6e 67 7d |s}, \par|am{long}|
|00003400| 7b 20 62 6c 6f 63 6b 49 | 64 7d 2c 20 5c 70 61 72 |{ blockI|d}, \par|
|00003410| 61 6d 7b 69 6e 74 7d 7b | 20 6b 65 79 73 7d 7d 0a |am{int}{| keys}}.|
|00003420| 0a 43 61 6c 6c 65 64 20 | 77 68 65 6e 20 74 68 65 |.Called |when the|
|00003430| 20 75 73 65 72 20 6c 65 | 66 74 2d 63 6c 69 63 6b | user le|ft-click|
|00003440| 73 2e 20 4f 76 65 72 72 | 69 64 65 61 62 6c 65 2e |s. Overr|ideable.|
|00003450| 20 54 68 65 20 64 65 66 | 61 75 6c 74 20 62 65 68 | The def|ault beh|
|00003460| 61 76 69 6f 75 72 20 77 | 68 65 6e 20 53 48 49 46 |aviour w|hen SHIF|
|00003470| 54 20 69 73 20 68 65 6c | 64 20 64 6f 77 6e 0a 69 |T is hel|d down.i|
|00003480| 73 20 74 6f 20 73 65 6c | 65 63 74 20 6f 72 20 64 |s to sel|ect or d|
|00003490| 65 73 65 6c 65 63 74 20 | 74 68 65 20 6d 6f 75 73 |eselect |the mous|
|000034a0| 65 2d 6f 76 65 72 20 62 | 6c 6f 63 6b 2e 0a 0a 5c |e-over b|lock...\|
|000034b0| 6d 65 6d 62 65 72 73 65 | 63 74 69 6f 6e 7b 77 78 |memberse|ction{wx|
|000034c0| 48 79 70 65 72 54 65 78 | 74 57 69 6e 64 6f 77 3a |HyperTex|tWindow:|
|000034d0| 3a 4f 6e 52 69 67 68 74 | 43 6c 69 63 6b 7d 0a 0a |:OnRight|Click}..|
|000034e0| 5c 66 75 6e 63 7b 76 6f | 69 64 7d 7b 4f 6e 52 69 |\func{vo|id}{OnRi|
|000034f0| 67 68 74 43 6c 69 63 6b | 7d 7b 5c 70 61 72 61 6d |ghtClick|}{\param|
|00003500| 7b 66 6c 6f 61 74 7d 7b | 20 78 7d 2c 20 5c 70 61 |{float}{| x}, \pa|
|00003510| 72 61 6d 7b 66 6c 6f 61 | 74 7d 7b 20 79 7d 2c 20 |ram{floa|t}{ y}, |
|00003520| 5c 70 61 72 61 6d 7b 69 | 6e 74 7d 7b 20 63 68 61 |\param{i|nt}{ cha|
|00003530| 72 50 6f 73 7d 2c 20 5c | 70 61 72 61 6d 7b 69 6e |rPos}, \|param{in|
|00003540| 74 7d 7b 20 6c 69 6e 65 | 50 6f 73 7d 2c 20 5c 70 |t}{ line|Pos}, \p|
|00003550| 61 72 61 6d 7b 6c 6f 6e | 67 7d 7b 20 62 6c 6f 63 |aram{lon|g}{ bloc|
|00003560| 6b 49 64 7d 2c 20 5c 70 | 61 72 61 6d 7b 69 6e 74 |kId}, \p|aram{int|
|00003570| 7d 7b 20 6b 65 79 73 7d | 7d 0a 0a 43 61 6c 6c 65 |}{ keys}|}..Calle|
|00003580| 64 20 77 68 65 6e 20 74 | 68 65 20 75 73 65 72 20 |d when t|he user |
|00003590| 72 69 67 68 74 2d 63 6c | 69 63 6b 73 2e 20 4f 76 |right-cl|icks. Ov|
|000035a0| 65 72 72 69 64 65 61 62 | 6c 65 2e 0a 0a 5c 6d 65 |errideab|le...\me|
|000035b0| 6d 62 65 72 73 65 63 74 | 69 6f 6e 7b 77 78 48 79 |mbersect|ion{wxHy|
|000035c0| 70 65 72 54 65 78 74 57 | 69 6e 64 6f 77 3a 3a 4f |perTextW|indow::O|
|000035d0| 6e 53 65 6c 65 63 74 42 | 6c 6f 63 6b 7d 0a 0a 5c |nSelectB|lock}..\|
|000035e0| 66 75 6e 63 7b 76 6f 69 | 64 7d 7b 4f 6e 53 65 6c |func{voi|d}{OnSel|
|000035f0| 65 63 74 42 6c 6f 63 6b | 7d 7b 5c 70 61 72 61 6d |ectBlock|}{\param|
|00003600| 7b 6c 6f 6e 67 7d 7b 20 | 62 6c 6f 63 6b 49 64 7d |{long}{ |blockId}|
|00003610| 2c 20 5c 70 61 72 61 6d | 7b 42 6f 6f 6c 7d 7b 20 |, \param|{Bool}{ |
|00003620| 73 65 6c 65 63 74 7d 7d | 0a 0a 43 61 6c 6c 65 64 |select}}|..Called|
|00003630| 20 77 68 65 6e 65 76 65 | 72 20 61 20 62 6c 6f 63 | wheneve|r a bloc|
|00003640| 6b 20 69 73 20 73 65 6c | 65 63 74 65 64 20 6f 72 |k is sel|ected or|
|00003650| 20 64 65 73 65 6c 65 63 | 74 65 64 2e 20 4f 76 65 | deselec|ted. Ove|
|00003660| 72 72 69 64 61 62 6c 65 | 2e 0a 0a 5c 6d 65 6d 62 |rridable|...\memb|
|00003670| 65 72 73 65 63 74 69 6f | 6e 7b 77 78 48 79 70 65 |ersectio|n{wxHype|
|00003680| 72 54 65 78 74 57 69 6e | 64 6f 77 3a 3a 52 65 73 |rTextWin|dow::Res|
|00003690| 74 6f 72 65 53 65 63 74 | 69 6f 6e 7d 0a 0a 5c 66 |toreSect|ion}..\f|
|000036a0| 75 6e 63 7b 76 6f 69 64 | 7d 7b 52 65 73 74 6f 72 |unc{void|}{Restor|
|000036b0| 65 53 65 63 74 69 6f 6e | 7d 7b 5c 76 6f 69 64 7d |eSection|}{\void}|
|000036c0| 0a 0a 57 68 65 6e 20 61 | 20 63 61 6c 6c 20 69 73 |..When a| call is|
|000036d0| 20 6d 61 64 65 20 74 6f | 20 7b 5c 62 66 20 43 6f | made to| {\bf Co|
|000036e0| 6d 70 69 6c 65 7d 2c 20 | 74 68 65 20 63 75 72 72 |mpile}, |the curr|
|000036f0| 65 6e 74 20 70 6f 69 6e | 74 65 72 20 74 6f 20 74 |ent poin|ter to t|
|00003700| 68 65 20 63 75 72 72 65 | 6e 74 0a 73 65 63 74 69 |he curre|nt.secti|
|00003710| 6f 6e 20 62 65 63 6f 6d | 65 73 20 69 6e 76 61 6c |on becom|es inval|
|00003720| 69 64 2c 20 73 69 6e 63 | 65 20 61 6c 6c 20 73 65 |id, sinc|e all se|
|00003730| 63 74 69 6f 6e 73 20 61 | 72 65 20 72 65 63 61 6c |ctions a|re recal|
|00003740| 63 75 6c 61 74 65 64 2e | 20 59 6f 75 20 6e 65 65 |culated.| You nee|
|00003750| 64 0a 74 6f 20 7b 5c 62 | 66 20 53 61 76 65 53 65 |d.to {\b|f SaveSe|
|00003760| 63 74 69 6f 6e 7d 20 62 | 65 66 6f 72 65 20 7b 5c |ction} b|efore {\|
|00003770| 62 66 20 43 6f 6d 70 69 | 6c 65 7d 2c 20 66 6f 6c |bf Compi|le}, fol|
|00003780| 6c 6f 77 65 64 20 62 79 | 20 7b 5c 62 66 20 52 65 |lowed by| {\bf Re|
|00003790| 73 74 6f 72 65 53 65 63 | 74 69 6f 6e 7d 20 61 66 |storeSec|tion} af|
|000037a0| 74 65 72 0a 74 68 65 20 | 7b 5c 62 66 20 43 6f 6d |ter.the |{\bf Com|
|000037b0| 70 69 6c 65 7d 2c 20 69 | 6e 20 6f 72 64 65 72 20 |pile}, i|n order |
|000037c0| 74 6f 20 72 65 73 74 6f | 72 65 20 74 68 65 20 64 |to resto|re the d|
|000037d0| 69 73 70 6c 61 79 20 74 | 6f 20 74 68 65 20 70 72 |isplay t|o the pr|
|000037e0| 65 76 69 6f 75 73 20 73 | 74 61 74 65 2e 0a 0a 5c |evious s|tate...\|
|000037f0| 6d 65 6d 62 65 72 73 65 | 63 74 69 6f 6e 7b 77 78 |memberse|ction{wx|
|00003800| 48 79 70 65 72 54 65 78 | 74 57 69 6e 64 6f 77 3a |HyperTex|tWindow:|
|00003810| 3a 53 61 76 65 46 69 6c | 65 7d 0a 0a 5c 66 75 6e |:SaveFil|e}..\fun|
|00003820| 63 7b 42 6f 6f 6c 7d 7b | 53 61 76 65 46 69 6c 65 |c{Bool}{|SaveFile|
|00003830| 7d 7b 5c 70 61 72 61 6d | 7b 63 68 61 72 20 2a 7d |}{\param|{char *}|
|00003840| 7b 66 69 6c 65 7d 7d 0a | 0a 53 61 76 65 73 20 74 |{file}}.|.Saves t|
|00003850| 68 65 20 68 79 70 65 72 | 74 65 78 74 20 66 69 6c |he hyper|text fil|
|00003860| 65 20 61 6e 64 20 69 6e | 64 65 78 2e 0a 0a 5c 6d |e and in|dex...\m|
|00003870| 65 6d 62 65 72 73 65 63 | 74 69 6f 6e 7b 77 78 48 |embersec|tion{wxH|
|00003880| 79 70 65 72 54 65 78 74 | 57 69 6e 64 6f 77 3a 3a |yperText|Window::|
|00003890| 53 61 76 65 53 65 63 74 | 69 6f 6e 7d 0a 0a 5c 66 |SaveSect|ion}..\f|
|000038a0| 75 6e 63 7b 76 6f 69 64 | 7d 7b 53 61 76 65 53 65 |unc{void|}{SaveSe|
|000038b0| 63 74 69 6f 6e 7d 7b 5c | 76 6f 69 64 7d 0a 0a 57 |ction}{\|void}..W|
|000038c0| 68 65 6e 20 61 20 63 61 | 6c 6c 20 69 73 20 6d 61 |hen a ca|ll is ma|
|000038d0| 64 65 20 74 6f 20 7b 5c | 62 66 20 43 6f 6d 70 69 |de to {\|bf Compi|
|000038e0| 6c 65 7d 2c 20 74 68 65 | 20 63 75 72 72 65 6e 74 |le}, the| current|
|000038f0| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 74 68 65 20 | pointer| to the |
|00003900| 63 75 72 72 65 6e 74 0a | 73 65 63 74 69 6f 6e 20 |current.|section |
|00003910| 62 65 63 6f 6d 65 73 20 | 69 6e 76 61 6c 69 64 2c |becomes |invalid,|
|00003920| 20 73 69 6e 63 65 20 61 | 6c 6c 20 73 65 63 74 69 | since a|ll secti|
|00003930| 6f 6e 73 20 61 72 65 20 | 72 65 63 61 6c 63 75 6c |ons are |recalcul|
|00003940| 61 74 65 64 2e 20 59 6f | 75 20 6e 65 65 64 0a 74 |ated. Yo|u need.t|
|00003950| 6f 20 63 61 6c 6c 20 74 | 68 69 73 20 62 65 66 6f |o call t|his befo|
|00003960| 72 65 20 7b 5c 62 66 20 | 43 6f 6d 70 69 6c 65 7d |re {\bf |Compile}|
|00003970| 2c 20 66 6f 6c 6c 6f 77 | 65 64 20 62 79 20 7b 5c |, follow|ed by {\|
|00003980| 62 66 20 52 65 73 74 6f | 72 65 53 65 63 74 69 6f |bf Resto|reSectio|
|00003990| 6e 7d 20 61 66 74 65 72 | 0a 74 68 65 20 7b 5c 62 |n} after|.the {\b|
|000039a0| 66 20 43 6f 6d 70 69 6c | 65 7d 2c 20 69 6e 20 6f |f Compil|e}, in o|
|000039b0| 72 64 65 72 20 74 6f 20 | 72 65 73 74 6f 72 65 20 |rder to |restore |
|000039c0| 74 68 65 20 64 69 73 70 | 6c 61 79 20 74 6f 20 74 |the disp|lay to t|
|000039d0| 68 65 20 70 72 65 76 69 | 6f 75 73 20 73 74 61 74 |he previ|ous stat|
|000039e0| 65 2e 0a 0a 5c 6d 65 6d | 62 65 72 73 65 63 74 69 |e...\mem|bersecti|
|000039f0| 6f 6e 7b 77 78 48 79 70 | 65 72 54 65 78 74 57 69 |on{wxHyp|erTextWi|
|00003a00| 6e 64 6f 77 3a 3a 53 65 | 6c 65 63 74 42 6c 6f 63 |ndow::Se|lectBloc|
|00003a10| 6b 7d 0a 0a 5c 66 75 6e | 63 7b 76 6f 69 64 7d 7b |k}..\fun|c{void}{|
|00003a20| 53 65 6c 65 63 74 42 6c | 6f 63 6b 7d 7b 5c 70 61 |SelectBl|ock}{\pa|
|00003a30| 72 61 6d 7b 77 78 54 65 | 78 74 43 68 75 6e 6b 20 |ram{wxTe|xtChunk |
|00003a40| 2a 7d 7b 20 62 6c 6f 63 | 6b 7d 2c 20 5c 70 61 72 |*}{ bloc|k}, \par|
|00003a50| 61 6d 7b 42 6f 6f 6c 7d | 7b 20 73 65 6c 65 63 74 |am{Bool}|{ select|
|00003a60| 20 3d 20 54 52 55 45 7d | 7d 0a 0a 5c 66 75 6e 63 | = TRUE}|}..\func|
|00003a70| 7b 76 6f 69 64 7d 7b 53 | 65 6c 65 63 74 42 6c 6f |{void}{S|electBlo|
|00003a80| 63 6b 7d 7b 5c 70 61 72 | 61 6d 7b 6c 6f 6e 67 7d |ck}{\par|am{long}|
|00003a90| 7b 20 62 6c 6f 63 6b 49 | 64 7d 2c 20 5c 70 61 72 |{ blockI|d}, \par|
|00003aa0| 61 6d 7b 42 6f 6f 6c 7d | 7b 20 73 65 6c 65 63 74 |am{Bool}|{ select|
|00003ab0| 20 3d 20 54 52 55 45 7d | 7d 0a 0a 49 66 20 7b 5c | = TRUE}|}..If {\|
|00003ac0| 69 74 20 73 65 6c 65 63 | 74 7d 20 69 73 20 54 52 |it selec|t} is TR|
|00003ad0| 55 45 2c 20 73 65 6c 65 | 63 74 20 74 68 65 20 65 |UE, sele|ct the e|
|00003ae0| 78 69 73 74 69 6e 67 20 | 62 6c 6f 63 6b 2c 20 6d |xisting |block, m|
|00003af0| 61 72 6b 69 6e 67 20 69 | 74 20 69 6e 20 63 79 61 |arking i|t in cya|
|00003b00| 6e 0a 28 63 6f 6c 6f 75 | 72 20 73 63 72 65 65 6e |n.(colou|r screen|
|00003b10| 73 29 20 6f 72 20 69 6e | 20 69 6e 76 65 72 73 65 |s) or in| inverse|
|00003b20| 20 76 69 64 65 6f 20 28 | 6d 6f 6e 6f 63 68 72 6f | video (|monochro|
|00003b30| 6d 65 20 73 63 72 65 65 | 6e 73 29 2e 20 20 49 66 |me scree|ns). If|
|00003b40| 20 7b 5c 69 74 0a 73 65 | 6c 65 63 74 7d 20 69 73 | {\it.se|lect} is|
|00003b50| 20 46 41 4c 53 45 2c 20 | 64 65 73 65 6c 65 63 74 | FALSE, |deselect|
|00003b60| 20 74 68 65 20 62 6c 6f | 63 6b 2e 20 54 68 65 20 | the blo|ck. The |
|00003b70| 66 69 72 73 74 20 66 6f | 72 6d 20 69 73 20 6d 6f |first fo|rm is mo|
|00003b80| 72 65 20 65 66 66 69 63 | 69 65 6e 74 0a 73 69 6e |re effic|ient.sin|
|00003b90| 63 65 20 6e 6f 20 73 65 | 61 72 63 68 20 6e 65 65 |ce no se|arch nee|
|00003ba0| 64 20 62 65 20 64 6f 6e | 65 20 66 6f 72 20 74 68 |d be don|e for th|
|00003bb0| 65 20 62 6c 6f 63 6b 2e | 0a 0a 4e 6f 74 65 20 74 |e block.|..Note t|
|00003bc0| 68 61 74 20 7b 5c 62 66 | 20 43 6f 6d 70 69 6c 65 |hat {\bf| Compile|
|00003bd0| 7d 20 6d 75 73 74 20 62 | 65 20 63 61 6c 6c 65 64 |} must b|e called|
|00003be0| 20 62 65 66 6f 72 65 20 | 74 68 69 73 20 63 61 6c | before |this cal|
|00003bf0| 6c 20 68 61 73 20 61 6e | 79 20 76 69 73 69 62 6c |l has an|y visibl|
|00003c00| 65 20 65 66 66 65 63 74 | 2e 0a 0a 5c 6d 65 6d 62 |e effect|...\memb|
|00003c10| 65 72 73 65 63 74 69 6f | 6e 7b 77 78 48 79 70 65 |ersectio|n{wxHype|
|00003c20| 72 54 65 78 74 57 69 6e | 64 6f 77 3a 3a 53 65 74 |rTextWin|dow::Set|
|00003c30| 42 6c 6f 63 6b 54 79 70 | 65 7d 0a 0a 5c 66 75 6e |BlockTyp|e}..\fun|
|00003c40| 63 7b 76 6f 69 64 7d 7b | 53 65 74 42 6c 6f 63 6b |c{void}{|SetBlock|
|00003c50| 54 79 70 65 7d 7b 5c 70 | 61 72 61 6d 7b 6c 6f 6e |Type}{\p|aram{lon|
|00003c60| 67 7d 7b 20 62 6c 6f 63 | 6b 49 64 7d 2c 20 5c 70 |g}{ bloc|kId}, \p|
|00003c70| 61 72 61 6d 7b 69 6e 74 | 7d 7b 20 62 6c 6f 63 6b |aram{int|}{ block|
|00003c80| 54 79 70 65 7d 7d 0a 0a | 53 65 74 20 74 68 65 20 |Type}}..|Set the |
|00003c90| 73 70 65 63 69 66 69 65 | 64 20 62 6c 6f 63 6b 20 |specifie|d block |
|00003ca0| 74 6f 20 68 61 76 65 20 | 74 68 65 20 67 69 76 65 |to have |the give|
|00003cb0| 6e 20 74 79 70 65 2e 0a | 0a 5c 6d 65 6d 62 65 72 |n type..|.\member|
|00003cc0| 73 65 63 74 69 6f 6e 7b | 77 78 48 79 70 65 72 54 |section{|wxHyperT|
|00003cd0| 65 78 74 57 69 6e 64 6f | 77 3a 3a 53 65 74 45 64 |extWindo|w::SetEd|
|00003ce0| 69 74 4d 6f 64 65 7d 0a | 0a 5c 66 75 6e 63 7b 76 |itMode}.|.\func{v|
|00003cf0| 6f 69 64 7d 7b 53 65 74 | 45 64 69 74 4d 6f 64 65 |oid}{Set|EditMode|
|00003d00| 7d 7b 5c 70 61 72 61 6d | 7b 42 6f 6f 6c 7d 7b 20 |}{\param|{Bool}{ |
|00003d10| 65 64 69 74 61 62 6c 65 | 7d 7d 0a 0a 53 70 65 63 |editable|}}..Spec|
|00003d20| 69 66 69 65 73 20 77 68 | 65 74 68 65 72 20 74 68 |ifies wh|ether th|
|00003d30| 65 20 75 73 65 72 20 73 | 68 6f 75 6c 64 20 62 65 |e user s|hould be|
|00003d40| 20 61 62 6c 65 20 74 6f | 20 6d 61 72 6b 20 75 70 | able to| mark up|
|00003d50| 20 74 68 65 20 74 65 78 | 74 20 6f 72 20 6e 6f 74 | the tex|t or not|
|00003d60| 2e 0a 0a 5c 6d 65 6d 62 | 65 72 73 65 63 74 69 6f |...\memb|ersectio|
|00003d70| 6e 7b 77 78 48 79 70 65 | 72 54 65 78 74 57 69 6e |n{wxHype|rTextWin|
|00003d80| 64 6f 77 3a 3a 53 65 74 | 49 6e 64 65 78 57 72 69 |dow::Set|IndexWri|
|00003d90| 74 69 6e 67 7d 0a 0a 5c | 66 75 6e 63 7b 76 6f 69 |ting}..\|func{voi|
|00003da0| 64 7d 7b 53 65 74 49 6e | 64 65 78 57 72 69 74 69 |d}{SetIn|dexWriti|
|00003db0| 6e 67 7d 7b 5c 70 61 72 | 61 6d 7b 42 6f 6f 6c 7d |ng}{\par|am{Bool}|
|00003dc0| 7b 20 69 6e 64 65 78 57 | 72 69 74 69 6e 67 7d 7d |{ indexW|riting}}|
|00003dd0| 0a 0a 53 70 65 63 69 66 | 69 65 73 20 77 68 65 74 |..Specif|ies whet|
|00003de0| 68 65 72 20 74 68 65 20 | 62 75 69 6c 74 2d 69 6e |her the |built-in|
|00003df0| 20 69 6e 64 65 78 20 61 | 6e 64 20 74 69 74 6c 65 | index a|nd title|
|00003e00| 20 73 68 6f 75 6c 64 20 | 62 65 20 77 72 69 74 74 | should |be writt|
|00003e10| 65 6e 20 77 68 65 6e 0a | 7b 5c 62 66 20 53 61 76 |en when.|{\bf Sav|
|00003e20| 65 46 69 6c 65 7d 20 69 | 73 20 63 61 6c 6c 65 64 |eFile} i|s called|
|00003e30| 2e 20 54 68 65 20 64 65 | 66 61 75 6c 74 20 69 73 |. The de|fault is|
|00003e40| 20 46 41 4c 53 45 2e 0a | 0a 5c 6d 65 6d 62 65 72 | FALSE..|.\member|
|00003e50| 73 65 63 74 69 6f 6e 7b | 77 78 48 79 70 65 72 54 |section{|wxHyperT|
|00003e60| 65 78 74 57 69 6e 64 6f | 77 3a 3a 53 65 74 4d 61 |extWindo|w::SetMa|
|00003e70| 70 70 69 6e 67 7d 0a 0a | 5c 66 75 6e 63 7b 76 6f |pping}..|\func{vo|
|00003e80| 69 64 7d 7b 53 65 74 4d | 61 70 70 69 6e 67 7d 7b |id}{SetM|apping}{|
|00003e90| 5c 70 61 72 61 6d 7b 77 | 78 48 79 70 65 72 54 65 |\param{w|xHyperTe|
|00003ea0| 78 74 4d 61 70 70 69 6e | 67 20 2a 7d 7b 6d 61 70 |xtMappin|g *}{map|
|00003eb0| 70 69 6e 67 7d 7d 0a 0a | 53 70 65 63 69 66 79 20 |ping}}..|Specify |
|00003ec0| 74 68 65 20 73 65 74 20 | 6f 66 20 62 6c 6f 63 6b |the set |of block|
|00003ed0| 20 6d 61 70 70 69 6e 67 | 73 20 66 6f 72 20 74 68 | mapping|s for th|
|00003ee0| 69 73 20 77 69 6e 64 6f | 77 3b 20 74 68 69 73 20 |is windo|w; this |
|00003ef0| 6d 75 73 74 20 62 65 20 | 63 61 6c 6c 65 64 2e 0a |must be |called..|
|00003f00| 0a 5c 6d 65 6d 62 65 72 | 73 65 63 74 69 6f 6e 7b |.\member|section{|
|00003f10| 77 78 48 79 70 65 72 54 | 65 78 74 57 69 6e 64 6f |wxHyperT|extWindo|
|00003f20| 77 3a 3a 53 65 74 4d 61 | 72 67 69 6e 73 7d 0a 0a |w::SetMa|rgins}..|
|00003f30| 5c 66 75 6e 63 7b 76 6f | 69 64 7d 7b 53 65 74 4d |\func{vo|id}{SetM|
|00003f40| 61 72 67 69 6e 73 7d 7b | 5c 70 61 72 61 6d 7b 69 |argins}{|\param{i|
|00003f50| 6e 74 7d 7b 20 6c 65 66 | 74 7d 2c 20 5c 70 61 72 |nt}{ lef|t}, \par|
|00003f60| 61 6d 7b 69 6e 74 7d 7b | 20 74 6f 70 7d 7d 0a 0a |am{int}{| top}}..|
|00003f70| 53 65 74 73 20 74 68 65 | 20 6d 61 72 67 69 6e 73 |Sets the| margins|
|00003f80| 20 74 6f 20 6c 65 61 76 | 65 20 74 6f 20 74 68 65 | to leav|e to the|
|00003f90| 20 6c 65 66 74 20 61 6e | 64 20 74 6f 70 20 6f 66 | left an|d top of|
|00003fa0| 20 74 68 65 20 63 61 6e | 76 61 73 20 77 68 65 6e | the can|vas when|
|00003fb0| 0a 64 69 73 70 6c 61 79 | 69 6e 67 20 74 65 78 74 |.display|ing text|
|00003fc0| 2e 0a 0a 5c 6d 65 6d 62 | 65 72 73 65 63 74 69 6f |...\memb|ersectio|
|00003fd0| 6e 7b 77 78 48 79 70 65 | 72 54 65 78 74 57 69 6e |n{wxHype|rTextWin|
|00003fe0| 64 6f 77 3a 3a 53 65 74 | 54 69 74 6c 65 7d 0a 0a |dow::Set|Title}..|
|00003ff0| 5c 66 75 6e 63 7b 76 6f | 69 64 7d 7b 53 65 74 54 |\func{vo|id}{SetT|
|00004000| 69 74 6c 65 7d 7b 5c 70 | 61 72 61 6d 7b 63 68 61 |itle}{\p|aram{cha|
|00004010| 72 20 2a 7d 7b 74 69 74 | 6c 65 7d 7d 0a 0a 53 65 |r *}{tit|le}}..Se|
|00004020| 74 73 20 74 68 65 20 74 | 69 74 6c 65 20 6f 66 20 |ts the t|itle of |
|00004030| 74 68 65 20 68 79 70 65 | 72 74 65 78 74 20 77 69 |the hype|rtext wi|
|00004040| 6e 64 6f 77 20 28 61 6c | 6c 6f 63 61 74 65 73 20 |ndow (al|locates |
|00004050| 69 74 73 20 6f 77 6e 20 | 6d 65 6d 6f 72 79 29 2c |its own |memory),|
|00004060| 20 74 6f 20 62 65 20 77 | 72 69 74 74 65 6e 0a 74 | to be w|ritten.t|
|00004070| 6f 20 74 68 65 20 69 6e | 64 65 78 20 66 69 6c 65 |o the in|dex file|
|00004080| 20 69 66 20 69 6e 64 65 | 78 20 77 72 69 74 69 6e | if inde|x writin|
|00004090| 67 20 6d 6f 64 65 20 69 | 73 20 6f 6e 2e 0a 0a 0a |g mode i|s on....|
|000040a0| 5c 73 65 63 74 69 6f 6e | 7b 5c 63 6c 61 73 73 7b |\section|{\class{|
|000040b0| 77 78 54 65 78 74 43 68 | 75 6e 6b 7d 3a 20 77 78 |wxTextCh|unk}: wx|
|000040c0| 4f 62 6a 65 63 74 7d 0a | 0a 54 68 69 73 20 63 6c |Object}.|.This cl|
|000040d0| 61 73 73 20 69 73 20 75 | 73 65 64 20 66 6f 72 20 |ass is u|sed for |
|000040e0| 73 74 6f 72 69 6e 67 20 | 61 20 74 65 78 74 20 73 |storing |a text s|
|000040f0| 74 72 69 6e 67 20 77 68 | 69 63 68 20 68 61 73 20 |tring wh|ich has |
|00004100| 61 6c 6c 20 74 68 65 0a | 73 61 6d 65 20 66 6f 6e |all the.|same fon|
|00004110| 74 20 61 6e 64 20 63 6f | 6c 6f 75 72 20 61 74 74 |t and co|lour att|
|00004120| 72 69 62 75 74 65 73 2e | 20 54 68 65 20 65 6e 74 |ributes.| The ent|
|00004130| 69 72 65 20 68 79 70 65 | 72 74 65 78 74 20 66 69 |ire hype|rtext fi|
|00004140| 6c 65 20 69 73 20 62 72 | 6f 6b 65 6e 0a 75 70 20 |le is br|oken.up |
|00004150| 69 6e 74 6f 20 61 20 6c | 69 73 74 20 6f 66 20 74 |into a l|ist of t|
|00004160| 68 65 73 65 20 66 72 61 | 67 6d 65 6e 74 73 2c 20 |hese fra|gments, |
|00004170| 61 6e 64 20 74 68 65 20 | 7b 5c 62 66 20 43 6f 6d |and the |{\bf Com|
|00004180| 70 69 6c 65 7d 20 66 75 | 6e 63 74 69 6f 6e 0a 61 |pile} fu|nction.a|
|00004190| 73 73 69 67 6e 73 20 61 | 63 74 75 61 6c 20 66 6f |ssigns a|ctual fo|
|000041a0| 6e 74 20 61 6e 64 20 63 | 6f 6c 6f 75 72 20 61 74 |nt and c|olour at|
|000041b0| 74 72 69 62 75 74 65 73 | 20 74 6f 20 65 61 63 68 |tributes| to each|
|000041c0| 20 63 68 75 6e 6b 2e 0a | 41 20 74 65 78 74 20 63 | chunk..|A text c|
|000041d0| 68 75 6e 6b 20 6d 61 79 | 20 61 6c 73 6f 20 6d 61 |hunk may| also ma|
|000041e0| 72 6b 20 74 68 65 20 73 | 74 61 72 74 20 6f 66 20 |rk the s|tart of |
|000041f0| 61 20 6c 69 6e 65 20 28 | 65 61 63 68 20 6c 69 6e |a line (|each lin|
|00004200| 65 20 68 61 73 0a 61 20 | 73 70 65 63 69 61 6c 20 |e has.a |special |
|00004210| 73 74 61 72 74 20 6c 69 | 6e 65 20 74 65 78 74 20 |start li|ne text |
|00004220| 63 68 75 6e 6b 29 2e 0a | 0a 49 66 20 61 20 63 68 |chunk)..|.If a ch|
|00004230| 75 6e 6b 20 72 65 70 72 | 65 73 65 6e 74 73 20 74 |unk repr|esents t|
|00004240| 68 65 20 73 74 61 72 74 | 20 6f 66 20 61 20 62 6c |he start| of a bl|
|00004250| 6f 63 6b 2c 20 74 68 65 | 20 7b 5c 62 66 20 62 6c |ock, the| {\bf bl|
|00004260| 6f 63 6b 5c 5f 69 64 7d | 20 69 73 0a 74 68 69 73 |ock\_id}| is.this|
|00004270| 20 62 6c 6f 63 6b 2e 20 | 46 6f 72 20 63 68 75 6e | block. |For chun|
|00004280| 6b 73 20 77 69 74 68 69 | 6e 20 61 20 62 6c 6f 63 |ks withi|n a bloc|
|00004290| 6b 2c 20 74 68 65 20 7b | 5c 62 66 20 62 6c 6f 63 |k, the {|\bf bloc|
|000042a0| 6b 5c 5f 69 64 7d 20 69 | 73 20 61 6c 77 61 79 73 |k\_id} i|s always|
|000042b0| 0a 74 68 65 20 69 64 20 | 6f 66 20 74 68 65 20 62 |.the id |of the b|
|000042c0| 6c 6f 63 6b 20 63 75 72 | 72 65 6e 74 6c 79 20 69 |lock cur|rently i|
|000042d0| 6e 20 73 63 6f 70 65 2e | 20 41 20 74 65 78 74 20 |n scope.| A text |
|000042e0| 63 68 75 6e 6b 20 77 68 | 69 63 68 20 6d 61 72 6b |chunk wh|ich mark|
|000042f0| 73 20 74 68 65 0a 65 6e | 64 20 6f 66 20 61 20 62 |s the.en|d of a b|
|00004300| 6c 6f 63 6b 20 68 61 73 | 20 7b 5c 62 66 20 62 6c |lock has| {\bf bl|
|00004310| 6f 63 6b 5c 5f 69 64 7d | 20 73 65 74 20 74 6f 20 |ock\_id}| set to |
|00004320| 74 68 65 20 7b 5c 69 74 | 20 6e 65 78 74 7d 20 62 |the {\it| next} b|
|00004330| 6c 6f 63 6b 27 73 20 69 | 64 2c 0a 62 75 74 20 7b |lock's i|d,.but {|
|00004340| 5c 62 66 20 65 6e 64 5c | 5f 62 6c 6f 63 6b 7d 20 |\bf end\|_block} |
|00004350| 73 65 74 20 74 6f 20 74 | 68 65 20 65 6e 64 69 6e |set to t|he endin|
|00004360| 67 20 62 6c 6f 63 6b 27 | 73 20 69 64 2e 20 54 68 |g block'|s id. Th|
|00004370| 69 73 20 69 73 20 62 65 | 63 61 75 73 65 20 61 0a |is is be|cause a.|
|00004380| 74 65 78 74 20 63 68 75 | 6e 6b 20 63 6f 6e 74 61 |text chu|nk conta|
|00004390| 69 6e 73 20 74 68 65 20 | 7b 5c 69 74 20 6e 65 78 |ins the |{\it nex|
|000043a0| 74 7d 20 66 72 61 67 6d | 65 6e 74 20 6f 66 20 74 |t} fragm|ent of t|
|000043b0| 65 78 74 2c 20 61 6e 64 | 20 61 6e 20 65 6e 64 20 |ext, and| an end |
|000043c0| 62 6c 6f 63 6b 0a 63 68 | 75 6e 6b 20 68 61 73 20 |block.ch|unk has |
|000043d0| 74 77 6f 20 70 75 72 70 | 6f 73 65 73 3a 20 74 6f |two purp|oses: to|
|000043e0| 20 65 6e 64 20 6f 6e 65 | 20 62 6c 6f 63 6b 2c 20 | end one| block, |
|000043f0| 61 6e 64 20 63 6f 6e 74 | 69 6e 75 65 20 61 6e 6f |and cont|inue ano|
|00004400| 74 68 65 72 2e 0a 0a 5c | 6d 65 6d 62 65 72 73 65 |ther...\|memberse|
|00004410| 63 74 69 6f 6e 7b 77 78 | 54 65 78 74 43 68 75 6e |ction{wx|TextChun|
|00004420| 6b 3a 3a 77 78 54 65 78 | 74 43 68 75 6e 6b 7d 0a |k::wxTex|tChunk}.|
|00004430| 0a 5c 66 75 6e 63 7b 76 | 6f 69 64 7d 7b 77 78 54 |.\func{v|oid}{wxT|
|00004440| 65 78 74 43 68 75 6e 6b | 7d 7b 5c 70 61 72 61 6d |extChunk|}{\param|
|00004450| 7b 69 6e 74 7d 7b 20 63 | 68 75 6e 6b 54 79 70 65 |{int}{ c|hunkType|
|00004460| 7d 2c 20 5c 70 61 72 61 | 6d 7b 69 6e 74 7d 7b 20 |}, \para|m{int}{ |
|00004470| 6c 69 6e 65 4e 75 6d 62 | 65 72 7d 2c 20 5c 70 61 |lineNumb|er}, \pa|
|00004480| 72 61 6d 7b 63 68 61 72 | 20 2a 7d 7b 74 65 78 74 |ram{char| *}{text|
|00004490| 7d 2c 20 5c 70 61 72 61 | 6d 7b 77 78 46 6f 6e 74 |}, \para|m{wxFont|
|000044a0| 20 2a 7d 7b 66 6f 6e 74 | 7d 2c 5c 5c 0a 5c 70 61 | *}{font|},\\.\pa|
|000044b0| 72 61 6d 7b 77 78 43 6f | 6c 6f 75 72 20 2a 7d 7b |ram{wxCo|lour *}{|
|000044c0| 63 6f 6c 6f 75 72 7d 2c | 20 5c 70 61 72 61 6d 7b |colour},| \param{|
|000044d0| 69 6e 74 7d 7b 20 62 6c | 6f 63 6b 54 79 70 65 7d |int}{ bl|ockType}|
|000044e0| 2c 20 5c 70 61 72 61 6d | 7b 6c 6f 6e 67 7d 7b 20 |, \param|{long}{ |
|000044f0| 62 6c 6f 63 6b 49 64 7d | 2c 20 5c 70 61 72 61 6d |blockId}|, \param|
|00004500| 7b 69 6e 74 7d 7b 20 61 | 74 74 72 69 62 75 74 65 |{int}{ a|ttribute|
|00004510| 7d 2c 20 5c 70 61 72 61 | 6d 7b 42 6f 6f 6c 7d 7b |}, \para|m{Bool}{|
|00004520| 20 76 69 73 69 62 69 6c | 69 74 79 7d 7d 0a 0a 43 | visibil|ity}}..C|
|00004530| 6f 6e 73 74 72 75 63 74 | 6f 72 2e 20 55 73 65 64 |onstruct|or. Used|
|00004540| 20 6f 6e 6c 79 20 69 6e | 74 65 72 6e 61 6c 6c 79 | only in|ternally|
|00004550| 2e 0a 0a 5c 6d 65 6d 62 | 65 72 73 65 63 74 69 6f |...\memb|ersectio|
|00004560| 6e 7b 77 78 54 65 78 74 | 43 68 75 6e 6b 3a 3a 5c |n{wxText|Chunk::\|
|00004570| 64 65 73 74 72 75 63 74 | 7b 77 78 54 65 78 74 43 |destruct|{wxTextC|
|00004580| 68 75 6e 6b 7d 7d 0a 0a | 5c 66 75 6e 63 7b 76 6f |hunk}}..|\func{vo|
|00004590| 69 64 7d 7b 5c 64 65 73 | 74 72 75 63 74 7b 77 78 |id}{\des|truct{wx|
|000045a0| 54 65 78 74 43 68 75 6e | 6b 7d 7d 7b 5c 76 6f 69 |TextChun|k}}{\voi|
|000045b0| 64 7d 0a 0a 44 65 73 74 | 72 75 63 74 6f 72 2e 20 |d}..Dest|ructor. |
|000045c0| 55 73 65 64 20 6f 6e 6c | 79 20 69 6e 74 65 72 6e |Used onl|y intern|
|000045d0| 61 6c 6c 79 2e 0a 0a 5c | 6d 65 6d 62 65 72 73 65 |ally...\|memberse|
|000045e0| 63 74 69 6f 6e 7b 77 78 | 54 65 78 74 43 68 75 6e |ction{wx|TextChun|
|000045f0| 6b 3a 3a 62 61 63 6b 67 | 72 6f 75 6e 64 5c 5f 63 |k::backg|round\_c|
|00004600| 6f 6c 6f 75 72 7d 0a 0a | 5c 6d 65 6d 62 65 72 7b |olour}..|\member{|
|00004610| 77 78 43 6f 6c 6f 75 72 | 20 2a 7d 7b 62 61 63 6b |wxColour| *}{back|
|00004620| 67 72 6f 75 6e 64 5c 5f | 63 6f 6c 6f 75 72 7d 0a |ground\_|colour}.|
|00004630| 0a 54 68 65 20 62 61 63 | 6b 67 72 6f 75 6e 64 20 |.The bac|kground |
|00004640| 63 6f 6c 6f 75 72 20 61 | 6c 6c 6f 63 61 74 65 64 |colour a|llocated|
|00004650| 20 66 6f 72 20 74 68 65 | 20 63 68 75 6e 6b 20 62 | for the| chunk b|
|00004660| 79 20 7b 5c 62 66 20 43 | 6f 6d 70 69 6c 65 7d 2e |y {\bf C|ompile}.|
|00004670| 0a 0a 5c 6d 65 6d 62 65 | 72 73 65 63 74 69 6f 6e |..\membe|rsection|
|00004680| 7b 77 78 54 65 78 74 43 | 68 75 6e 6b 3a 3a 62 6c |{wxTextC|hunk::bl|
|00004690| 6f 63 6b 5c 5f 69 64 7d | 0a 0a 5c 6d 65 6d 62 65 |ock\_id}|..\membe|
|000046a0| 72 7b 6c 6f 6e 67 7d 7b | 62 6c 6f 63 6b 5c 5f 69 |r{long}{|block\_i|
|000046b0| 64 7d 0a 0a 49 64 20 6f | 66 20 74 68 65 20 62 6c |d}..Id o|f the bl|
|000046c0| 6f 63 6b 20 61 73 73 6f | 63 69 61 74 65 64 20 77 |ock asso|ciated w|
|000046d0| 69 74 68 20 74 68 65 20 | 74 65 78 74 20 69 6e 20 |ith the |text in |
|000046e0| 74 68 65 20 63 68 75 6e | 6b 2e 0a 0a 5c 6d 65 6d |the chun|k...\mem|
|000046f0| 62 65 72 73 65 63 74 69 | 6f 6e 7b 77 78 54 65 78 |bersecti|on{wxTex|
|00004700| 74 43 68 75 6e 6b 3a 3a | 62 6c 6f 63 6b 5c 5f 74 |tChunk::|block\_t|
|00004710| 79 70 65 7d 0a 0a 5c 6d | 65 6d 62 65 72 7b 69 6e |ype}..\m|ember{in|
|00004720| 74 7d 7b 62 6c 6f 63 6b | 5c 5f 74 79 70 65 7d 0a |t}{block|\_type}.|
|00004730| 0a 42 6c 6f 63 6b 20 74 | 79 70 65 2c 20 61 6e 20 |.Block t|ype, an |
|00004740| 69 6e 74 65 67 65 72 20 | 64 65 66 69 6e 65 64 20 |integer |defined |
|00004750| 62 79 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |by the a|pplicati|
|00004760| 6f 6e 20 75 73 69 6e 67 | 20 61 20 7b 5c 62 66 20 |on using| a {\bf |
|00004770| 77 78 48 79 70 65 72 54 | 65 78 74 4d 61 70 70 69 |wxHyperT|extMappi|
|00004780| 6e 67 7d 0a 6f 62 6a 65 | 63 74 2e 0a 0a 5c 6d 65 |ng}.obje|ct...\me|
|00004790| 6d 62 65 72 73 65 63 74 | 69 6f 6e 7b 77 78 54 65 |mbersect|ion{wxTe|
|000047a0| 78 74 43 68 75 6e 6b 3a | 3a 63 68 75 6e 6b 5c 5f |xtChunk:|:chunk\_|
|000047b0| 74 79 70 65 7d 0a 0a 5c | 6d 65 6d 62 65 72 7b 69 |type}..\|member{i|
|000047c0| 6e 74 7d 7b 63 68 75 6e | 6b 5c 5f 74 79 70 65 7d |nt}{chun|k\_type}|
|000047d0| 0a 0a 54 68 65 20 7b 5c | 62 66 20 63 68 75 6e 6b |..The {\|bf chunk|
|000047e0| 5c 5f 74 79 70 65 7d 20 | 64 61 74 61 20 6d 65 6d |\_type} |data mem|
|000047f0| 62 65 72 20 6d 61 79 20 | 62 65 20 6f 6e 65 20 6f |ber may |be one o|
|00004800| 66 3a 0a 0a 5c 62 65 67 | 69 6e 7b 69 74 65 6d 69 |f:..\beg|in{itemi|
|00004810| 7a 65 7d 0a 5c 69 74 65 | 6d 20 43 48 55 4e 4b 5c |ze}.\ite|m CHUNK\|
|00004820| 5f 53 54 41 52 54 5c 5f | 42 4c 4f 43 4b 0a 5c 69 |_START\_|BLOCK.\i|
|00004830| 74 65 6d 20 43 48 55 4e | 4b 5c 5f 53 54 41 52 54 |tem CHUN|K\_START|
|00004840| 5c 5f 55 4e 52 45 43 4f | 47 4e 49 5a 45 44 5c 5f |\_UNRECO|GNIZED\_|
|00004850| 42 4c 4f 43 4b 0a 5c 69 | 74 65 6d 20 43 48 55 4e |BLOCK.\i|tem CHUN|
|00004860| 4b 5c 5f 45 4e 44 5c 5f | 42 4c 4f 43 4b 0a 5c 69 |K\_END\_|BLOCK.\i|
|00004870| 74 65 6d 20 43 48 55 4e | 4b 5c 5f 53 54 41 52 54 |tem CHUN|K\_START|
|00004880| 5c 5f 42 4c 4f 43 4b 0a | 5c 65 6e 64 7b 69 74 65 |\_BLOCK.|\end{ite|
|00004890| 6d 69 7a 65 7d 0a 0a 5c | 6d 65 6d 62 65 72 73 65 |mize}..\|memberse|
|000048a0| 63 74 69 6f 6e 7b 77 78 | 54 65 78 74 43 68 75 6e |ction{wx|TextChun|
|000048b0| 6b 3a 3a 63 6f 6c 6f 75 | 72 7d 0a 0a 5c 6d 65 6d |k::colou|r}..\mem|
|000048c0| 62 65 72 7b 77 78 43 6f | 6c 6f 75 72 20 2a 7d 7b |ber{wxCo|lour *}{|
|000048d0| 63 6f 6c 6f 75 72 7d 0a | 0a 54 68 65 20 66 6f 72 |colour}.|.The for|
|000048e0| 65 67 72 6f 75 6e 64 20 | 63 6f 6c 6f 75 72 20 61 |eground |colour a|
|000048f0| 6c 6c 6f 63 61 74 65 64 | 20 66 6f 72 20 74 68 65 |llocated| for the|
|00004900| 20 63 68 75 6e 6b 20 62 | 79 20 7b 5c 62 66 20 43 | chunk b|y {\bf C|
|00004910| 6f 6d 70 69 6c 65 7d 2e | 0a 0a 5c 6d 65 6d 62 65 |ompile}.|..\membe|
|00004920| 72 73 65 63 74 69 6f 6e | 7b 77 78 54 65 78 74 43 |rsection|{wxTextC|
|00004930| 68 75 6e 6b 3a 3a 65 6e | 64 5c 5f 69 64 7d 0a 0a |hunk::en|d\_id}..|
|00004940| 5c 6d 65 6d 62 65 72 7b | 6c 6f 6e 67 7d 7b 65 6e |\member{|long}{en|
|00004950| 64 5c 5f 69 64 7d 0a 0a | 49 64 20 6f 66 20 74 68 |d\_id}..|Id of th|
|00004960| 65 20 62 6c 6f 63 6b 20 | 77 68 69 63 68 20 68 61 |e block |which ha|
|00004970| 73 20 6a 75 73 74 20 65 | 6e 64 65 64 2c 20 69 66 |s just e|nded, if|
|00004980| 20 74 68 65 20 74 79 70 | 65 20 6f 66 20 74 68 69 | the typ|e of thi|
|00004990| 73 20 63 68 75 6e 6b 20 | 69 73 20 43 48 55 4e 4b |s chunk |is CHUNK|
|000049a0| 5c 5f 45 4e 44 5c 5f 42 | 4c 4f 43 4b 2e 0a 7b 5c |\_END\_B|LOCK..{\|
|000049b0| 62 66 20 62 6c 6f 63 6b | 5c 5f 69 64 7d 20 69 73 |bf block|\_id} is|
|000049c0| 20 74 68 65 20 69 64 20 | 6f 66 20 62 6c 6f 63 6b | the id |of block|
|000049d0| 20 77 68 69 63 68 20 68 | 61 73 20 63 6f 6d 65 20 | which h|as come |
|000049e0| 69 6e 74 6f 20 73 63 6f | 70 65 2c 20 61 6e 64 20 |into sco|pe, and |
|000049f0| 77 68 69 63 68 20 73 74 | 61 72 74 73 20 77 69 74 |which st|arts wit|
|00004a00| 68 20 74 68 65 0a 74 65 | 78 74 20 73 74 6f 72 65 |h the.te|xt store|
|00004a10| 64 20 69 6e 20 74 68 65 | 20 63 68 75 6e 6b 2e 0a |d in the| chunk..|
|00004a20| 0a 5c 6d 65 6d 62 65 72 | 73 65 63 74 69 6f 6e 7b |.\member|section{|
|00004a30| 77 78 54 65 78 74 43 68 | 75 6e 6b 3a 3a 66 6f 6e |wxTextCh|unk::fon|
|00004a40| 74 7d 0a 0a 5c 6d 65 6d | 62 65 72 7b 77 78 46 6f |t}..\mem|ber{wxFo|
|00004a50| 6e 74 20 2a 7d 7b 66 6f | 6e 74 7d 0a 0a 54 68 65 |nt *}{fo|nt}..The|
|00004a60| 20 66 6f 6e 74 20 61 6c | 6c 6f 63 61 74 65 64 20 | font al|located |
|00004a70| 66 6f 72 20 74 68 65 20 | 63 68 75 6e 6b 20 62 79 |for the |chunk by|
|00004a80| 20 7b 5c 62 66 20 43 6f | 6d 70 69 6c 65 7d 2e 0a | {\bf Co|mpile}..|
|00004a90| 0a 5c 6d 65 6d 62 65 72 | 73 65 63 74 69 6f 6e 7b |.\member|section{|
|00004aa0| 77 78 54 65 78 74 43 68 | 75 6e 6b 3a 3a 6c 69 6e |wxTextCh|unk::lin|
|00004ab0| 65 5c 5f 6e 6f 7d 0a 0a | 5c 6d 65 6d 62 65 72 7b |e\_no}..|\member{|
|00004ac0| 69 6e 74 7d 7b 6c 69 6e | 65 5c 5f 6e 6f 7d 0a 0a |int}{lin|e\_no}..|
|00004ad0| 54 68 65 20 6c 69 6e 65 | 20 6e 75 6d 62 65 72 20 |The line| number |
|00004ae0| 66 6f 72 20 74 68 69 73 | 20 63 68 75 6e 6b 2e 0a |for this| chunk..|
|00004af0| 0a 5c 6d 65 6d 62 65 72 | 73 65 63 74 69 6f 6e 7b |.\member|section{|
|00004b00| 77 78 54 65 78 74 43 68 | 75 6e 6b 3a 3a 6c 6f 67 |wxTextCh|unk::log|
|00004b10| 69 63 61 6c 5c 5f 6f 70 | 7d 0a 0a 5c 6d 65 6d 62 |ical\_op|}..\memb|
|00004b20| 65 72 7b 69 6e 74 7d 7b | 6c 6f 67 69 63 61 6c 5c |er{int}{|logical\|
|00004b30| 5f 6f 70 7d 0a 0a 54 68 | 65 20 6c 6f 67 69 63 61 |_op}..Th|e logica|
|00004b40| 6c 20 6f 70 65 72 61 74 | 6f 72 20 66 6f 72 20 74 |l operat|or for t|
|00004b50| 68 69 73 20 63 68 75 6e | 6b 2e 0a 0a 5c 6d 65 6d |his chun|k...\mem|
|00004b60| 62 65 72 73 65 63 74 69 | 6f 6e 7b 77 78 54 65 78 |bersecti|on{wxTex|
|00004b70| 74 43 68 75 6e 6b 3a 3a | 73 65 6c 65 63 74 65 64 |tChunk::|selected|
|00004b80| 7d 0a 0a 5c 6d 65 6d 62 | 65 72 7b 42 6f 6f 6c 7d |}..\memb|er{Bool}|
|00004b90| 7b 73 65 6c 65 63 74 65 | 64 7d 0a 0a 46 6f 72 20 |{selecte|d}..For |
|00004ba0| 63 68 75 6e 6b 73 20 77 | 68 69 63 68 20 73 74 61 |chunks w|hich sta|
|00004bb0| 72 74 20 61 20 62 6c 6f | 63 6b 2c 20 54 52 55 45 |rt a blo|ck, TRUE|
|00004bc0| 20 69 66 20 74 68 65 20 | 62 6c 6f 63 6b 20 69 73 | if the |block is|
|00004bd0| 20 63 75 72 72 65 6e 74 | 6c 79 20 73 65 6c 65 63 | current|ly selec|
|00004be0| 74 65 64 2e 0a 0a 5c 6d | 65 6d 62 65 72 73 65 63 |ted...\m|embersec|
|00004bf0| 74 69 6f 6e 7b 77 78 54 | 65 78 74 43 68 75 6e 6b |tion{wxT|extChunk|
|00004c00| 3a 3a 73 70 65 63 69 61 | 6c 5c 5f 61 74 74 72 69 |::specia|l\_attri|
|00004c10| 62 75 74 65 7d 0a 0a 5c | 6d 65 6d 62 65 72 7b 69 |bute}..\|member{i|
|00004c20| 6e 74 7d 7b 73 70 65 63 | 69 61 6c 5c 5f 61 74 74 |nt}{spec|ial\_att|
|00004c30| 72 69 62 75 74 65 7d 0a | 0a 46 6f 72 20 61 20 62 |ribute}.|.For a b|
|00004c40| 6c 6f 63 6b 2d 73 74 61 | 72 74 69 6e 67 20 63 68 |lock-sta|rting ch|
|00004c50| 75 6e 6b 2c 20 73 70 65 | 63 69 66 69 65 73 20 6f |unk, spe|cifies o|
|00004c60| 6e 65 20 6f 72 20 6d 6f | 72 65 20 73 70 65 63 69 |ne or mo|re speci|
|00004c70| 61 6c 20 61 74 74 72 69 | 62 75 74 65 73 20 4f 52 |al attri|butes OR|
|00004c80| 65 64 20 74 6f 67 65 74 | 68 65 72 2e 0a 54 68 65 |ed toget|her..The|
|00004c90| 72 65 20 69 73 20 63 75 | 72 72 65 6e 74 6c 79 20 |re is cu|rrently |
|00004ca0| 6f 6e 6c 79 20 6f 6e 65 | 20 73 75 63 68 20 61 74 |only one| such at|
|00004cb0| 74 72 69 62 75 74 65 2c | 20 77 78 48 59 50 45 52 |tribute,| wxHYPER|
|00004cc0| 5c 5f 53 45 43 54 49 4f | 4e 2c 20 77 68 69 63 68 |\_SECTIO|N, which|
|00004cd0| 0a 69 66 20 70 72 65 73 | 65 6e 74 20 69 6e 64 69 |.if pres|ent indi|
|00004ce0| 63 61 74 65 73 20 74 68 | 61 74 20 74 68 65 20 62 |cates th|at the b|
|00004cf0| 6c 6f 63 6b 20 73 74 61 | 72 74 73 20 61 20 6e 65 |lock sta|rts a ne|
|00004d00| 77 20 73 65 63 74 69 6f | 6e 2e 0a 0a 5c 6d 65 6d |w sectio|n...\mem|
|00004d10| 62 65 72 73 65 63 74 69 | 6f 6e 7b 77 78 54 65 78 |bersecti|on{wxTex|
|00004d20| 74 43 68 75 6e 6b 3a 3a | 74 65 78 74 7d 0a 0a 5c |tChunk::|text}..\|
|00004d30| 6d 65 6d 62 65 72 7b 63 | 68 61 72 20 2a 7d 7b 74 |member{c|har *}{t|
|00004d40| 65 78 74 7d 0a 0a 54 68 | 65 20 61 63 74 75 61 6c |ext}..Th|e actual|
|00004d50| 20 74 65 78 74 20 69 6e | 20 74 68 65 20 63 68 75 | text in| the chu|
|00004d60| 6e 6b 2e 0a 0a 5c 6d 65 | 6d 62 65 72 73 65 63 74 |nk...\me|mbersect|
|00004d70| 69 6f 6e 7b 77 78 54 65 | 78 74 43 68 75 6e 6b 3a |ion{wxTe|xtChunk:|
|00004d80| 3a 76 69 73 69 62 69 6c | 69 74 79 7d 0a 0a 5c 6d |:visibil|ity}..\m|
|00004d90| 65 6d 62 65 72 7b 42 6f | 6f 6c 7d 7b 76 69 73 69 |ember{Bo|ol}{visi|
|00004da0| 62 69 6c 69 74 79 7d 0a | 0a 46 6f 72 20 61 20 62 |bility}.|.For a b|
|00004db0| 6c 6f 63 6b 2d 73 74 61 | 72 74 69 6e 67 20 63 68 |lock-sta|rting ch|
|00004dc0| 75 6e 6b 2c 20 64 65 74 | 65 72 6d 69 6e 65 73 20 |unk, det|ermines |
|00004dd0| 77 68 65 74 68 65 72 20 | 74 68 65 20 63 68 75 6e |whether |the chun|
|00004de0| 6b 20 69 73 20 76 69 73 | 69 62 6c 65 2e 0a |k is vis|ible.. |
+--------+-------------------------+-------------------------+--------+--------+