home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-01-13 | 4.6 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 42 4a 63 6c 61 73 73 20 |........|BJclass |
|00000010| 47 55 49 53 63 72 6f 6c | 6c 54 65 78 74 20 65 78 |GUIScrol|lText ex|
|00000020| 74 65 6e 64 73 20 47 55 | 49 4c 69 73 74 0d 0a 09 |tends GU|IList...|
|00000030| 6e 61 74 69 76 65 3b 0d | 0a 0d 0a 2f 2f 20 28 63 |native;.|...// (c|
|00000040| 70 70 74 65 78 74 29 0d | 0a 2f 2f 20 28 63 70 70 |pptext).|.// (cpp|
|00000050| 74 65 78 74 29 0d 0a 2f | 2f 20 28 63 70 70 74 65 |text)../|/ (cppte|
|00000060| 78 74 29 0d 0a 2f 2f 20 | 28 63 70 70 74 65 78 74 |xt)..// |(cpptext|
|00000070| 29 0d 0a 2f 2f 20 28 63 | 70 70 74 65 78 74 29 0d |)..// (c|pptext).|
|00000080| 0a 2f 2f 20 28 63 70 70 | 74 65 78 74 29 0d 0a 0d |.// (cpp|text)...|
|00000090| 0a 65 6e 75 6d 20 65 53 | 63 72 6f 6c 6c 53 74 61 |.enum eS|crollSta|
|000000a0| 74 65 0d 0a 7b 0d 0a 09 | 53 54 53 5f 4e 6f 6e 65 |te..{...|STS_None|
|000000b0| 2c 0d 0a 09 53 54 53 5f | 49 6e 69 74 69 61 6c 2c |,...STS_|Initial,|
|000000c0| 0d 0a 09 53 54 53 5f 43 | 68 61 72 2c 0d 0a 09 53 |...STS_C|har,...S|
|000000d0| 54 53 5f 45 4f 4c 2c 0d | 0a 09 53 54 53 5f 52 65 |TS_EOL,.|..STS_Re|
|000000e0| 70 65 61 74 2c 0d 0a 7d | 3b 0d 0a 0d 0a 2f 2f 20 |peat,..}|;....// |
|000000f0| 50 72 69 76 61 74 65 20 | 73 65 74 20 6f 66 20 76 |Private |set of v|
|00000100| 61 72 73 0d 0a 76 61 72 | 20 70 72 6f 74 65 63 74 |ars..var| protect|
|00000110| 65 64 20 73 74 72 69 6e | 67 09 43 6f 6e 74 65 6e |ed strin|g.Conten|
|00000120| 74 3b 09 09 2f 2f 20 54 | 68 69 73 20 69 73 20 74 |t;..// T|his is t|
|00000130| 68 65 20 63 6f 6e 74 65 | 6e 74 20 74 6f 20 64 69 |he conte|nt to di|
|00000140| 73 70 6c 61 79 20 69 6e | 20 31 20 73 69 6e 67 6c |splay in| 1 singl|
|00000150| 65 20 73 74 72 69 6e 67 | 0d 0a 76 61 72 20 73 74 |e string|..var st|
|00000160| 72 69 6e 67 09 09 09 09 | 53 65 70 61 72 61 74 6f |ring....|Separato|
|00000170| 72 3b 09 09 2f 2f 20 53 | 65 70 61 72 61 74 6f 72 |r;..// S|eparator|
|00000180| 20 74 6f 20 75 73 65 0d | 0a 76 61 72 20 70 72 6f | to use.|.var pro|
|00000190| 74 65 63 74 65 64 20 69 | 6e 74 09 09 56 69 73 69 |tected i|nt..Visi|
|000001a0| 62 6c 65 4c 69 6e 65 73 | 3b 09 2f 2f 20 54 68 69 |bleLines|;.// Thi|
|000001b0| 73 20 69 73 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |s is the| number |
|000001c0| 6f 66 20 76 69 73 69 62 | 6c 65 20 6c 69 6e 65 73 |of visib|le lines|
|000001d0| 0d 0a 76 61 72 20 70 72 | 6f 74 65 63 74 65 64 20 |..var pr|otected |
|000001e0| 69 6e 74 09 09 56 69 73 | 69 62 6c 65 43 68 61 72 |int..Vis|ibleChar|
|000001f0| 73 3b 09 2f 2f 20 48 6f | 77 20 4d 61 6e 79 20 63 |s;.// Ho|w Many c|
|00000200| 68 61 72 73 20 69 6e 20 | 74 68 65 20 6c 61 73 74 |hars in |the last|
|00000210| 20 64 69 73 70 6c 61 79 | 65 64 20 6c 69 6e 65 20 | display|ed line |
|00000220| 61 72 65 20 76 69 73 69 | 62 6c 65 0d 0a 76 61 72 |are visi|ble..var|
|00000230| 20 70 72 6f 74 65 63 74 | 65 64 20 69 6e 74 09 09 | protect|ed int..|
|00000240| 6f 6c 64 57 69 64 74 68 | 3b 09 09 2f 2f 20 4c 61 |oldWidth|;..// La|
|00000250| 73 74 20 77 69 64 74 68 | 20 6f 66 20 74 68 65 20 |st width| of the |
|00000260| 64 69 70 6c 61 79 20 61 | 72 65 61 0d 0a 76 61 72 |diplay a|rea..var|
|00000270| 20 70 72 6f 74 65 63 74 | 65 64 20 65 53 63 72 6f | protect|ed eScro|
|00000280| 6c 6c 53 74 61 74 65 20 | 53 63 72 6f 6c 6c 53 74 |llState |ScrollSt|
|00000290| 61 74 65 3b 09 2f 2f 20 | 57 68 61 74 20 77 61 73 |ate;.// |What was|
|000002a0| 20 74 68 65 20 6c 61 73 | 74 20 61 63 74 69 6f 6e | the las|t action|
|000002b0| 20 77 65 20 64 69 64 0d | 0a 76 61 72 20 70 72 6f | we did.|.var pro|
|000002c0| 74 65 63 74 65 64 20 62 | 6f 6f 6c 09 09 62 4e 65 |tected b|ool..bNe|
|000002d0| 77 43 6f 6e 74 65 6e 74 | 3b 09 2f 2f 20 54 68 69 |wContent|;.// Thi|
|000002e0| 73 20 69 73 20 73 65 74 | 20 77 68 65 6e 20 6e 65 |s is set| when ne|
|000002f0| 77 20 74 65 78 74 20 63 | 6f 6e 74 65 6e 74 20 68 |w text c|ontent h|
|00000300| 61 73 20 62 65 65 6e 20 | 73 65 74 20 66 6f 72 20 |as been |set for |
|00000310| 74 68 65 20 63 6f 6e 74 | 72 6f 6c 0d 0a 76 61 72 |the cont|rol..var|
|00000320| 20 70 72 6f 74 65 63 74 | 65 64 20 62 6f 6f 6c 09 | protect|ed bool.|
|00000330| 09 62 53 74 6f 70 70 65 | 64 3b 09 09 2f 2f 20 54 |.bStoppe|d;..// T|
|00000340| 65 6c 6c 73 20 77 68 65 | 6e 20 74 68 65 20 73 65 |ells whe|n the se|
|00000350| 71 75 65 6e 63 65 20 68 | 61 73 20 73 74 6f 70 70 |quence h|as stopp|
|00000360| 65 64 20 61 6e 69 6d 61 | 74 69 6e 67 20 28 63 61 |ed anima|ting (ca|
|00000370| 6e 20 62 65 20 72 75 73 | 68 65 64 20 62 79 20 63 |n be rus|hed by c|
|00000380| 6c 69 63 6b 69 6e 67 20 | 3f 29 0d 0a 2f 2f 76 61 |licking |?)..//va|
|00000390| 72 20 70 72 6f 74 65 63 | 74 65 64 20 62 6f 6f 6c |r protec|ted bool|
|000003a0| 09 09 62 46 6f 72 63 65 | 48 69 64 65 53 42 3b 09 |..bForce|HideSB;.|
|000003b0| 2f 2f 20 46 6f 72 63 65 | 20 48 69 64 65 20 74 68 |// Force| Hide th|
|000003c0| 65 20 73 63 72 6f 6c 6c | 62 61 72 0d 0a 0d 0a 76 |e scroll|bar....v|
|000003d0| 61 72 20 69 6e 74 09 09 | 4d 61 78 48 69 73 74 6f |ar int..|MaxHisto|
|000003e0| 72 79 3b 09 09 2f 2f 20 | 4d 61 78 69 6d 75 6d 20 |ry;..// |Maximum |
|000003f0| 6e 75 6d 62 65 72 20 6f | 66 20 72 6f 77 73 2e 20 |number o|f rows. |
|00000400| 4f 6e 6c 79 20 75 73 65 | 64 20 69 6e 20 63 6f 6e |Only use|d in con|
|00000410| 6a 75 6e 63 74 69 6f 6e | 20 77 69 74 68 20 4e 65 |junction| with Ne|
|00000420| 77 54 65 78 74 2e 20 30 | 20 69 6e 64 69 63 61 74 |wText. 0| indicat|
|00000430| 65 73 20 6e 6f 20 6c 69 | 6d 69 74 2e 0d 0a 76 61 |es no li|mit...va|
|00000440| 72 20 73 74 72 69 6e 67 | 09 4e 65 77 54 65 78 74 |r string|.NewText|
|00000450| 3b 09 09 2f 2f 20 4e 65 | 77 20 74 65 78 74 20 74 |;..// Ne|w text t|
|00000460| 6f 20 61 64 64 20 74 68 | 65 20 65 6e 64 20 6f 66 |o add th|e end of|
|00000470| 20 0d 0a 76 61 72 20 73 | 74 72 69 6e 67 09 43 6c | ..var s|tring.Cl|
|00000480| 69 63 6b 65 64 53 74 72 | 69 6e 67 3b 09 2f 2f 20 |ickedStr|ing;.// |
|00000490| 46 69 6c 6c 65 64 20 69 | 6e 20 28 69 66 20 62 53 |Filled i|n (if bS|
|000004a0| 65 6c 65 63 74 54 65 78 | 74 20 69 73 20 74 72 75 |electTex|t is tru|
|000004b0| 65 29 20 77 68 65 6e 20 | 75 73 65 72 20 63 6c 69 |e) when |user cli|
|000004c0| 63 6b 73 20 6f 6e 20 61 | 20 77 6f 72 64 0d 0a 0d |cks on a| word...|
|000004d0| 0a 2f 2f 20 50 75 62 6c | 69 63 20 73 65 74 20 6f |.// Publ|ic set o|
|000004e0| 66 20 76 61 72 73 0d 0a | 76 61 72 20 62 6f 6f 6c |f vars..|var bool|
|000004f0| 09 62 52 65 70 65 61 74 | 3b 09 09 2f 2f 20 53 68 |.bRepeat|;..// Sh|
|00000500| 6f 75 6c 64 20 74 68 65 | 20 73 65 71 75 65 6e 63 |ould the| sequenc|
|00000510| 65 20 62 65 20 72 65 70 | 65 61 74 65 64 20 3f 0d |e be rep|eated ?.|
|00000520| 0a 76 61 72 20 62 6f 6f | 6c 20 20 20 20 62 4e 6f |.var boo|l bNo|
|00000530| 54 65 6c 65 74 79 70 65 | 3b 09 2f 2f 20 44 6f 6e |Teletype|;.// Don|
|00000540| 74 20 64 6f 20 74 68 65 | 20 74 65 6c 65 74 79 70 |t do the| teletyp|
|00000550| 69 6e 67 20 65 66 66 65 | 63 74 20 61 74 20 61 6c |ing effe|ct at al|
|00000560| 6c 0d 0a 76 61 72 20 62 | 6f 6f 6c 09 62 43 6c 69 |l..var b|ool.bCli|
|00000570| 63 6b 54 65 78 74 3b 09 | 20 20 20 20 2f 2f 20 55 |ckText;.| // U|
|00000580| 70 6f 6e 20 63 6c 69 63 | 6b 69 6e 67 20 6f 6e 20 |pon clic|king on |
|00000590| 74 68 69 73 20 74 65 78 | 74 20 62 6f 78 2c 20 66 |this tex|t box, f|
|000005a0| 69 6c 6c 20 69 6e 20 43 | 6c 69 63 6b 65 64 53 74 |ill in C|lickedSt|
|000005b0| 72 69 6e 67 20 66 69 65 | 6c 64 0d 0a 76 61 72 20 |ring fie|ld..var |
|000005c0| 66 6c 6f 61 74 09 49 6e | 69 74 69 61 6c 44 65 6c |float.In|itialDel|
|000005d0| 61 79 3b 09 2f 2f 20 49 | 6e 69 74 69 61 6c 20 64 |ay;.// I|nitial d|
|000005e0| 65 6c 61 79 20 61 66 74 | 65 72 20 6e 65 77 20 63 |elay aft|er new c|
|000005f0| 6f 6e 74 65 6e 74 20 77 | 61 73 20 73 65 74 0d 0a |ontent w|as set..|
|00000600| 76 61 72 20 66 6c 6f 61 | 74 09 43 68 61 72 44 65 |var floa|t.CharDe|
|00000610| 6c 61 79 3b 09 09 2f 2f | 20 54 68 69 73 20 69 73 |lay;..//| This is|
|00000620| 20 74 68 65 20 64 65 6c | 61 79 20 62 65 74 77 65 | the del|ay betwe|
|00000630| 65 6e 20 65 61 63 68 20 | 63 68 61 72 0d 0a 76 61 |en each |char..va|
|00000640| 72 20 66 6c 6f 61 74 09 | 45 4f 4c 44 65 6c 61 79 |r float.|EOLDelay|
|00000650| 3b 09 09 2f 2f 20 54 68 | 69 73 20 69 73 20 74 68 |;..// Th|is is th|
|00000660| 65 20 64 65 6c 61 79 20 | 74 6f 20 75 73 65 20 77 |e delay |to use w|
|00000670| 68 65 6e 20 72 65 61 63 | 68 69 6e 67 20 65 6e 64 |hen reac|hing end|
|00000680| 20 6f 66 20 6c 69 6e 65 | 0d 0a 76 61 72 20 66 6c | of line|..var fl|
|00000690| 6f 61 74 09 52 65 70 65 | 61 74 44 65 6c 61 79 3b |oat.Repe|atDelay;|
|000006a0| 09 2f 2f 20 54 68 69 73 | 20 69 73 20 75 73 65 64 |.// This| is used|
|000006b0| 20 61 66 74 65 72 20 61 | 6c 6c 20 74 68 65 20 74 | after a|ll the t|
|000006c0| 65 78 74 20 68 61 73 20 | 62 65 65 6e 20 64 69 73 |ext has |been dis|
|000006d0| 70 6c 61 79 65 64 20 61 | 6e 64 20 62 52 65 70 65 |played a|nd bRepe|
|000006e0| 61 74 20 69 73 20 74 72 | 75 65 0d 0a 0d 0a 6e 61 |at is tr|ue....na|
|000006f0| 74 69 76 65 20 66 69 6e | 61 6c 20 66 75 6e 63 74 |tive fin|al funct|
|00000700| 69 6f 6e 20 73 74 72 69 | 6e 67 20 47 65 74 57 6f |ion stri|ng GetWo|
|00000710| 72 64 55 6e 64 65 72 43 | 75 72 73 6f 72 28 29 3b |rdUnderC|ursor();|
|00000720| 0d 0a 0d 0a 64 65 6c 65 | 67 61 74 65 20 4f 6e 45 |....dele|gate OnE|
|00000730| 6e 64 4f 66 4c 69 6e 65 | 28 29 3b 0d 0a 0d 0a 66 |ndOfLine|();....f|
|00000740| 75 6e 63 74 69 6f 6e 20 | 49 6e 69 74 43 6f 6d 70 |unction |InitComp|
|00000750| 6f 6e 65 6e 74 28 47 55 | 49 43 6f 6e 74 72 6f 6c |onent(GU|IControl|
|00000760| 6c 65 72 20 4d 79 43 6f | 6e 74 72 6f 6c 6c 65 72 |ler MyCo|ntroller|
|00000770| 2c 20 47 55 49 43 6f 6d | 70 6f 6e 65 6e 74 20 4d |, GUICom|ponent M|
|00000780| 79 4f 77 6e 65 72 29 0d | 0a 7b 0d 0a 09 53 75 70 |yOwner).|.{...Sup|
|00000790| 65 72 2e 49 6e 69 74 63 | 6f 6d 70 6f 6e 65 6e 74 |er.Initc|omponent|
|000007a0| 28 4d 79 43 6f 6e 74 72 | 6f 6c 6c 65 72 2c 20 4d |(MyContr|oller, M|
|000007b0| 79 4f 77 6e 65 72 29 3b | 0d 0a 09 4f 6e 4b 65 79 |yOwner);|...OnKey|
|000007c0| 54 79 70 65 3d 49 6e 74 | 65 72 6e 61 6c 4f 6e 4b |Type=Int|ernalOnK|
|000007d0| 65 79 54 79 70 65 3b 0d | 0a 09 4f 6e 4b 65 79 45 |eyType;.|..OnKeyE|
|000007e0| 76 65 6e 74 3d 49 6e 74 | 65 72 6e 61 6c 4f 6e 4b |vent=Int|ernalOnK|
|000007f0| 65 79 45 76 65 6e 74 3b | 0d 0a 09 4f 6e 43 6c 69 |eyEvent;|...OnCli|
|00000800| 63 6b 3d 49 6e 74 65 72 | 6e 61 6c 4f 6e 43 6c 69 |ck=Inter|nalOnCli|
|00000810| 63 6b 3b 0d 0a 0d 0a 09 | 69 66 28 62 4e 6f 54 65 |ck;.....|if(bNoTe|
|00000820| 6c 65 74 79 70 65 29 0d | 0a 09 09 45 6e 64 53 63 |letype).|...EndSc|
|00000830| 72 6f 6c 6c 69 6e 67 28 | 29 3b 0d 0a 7d 09 0d 0a |rolling(|);..}...|
|00000840| 09 09 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 53 65 74 |....func|tion Set|
|00000850| 43 6f 6e 74 65 6e 74 28 | 73 74 72 69 6e 67 20 4e |Content(|string N|
|00000860| 65 77 43 6f 6e 74 65 6e | 74 2c 20 6f 70 74 69 6f |ewConten|t, optio|
|00000870| 6e 61 6c 20 73 74 72 69 | 6e 67 20 73 65 70 29 0d |nal stri|ng sep).|
|00000880| 0a 7b 0d 0a 09 69 66 20 | 28 73 65 70 20 3d 3d 20 |.{...if |(sep == |
|00000890| 22 22 29 0d 0a 09 09 53 | 65 70 61 72 61 74 6f 72 |"")....S|eparator|
|000008a0| 20 3d 20 64 65 66 61 75 | 6c 74 2e 53 65 70 61 72 | = defau|lt.Separ|
|000008b0| 61 74 6f 72 3b 0d 0a 09 | 65 6c 73 65 0d 0a 09 09 |ator;...|else....|
|000008c0| 53 65 70 61 72 61 74 6f | 72 20 3d 20 73 65 70 3b |Separato|r = sep;|
|000008d0| 0d 0a 0d 0a 09 43 6f 6e | 74 65 6e 74 20 3d 20 4e |.....Con|tent = N|
|000008e0| 65 77 43 6f 6e 74 65 6e | 74 3b 0d 0a 0d 0a 09 62 |ewConten|t;.....b|
|000008f0| 4e 65 77 43 6f 6e 74 65 | 6e 74 20 3d 20 74 72 75 |NewConte|nt = tru|
|00000900| 65 3b 0d 0a 0d 0a 09 69 | 66 28 62 4e 6f 54 65 6c |e;.....i|f(bNoTel|
|00000910| 65 74 79 70 65 29 0d 0a | 09 09 45 6e 64 53 63 72 |etype)..|..EndScr|
|00000920| 6f 6c 6c 69 6e 67 28 29 | 3b 0d 0a 09 65 6c 73 65 |olling()|;...else|
|00000930| 0d 0a 09 09 52 65 73 74 | 61 72 74 28 29 3b 0d 0a |....Rest|art();..|
|00000940| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 53 74 |}....fun|ction St|
|00000950| 6f 70 28 29 0d 0a 7b 0d | 0a 09 62 53 74 6f 70 70 |op()..{.|..bStopp|
|00000960| 65 64 20 3d 20 74 72 75 | 65 3b 0d 0a 09 53 63 72 |ed = tru|e;...Scr|
|00000970| 6f 6c 6c 53 74 61 74 65 | 20 3d 20 53 54 53 5f 4e |ollState| = STS_N|
|00000980| 6f 6e 65 3b 0d 0a 09 54 | 69 6d 65 72 49 6e 74 65 |one;...T|imerInte|
|00000990| 72 76 61 6c 20 3d 20 30 | 3b 0d 0a 7d 0d 0a 0d 0a |rval = 0|;..}....|
|000009a0| 66 75 6e 63 74 69 6f 6e | 20 52 65 73 74 61 72 74 |function| Restart|
|000009b0| 28 29 0d 0a 7b 0d 0a 09 | 56 69 73 69 62 6c 65 4c |()..{...|VisibleL|
|000009c0| 69 6e 65 73 20 3d 20 30 | 3b 0d 0a 09 56 69 73 69 |ines = 0|;...Visi|
|000009d0| 62 6c 65 43 68 61 72 73 | 20 3d 20 30 3b 0d 0a 09 |bleChars| = 0;...|
|000009e0| 69 66 20 28 49 6e 69 74 | 69 61 6c 44 65 6c 61 79 |if (Init|ialDelay|
|000009f0| 20 3c 3d 20 30 2e 30 29 | 0d 0a 09 7b 0d 0a 09 09 | <= 0.0)|...{....|
|00000a00| 53 63 72 6f 6c 6c 53 74 | 61 74 65 20 3d 20 53 54 |ScrollSt|ate = ST|
|00000a10| 53 5f 4e 6f 6e 65 3b 0d | 0a 09 09 53 65 74 54 69 |S_None;.|...SetTi|
|00000a20| 6d 65 72 28 30 2e 30 30 | 31 2c 20 74 72 75 65 29 |mer(0.00|1, true)|
|00000a30| 3b 0d 0a 09 7d 0d 0a 09 | 65 6c 73 65 0d 0a 09 7b |;...}...|else...{|
|00000a40| 0d 0a 09 09 53 63 72 6f | 6c 6c 53 74 61 74 65 20 |....Scro|llState |
|00000a50| 3d 20 53 54 53 5f 49 6e | 69 74 69 61 6c 3b 0d 0a |= STS_In|itial;..|
|00000a60| 09 09 53 65 74 54 69 6d | 65 72 28 49 6e 69 74 69 |..SetTim|er(Initi|
|00000a70| 61 6c 44 65 6c 61 79 2c | 20 74 72 75 65 29 3b 0d |alDelay,| true);.|
|00000a80| 0a 09 7d 0d 0a 09 62 53 | 74 6f 70 70 65 64 20 3d |..}...bS|topped =|
|00000a90| 20 66 61 6c 73 65 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 | false;.|.}....fu|
|00000aa0| 6e 63 74 69 6f 6e 20 62 | 6f 6f 6c 20 53 6b 69 70 |nction b|ool Skip|
|00000ab0| 43 68 61 72 28 29 0d 0a | 7b 0d 0a 09 69 66 20 28 |Char()..|{...if (|
|00000ac0| 49 74 65 6d 43 6f 75 6e | 74 20 3e 20 30 20 26 26 |ItemCoun|t > 0 &&|
|00000ad0| 20 21 62 53 74 6f 70 70 | 65 64 20 26 26 20 56 69 | !bStopp|ed && Vi|
|00000ae0| 73 69 62 6c 65 4c 69 6e | 65 73 20 3e 3d 20 30 20 |sibleLin|es >= 0 |
|00000af0| 26 26 20 56 69 73 69 62 | 6c 65 4c 69 6e 65 73 20 |&& Visib|leLines |
|00000b00| 3c 20 49 74 65 6d 43 6f | 75 6e 74 29 0d 0a 09 7b |< ItemCo|unt)...{|
|00000b10| 0d 0a 09 09 69 66 20 28 | 56 69 73 69 62 6c 65 43 |....if (|VisibleC|
|00000b20| 68 61 72 73 20 3d 3d 20 | 4c 65 6e 28 45 6c 65 6d |hars == |Len(Elem|
|00000b30| 65 6e 74 73 5b 56 69 73 | 69 62 6c 65 4c 69 6e 65 |ents[Vis|ibleLine|
|00000b40| 73 5d 2e 49 74 65 6d 29 | 29 0d 0a 09 09 7b 0d 0a |s].Item)|)....{..|
|00000b50| 09 09 09 69 66 20 28 56 | 69 73 69 62 6c 65 4c 69 |...if (V|isibleLi|
|00000b60| 6e 65 73 2b 31 20 3c 20 | 49 74 65 6d 43 6f 75 6e |nes+1 < |ItemCoun|
|00000b70| 74 29 0d 0a 09 09 09 7b | 0d 0a 09 09 09 09 56 69 |t).....{|......Vi|
|00000b80| 73 69 62 6c 65 4c 69 6e | 65 73 2b 2b 3b 0d 0a 09 |sibleLin|es++;...|
|00000b90| 09 09 09 56 69 73 69 62 | 6c 65 43 68 61 72 73 20 |...Visib|leChars |
|00000ba0| 3d 20 30 3b 0d 0a 09 09 | 09 09 54 69 6d 65 72 49 |= 0;....|..TimerI|
|00000bb0| 6e 74 65 72 76 61 6c 20 | 3d 20 45 4f 4c 44 65 6c |nterval |= EOLDel|
|00000bc0| 61 79 3b 0d 0a 09 09 09 | 09 53 63 72 6f 6c 6c 53 |ay;.....|.ScrollS|
|00000bd0| 74 61 74 65 20 3d 20 53 | 54 53 5f 45 4f 4c 3b 0d |tate = S|TS_EOL;.|
|00000be0| 0a 09 09 09 09 4f 6e 45 | 6e 64 4f 66 4c 69 6e 65 |.....OnE|ndOfLine|
|00000bf0| 28 29 3b 0d 0a 09 09 09 | 09 72 65 74 75 72 6e 20 |();.....|.return |
|00000c00| 74 72 75 65 3b 0d 0a 09 | 09 09 7d 0d 0a 09 09 7d |true;...|..}....}|
|00000c10| 0d 0a 09 09 65 6c 73 65 | 0d 0a 09 09 7b 0d 0a 09 |....else|....{...|
|00000c20| 09 09 56 69 73 69 62 6c | 65 43 68 61 72 73 2b 2b |..Visibl|eChars++|
|00000c30| 3b 0d 0a 09 09 09 54 69 | 6d 65 72 49 6e 74 65 72 |;.....Ti|merInter|
|00000c40| 76 61 6c 20 3d 20 43 68 | 61 72 44 65 6c 61 79 3b |val = Ch|arDelay;|
|00000c50| 0d 0a 09 09 09 53 63 72 | 6f 6c 6c 53 74 61 74 65 |.....Scr|ollState|
|00000c60| 20 3d 20 53 54 53 5f 43 | 68 61 72 3b 0d 0a 09 09 | = STS_C|har;....|
|00000c70| 09 72 65 74 75 72 6e 20 | 74 72 75 65 3b 0d 0a 09 |.return |true;...|
|00000c80| 09 7d 0d 0a 09 7d 0d 0a | 09 72 65 74 75 72 6e 20 |.}...}..|.return |
|00000c90| 66 61 6c 73 65 3b 0d 0a | 7d 0d 0a 0d 0a 65 76 65 |false;..|}....eve|
|00000ca0| 6e 74 20 54 69 6d 65 72 | 28 29 0d 0a 7b 0d 0a 09 |nt Timer|()..{...|
|00000cb0| 69 66 20 28 49 74 65 6d | 43 6f 75 6e 74 20 3d 3d |if (Item|Count ==|
|00000cc0| 20 30 29 0d 0a 09 7b 0d | 0a 09 09 69 66 20 28 21 | 0)...{.|...if (!|
|00000cd0| 62 4e 65 77 43 6f 6e 74 | 65 6e 74 29 0d 0a 09 09 |bNewCont|ent)....|
|00000ce0| 09 54 69 6d 65 72 49 6e | 74 65 72 76 61 6c 3d 30 |.TimerIn|terval=0|
|00000cf0| 3b 0d 0a 09 09 72 65 74 | 75 72 6e 3b 0d 0a 09 7d |;....ret|urn;...}|
|00000d00| 0d 0a 0d 0a 09 69 66 20 | 28 53 63 72 6f 6c 6c 53 |.....if |(ScrollS|
|00000d10| 74 61 74 65 20 3d 3d 20 | 53 54 53 5f 52 65 70 65 |tate == |STS_Repe|
|00000d20| 61 74 29 0d 0a 09 7b 0d | 0a 09 09 52 65 73 74 61 |at)...{.|...Resta|
|00000d30| 72 74 28 29 3b 0d 0a 09 | 7d 0d 0a 09 65 6c 73 65 |rt();...|}...else|
|00000d40| 20 69 66 20 28 53 63 72 | 6f 6c 6c 53 74 61 74 65 | if (Scr|ollState|
|00000d50| 20 3d 3d 20 53 54 53 5f | 45 4f 4c 29 0d 0a 09 7b | == STS_|EOL)...{|
|00000d60| 0d 0a 09 09 69 66 20 28 | 21 53 6b 69 70 43 68 61 |....if (|!SkipCha|
|00000d70| 72 28 29 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 69 66 |r())....|{.....if|
|00000d80| 20 28 62 52 65 70 65 61 | 74 29 0d 0a 09 09 09 7b | (bRepea|t).....{|
|00000d90| 0d 0a 09 09 09 09 69 66 | 20 28 52 65 70 65 61 74 |......if| (Repeat|
|00000da0| 44 65 6c 61 79 20 3e 20 | 30 29 0d 0a 09 09 09 09 |Delay > |0)......|
|00000db0| 7b 0d 0a 09 09 09 09 09 | 54 69 6d 65 72 49 6e 74 |{.......|TimerInt|
|00000dc0| 65 72 76 61 6c 20 3d 20 | 52 65 70 65 61 74 44 65 |erval = |RepeatDe|
|00000dd0| 6c 61 79 3b 0d 0a 09 09 | 09 09 09 53 63 72 6f 6c |lay;....|...Scrol|
|00000de0| 6c 53 74 61 74 65 20 3d | 20 53 54 53 5f 52 65 70 |lState =| STS_Rep|
|00000df0| 65 61 74 3b 0d 0a 09 09 | 09 09 7d 0d 0a 09 09 09 |eat;....|..}.....|
|00000e00| 09 65 6c 73 65 0d 0a 09 | 09 09 09 09 52 65 73 74 |.else...|....Rest|
|00000e10| 61 72 74 28 29 3b 0d 0a | 09 09 09 7d 0d 0a 09 09 |art();..|...}....|
|00000e20| 09 65 6c 73 65 0d 0a 09 | 09 09 7b 0d 0a 09 09 09 |.else...|..{.....|
|00000e30| 09 62 53 74 6f 70 70 65 | 64 20 3d 20 74 72 75 65 |.bStoppe|d = true|
|00000e40| 3b 0d 0a 09 09 09 09 53 | 63 72 6f 6c 6c 53 74 61 |;......S|crollSta|
|00000e50| 74 65 20 3d 20 53 54 53 | 5f 4e 6f 6e 65 3b 0d 0a |te = STS|_None;..|
|00000e60| 09 09 09 09 54 69 6d 65 | 72 49 6e 74 65 72 76 61 |....Time|rInterva|
|00000e70| 6c 20 3d 20 30 3b 0d 0a | 09 09 09 7d 0d 0a 09 09 |l = 0;..|...}....|
|00000e80| 7d 0d 0a 09 7d 0d 0a 09 | 65 6c 73 65 20 69 66 20 |}...}...|else if |
|00000e90| 28 53 63 72 6f 6c 6c 53 | 74 61 74 65 20 3d 3d 20 |(ScrollS|tate == |
|00000ea0| 53 54 53 5f 4e 6f 6e 65 | 29 0d 0a 09 7b 0d 0a 09 |STS_None|)...{...|
|00000eb0| 09 53 63 72 6f 6c 6c 53 | 74 61 74 65 20 3d 20 53 |.ScrollS|tate = S|
|00000ec0| 54 53 5f 49 6e 69 74 69 | 61 6c 3b 0d 0a 09 09 53 |TS_Initi|al;....S|
|00000ed0| 65 74 54 69 6d 65 72 28 | 43 68 61 72 44 65 6c 61 |etTimer(|CharDela|
|00000ee0| 79 2c 20 74 72 75 65 29 | 3b 0d 0a 09 7d 0d 0a 09 |y, true)|;...}...|
|00000ef0| 65 6c 73 65 0d 0a 09 7b | 0d 0a 09 09 69 66 20 28 |else...{|....if (|
|00000f00| 21 53 6b 69 70 43 68 61 | 72 28 29 29 0d 0a 09 09 |!SkipCha|r())....|
|00000f10| 7b 0d 0a 09 09 09 53 63 | 72 6f 6c 6c 53 74 61 74 |{.....Sc|rollStat|
|00000f20| 65 3d 53 54 53 5f 45 4f | 4c 3b 0d 0a 09 09 09 54 |e=STS_EO|L;.....T|
|00000f30| 69 6d 65 72 49 6e 74 65 | 72 76 61 6c 3d 45 4f 4c |imerInte|rval=EOL|
|00000f40| 44 65 6c 61 79 3b 0d 0a | 09 09 09 4f 6e 45 6e 64 |Delay;..|...OnEnd|
|00000f50| 4f 66 4c 69 6e 65 28 29 | 3b 0d 0a 09 09 7d 0d 0a |OfLine()|;....}..|
|00000f60| 09 7d 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |.}..}...|.functio|
|00000f70| 6e 20 62 6f 6f 6c 20 49 | 6e 74 65 72 6e 61 6c 4f |n bool I|nternalO|
|00000f80| 6e 43 6c 69 63 6b 28 47 | 55 49 43 6f 6d 70 6f 6e |nClick(G|UICompon|
|00000f90| 65 6e 74 20 53 65 6e 64 | 65 72 29 0d 0a 7b 0d 0a |ent Send|er)..{..|
|00000fa0| 09 6c 6f 63 61 6c 20 62 | 6f 6f 6c 20 72 65 74 76 |.local b|ool retv|
|00000fb0| 61 6c 3b 0d 0a 0d 0a 09 | 69 66 28 62 43 6c 69 63 |al;.....|if(bClic|
|00000fc0| 6b 54 65 78 74 29 0d 0a | 09 7b 0d 0a 09 09 43 6c |kText)..|.{....Cl|
|00000fd0| 69 63 6b 65 64 53 74 72 | 69 6e 67 20 3d 20 47 65 |ickedStr|ing = Ge|
|00000fe0| 74 57 6f 72 64 55 6e 64 | 65 72 43 75 72 73 6f 72 |tWordUnd|erCursor|
|00000ff0| 28 29 3b 0d 0a 09 09 72 | 65 74 75 72 6e 20 74 72 |();....r|eturn tr|
|00001000| 75 65 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 72 65 74 76 |ue;...}.|....retv|
|00001010| 61 6c 20 3d 20 53 75 70 | 65 72 2e 49 6e 74 65 72 |al = Sup|er.Inter|
|00001020| 6e 61 6c 4f 6e 43 6c 69 | 63 6b 28 53 65 6e 64 65 |nalOnCli|ck(Sende|
|00001030| 72 29 3b 0d 0a 09 69 66 | 20 28 72 65 74 76 61 6c |r);...if| (retval|
|00001040| 29 0d 0a 09 09 45 6e 64 | 53 63 72 6f 6c 6c 69 6e |)....End|Scrollin|
|00001050| 67 28 29 3b 0d 0a 0d 0a | 09 72 65 74 75 72 6e 20 |g();....|.return |
|00001060| 72 65 74 76 61 6c 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |retval;.|.}....fu|
|00001070| 6e 63 74 69 6f 6e 20 62 | 6f 6f 6c 20 49 6e 74 65 |nction b|ool Inte|
|00001080| 72 6e 61 6c 4f 6e 4b 65 | 79 54 79 70 65 28 6f 75 |rnalOnKe|yType(ou|
|00001090| 74 20 62 79 74 65 20 4b | 65 79 2c 20 6f 70 74 69 |t byte K|ey, opti|
|000010a0| 6f 6e 61 6c 20 73 74 72 | 69 6e 67 20 55 6e 69 63 |onal str|ing Unic|
|000010b0| 6f 64 65 29 0d 0a 7b 0d | 0a 6c 6f 63 61 6c 20 62 |ode)..{.|.local b|
|000010c0| 6f 6f 6c 20 72 65 74 76 | 61 6c 3b 0d 0a 0d 0a 09 |ool retv|al;.....|
|000010d0| 72 65 74 76 61 6c 20 3d | 20 53 75 70 65 72 2e 49 |retval =| Super.I|
|000010e0| 6e 74 65 72 6e 61 6c 4f | 6e 4b 65 79 54 79 70 65 |nternalO|nKeyType|
|000010f0| 28 4b 65 79 2c 20 55 6e | 69 63 6f 64 65 29 3b 0d |(Key, Un|icode);.|
|00001100| 0a 09 69 66 20 28 72 65 | 74 76 61 6c 29 0d 0a 09 |..if (re|tval)...|
|00001110| 09 45 6e 64 53 63 72 6f | 6c 6c 69 6e 67 28 29 3b |.EndScro|lling();|
|00001120| 0d 0a 0d 0a 09 72 65 74 | 75 72 6e 20 72 65 74 76 |.....ret|urn retv|
|00001130| 61 6c 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |al;..}..|..functi|
|00001140| 6f 6e 20 62 6f 6f 6c 20 | 49 6e 74 65 72 6e 61 6c |on bool |Internal|
|00001150| 4f 6e 4b 65 79 45 76 65 | 6e 74 28 6f 75 74 20 62 |OnKeyEve|nt(out b|
|00001160| 79 74 65 20 4b 65 79 2c | 20 6f 75 74 20 62 79 74 |yte Key,| out byt|
|00001170| 65 20 53 74 61 74 65 2c | 20 66 6c 6f 61 74 20 64 |e State,| float d|
|00001180| 65 6c 74 61 29 0d 0a 7b | 0d 0a 6c 6f 63 61 6c 20 |elta)..{|..local |
|00001190| 62 6f 6f 6c 20 72 65 74 | 76 61 6c 3b 0d 0a 0d 0a |bool ret|val;....|
|000011a0| 09 72 65 74 76 61 6c 20 | 3d 20 53 75 70 65 72 2e |.retval |= Super.|
|000011b0| 49 6e 74 65 72 6e 61 6c | 4f 6e 4b 65 79 45 76 65 |Internal|OnKeyEve|
|000011c0| 6e 74 28 4b 65 79 2c 20 | 53 74 61 74 65 2c 20 64 |nt(Key, |State, d|
|000011d0| 65 6c 74 61 29 3b 0d 0a | 09 69 66 20 28 72 65 74 |elta);..|.if (ret|
|000011e0| 76 61 6c 29 0d 0a 09 09 | 45 6e 64 53 63 72 6f 6c |val)....|EndScrol|
|000011f0| 6c 69 6e 67 28 29 3b 0d | 0a 0d 0a 09 72 65 74 75 |ling();.|....retu|
|00001200| 72 6e 20 72 65 74 76 61 | 6c 3b 0d 0a 7d 0d 0a 0d |rn retva|l;..}...|
|00001210| 0a 66 75 6e 63 74 69 6f | 6e 20 45 6e 64 53 63 72 |.functio|n EndScr|
|00001220| 6f 6c 6c 69 6e 67 28 29 | 0d 0a 7b 0d 0a 09 62 53 |olling()|..{...bS|
|00001230| 74 6f 70 70 65 64 20 3d | 20 74 72 75 65 3b 0d 0a |topped =| true;..|
|00001240| 09 69 66 28 4d 79 53 63 | 72 6f 6c 6c 42 61 72 20 |.if(MySc|rollBar |
|00001250| 21 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 4d 79 53 63 |!= None)|....MySc|
|00001260| 72 6f 6c 6c 42 61 72 2e | 41 6c 69 67 6e 54 68 75 |rollBar.|AlignThu|
|00001270| 6d 62 28 29 3b 0d 0a 09 | 4b 69 6c 6c 54 69 6d 65 |mb();...|KillTime|
|00001280| 72 28 29 3b 0d 0a 7d 0d | 0a 0d 0a 00 |r();..}.|.... |
+--------+-------------------------+-------------------------+--------+--------+