home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Examples / AppKit / Draw / textUndo.subproj / TextSelChange.h < prev    next >
Unknown  |  1992-02-10  |  704 b 

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.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/x-csrc default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 2f 2a 0a 20 2a 20 54 68 | 69 73 20 63 6c 61 73 73 |/*. * Th|is class|
|00000010| 20 69 73 20 75 73 65 64 | 20 74 6f 20 72 65 70 72 | is used| to repr|
|00000020| 65 73 65 6e 74 20 61 20 | 63 68 61 6e 67 65 20 69 |esent a |change i|
|00000030| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 73 65 |n the cu|rrent se|
|00000040| 6c 65 63 74 69 6f 6e 0a | 20 2a 20 28 65 2e 67 2e |lection.| * (e.g.|
|00000050| 2c 20 61 20 66 6f 6e 74 | 20 63 68 61 6e 67 65 29 |, a font| change)|
|00000060| 2e 20 54 68 65 20 63 6f | 6e 74 65 6e 74 73 20 61 |. The co|ntents a|
|00000070| 6e 64 20 70 6f 73 69 74 | 69 6f 6e 20 6f 66 20 74 |nd posit|ion of t|
|00000080| 68 65 20 73 65 6c 65 63 | 74 69 6f 6e 20 61 72 65 |he selec|tion are|
|00000090| 0a 20 2a 20 73 61 76 65 | 64 20 62 65 66 6f 72 65 |. * save|d before|
|000000a0| 20 61 6e 64 20 61 66 74 | 65 72 20 74 68 65 20 63 | and aft|er the c|
|000000b0| 68 61 6e 67 65 2e 0a 20 | 2a 2f 0a 0a 40 69 6e 74 |hange.. |*/..@int|
|000000c0| 65 72 66 61 63 65 20 54 | 65 78 74 53 65 6c 43 68 |erface T|extSelCh|
|000000d0| 61 6e 67 65 20 3a 20 54 | 65 78 74 43 68 61 6e 67 |ange : T|extChang|
|000000e0| 65 0a 7b 0a 20 20 20 20 | 69 6e 74 20 73 65 6c 53 |e.{. |int selS|
|000000f0| 74 61 72 74 3b 09 09 2f | 2a 20 73 65 6c 65 63 74 |tart;../|* select|
|00000100| 69 6f 6e 20 73 74 61 72 | 74 20 62 65 66 6f 72 65 |ion star|t before|
|00000110| 20 63 68 61 6e 67 65 20 | 2a 2f 0a 20 20 20 20 69 | change |*/. i|
|00000120| 6e 74 20 73 65 6c 45 6e | 64 3b 09 09 09 2f 2a 20 |nt selEn|d;.../* |
|00000130| 73 65 6c 65 63 74 69 6f | 6e 20 65 6e 64 20 62 65 |selectio|n end be|
|00000140| 66 6f 72 65 20 63 68 61 | 6e 67 65 20 2a 2f 0a 20 |fore cha|nge */. |
|00000150| 20 20 20 69 64 20 6f 6c | 64 53 65 6c 3b 09 09 09 | id ol|dSel;...|
|00000160| 2f 2a 20 73 65 6c 65 63 | 74 69 6f 6e 20 64 61 74 |/* selec|tion dat|
|00000170| 61 20 62 65 66 6f 72 65 | 20 63 68 61 6e 67 65 20 |a before| change |
|00000180| 2a 2f 0a 20 20 20 20 69 | 64 20 6e 65 77 53 65 6c |*/. i|d newSel|
|00000190| 3b 09 09 09 2f 2a 20 73 | 65 6c 65 63 74 69 6f 6e |;.../* s|election|
|000001a0| 20 64 61 74 61 20 61 66 | 74 65 72 20 63 68 61 6e | data af|ter chan|
|000001b0| 67 65 20 2a 2f 0a 20 20 | 20 20 63 6f 6e 73 74 20 |ge */. | const |
|000001c0| 63 68 61 72 20 2a 6e 61 | 6d 65 3b 09 09 2f 2a 20 |char *na|me;../* |
|000001d0| 6e 61 6d 65 20 73 74 72 | 69 6e 67 20 2a 2f 0a 7d |name str|ing */.}|
|000001e0| 0a 0a 2f 2a 20 49 6e 69 | 74 69 61 6c 69 7a 61 74 |../* Ini|tializat|
|000001f0| 69 6f 6e 20 6d 65 74 68 | 6f 64 20 2a 2f 0a 0a 2d |ion meth|od */..-|
|00000200| 20 69 6e 69 74 56 69 65 | 77 3a 61 56 69 65 77 20 | initVie|w:aView |
|00000210| 6e 61 6d 65 3a 28 63 6f | 6e 73 74 20 32 19 00 02 |name:(co|nst 2...|
|00000220| 20 2a 29 73 74 72 3b 0a | 0a 2f 2a 20 46 72 65 65 | *)str;.|./* Free|
|00000230| 20 6d 65 74 68 6f 64 20 | 2a 2f 0a 0a 2d 20 66 72 | method |*/..- fr|
|00000240| 65 65 3b 0a 0a 2f 2a 20 | 50 75 62 6c 69 63 20 6d |ee;../* |Public m|
|00000250| 65 74 68 6f 64 73 20 2a | 2f 0a 0a 2d 20 28 63 6f |ethods *|/..- (co|
|00000260| 6e 73 74 20 63 68 61 72 | 20 2a 29 63 68 61 6e 67 |nst char| *)chang|
|00000270| 65 4e 61 6d 65 3b 0a 2d | 20 73 61 76 65 42 65 66 |eName;.-| saveBef|
|00000280| 6f 72 65 43 68 61 6e 67 | 65 3b 0a 2d 20 73 61 76 |oreChang|e;.- sav|
|00000290| 65 41 66 74 65 72 43 68 | 61 6e 67 65 3b 0a 2d 20 |eAfterCh|ange;.- |
|000002a0| 75 6e 64 6f 43 68 61 6e | 67 65 3b 0a 2d 20 72 65 |undoChan|ge;.- re|
|000002b0| 64 6f 43 68 61 6e 67 65 | 3b 0a 0a 40 65 6e 64 0a |doChange|;..@end.|
+--------+-------------------------+-------------------------+--------+--------+