├── .gitignore
├── COPYING-LICENSE.txt
├── Dev-cpp_setup.txt
├── Makefile.custom.win
├── README.txt
├── VisualStudio2010_setup.txt
├── cdecode.c
├── cdecode.h
├── cencode.c
├── cencode.h
├── drop_arrow.bmp
├── eye3.ico
├── linkhand.cur
├── metapad.c
├── metapad.ico
├── metapad.manifest
├── metapad.rc
├── resource.h
├── toolbar.bmp
└── w32crt.h
/.gitignore:
--------------------------------------------------------------------------------
1 | /Output
2 | /Objects
3 | Makefile.win
4 | metapad.layout
5 | metapad.dev
6 |
--------------------------------------------------------------------------------
/COPYING-LICENSE.txt:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/Dev-cpp_setup.txt:
--------------------------------------------------------------------------------
1 | To get metapad built within Dev-C++, take the Makefile that
2 | is generated and add the following to the top:
3 |
4 | RICHEDIT = USE_RICH_EDIT
5 | #RICHEDIT = NO_RICH_EDIT
6 |
7 | Then edit the lines corresponding to those below:
8 |
9 | WINDRES = windres.exe --define $(RICHEDIT)
10 | CC = gcc.exe --define $(RICHEDIT)
11 |
12 | This will ensure that config flags are passed properly. Lastly,
13 | tell Dev-C++ to use your custom Makefile so it doesn't overwrite
14 | the changes.
--------------------------------------------------------------------------------
/Makefile.custom.win:
--------------------------------------------------------------------------------
1 | #Project: metapad
2 | #Compiler: Default GCC compiler
3 | #Compiler Type: MingW 3
4 | #Makefile created by wxDev-C++ 7.2.0.2 on 29-11-09 05:10
5 |
6 | RICHEDIT = USE_RICH_EDIT
7 | #RICHEDIT = NO_RICH_EDIT
8 |
9 | WXLIBNAME = wxmsw28
10 | CC = gcc.exe --define $(RICHEDIT)
11 | WINDRES = "windres.exe" --define $(RICHEDIT)
12 | OBJ = Objects/MingW/metapad.o Objects/MingW/metapad_private.res
13 | LINKOBJ = "Objects/MingW/metapad.o" Objects/MingW/metapad_private.res
14 | LIBS = -lcomctl32 -lkernel32 -luser32 -lgdi32 -lcomdlg32 -ladvapi32 -lshell32 -mwindows
15 | INCS =
16 | CXXINCS =
17 | RCINCS =
18 | BIN = Output/MingW/metapad.exe
19 |
20 | #DEFINES = -D__GNUWIN32__ -D_DEBUG -D_MBCS -DWIN32 -D_WINDOWS
21 | DEFINES = -D__GNUWIN32__ -DNDEBUG -D_MBCS -DWIN32 -D_WINDOWS
22 |
23 | #CFLAGS = $(INCS) $(DEFINES) -W /Od /FD -c
24 | #CFLAGS = $(INCS) $(DEFINES) -c
25 | CFLAGS = $(INCS) $(DEFINES) -c -O2
26 |
27 | GPROF = gprof.exe
28 | RM = rm -f
29 | LINK = g++.exe
30 |
31 | .PHONY: all all-before all-after clean clean-custom
32 | all: all-before $(BIN) all-after
33 |
34 | clean: clean-custom
35 | $(RM) $(LINKOBJ) "$(BIN)"
36 |
37 | $(BIN): $(OBJ)
38 | $(LINK) $(LINKOBJ) -o "$(BIN)" $(LIBS)
39 | strip $(BIN)
40 |
41 | Objects/MingW/metapad.o: $(GLOBALDEPS) metapad.c resource.h
42 | $(CC) -c metapad.c -o Objects/MingW/metapad.o $(CFLAGS)
43 |
44 | Objects/MingW/metapad_private.res: Objects/MingW/metapad_private.rc metapad.rc
45 | $(WINDRES) --input-format=rc -o Objects/MingW/metapad_private.res $(RCINCS) Objects/MingW/METAPA~1.RC -O coff
46 |
--------------------------------------------------------------------------------
/README.txt:
--------------------------------------------------------------------------------
1 | This package contains the source code to metapad
2 | (version 3.51). What follows is a few points I'd like to
3 | make regarding this distribution:
4 |
5 | 1) The metapad code has been released under the GNU
6 | General Public License. This fact directly impacts
7 | what you can and cannot do with the source code. See
8 | the file COPYING-LICENSE.txt (included in this
9 | distribution) which will explain things in detail.
10 |
11 | 2) This source code in its current state is uncommented,
12 | unmodular, and generally not very understandable
13 | for anyone that is not deeply familiar with it. All
14 | of the code is contained in one 8000 line file. Of
15 | course this is not the best way to write software
16 | that others may read (which was not a concern when
17 | I originally wrote it).
18 |
19 | 3) I no longer consider myself a win32 programming
20 | expert by any means. If you are confused by anything
21 | you find here please contact your local C/win32 guru.
22 |
23 | Hope you enjoy. That is all.
24 |
25 | Alexander Davidson
26 | March 2009
27 | http://liquidninja.com/metapad
--------------------------------------------------------------------------------
/VisualStudio2010_setup.txt:
--------------------------------------------------------------------------------
1 | 1) Add comctl32.lib to the linker additional dependencies
2 | 2) C++ preprocessor - undefine UNICODE;_UNICODE for all configs
3 | 3) C++ preprocessor - define NO_RICH_EDIT, USE_RICH_EDIT depending on build config
4 | 4) Resources preprocessor - define NO_RICH_EDIT, USE_RICH_EDIT depending on build config
5 |
6 | Release builds (ensure linking dynamically with OS copy of msvcrt.dll):
7 |
8 | 5) Install the Windows DDK
9 | 6) Add DDK lib to front of Library Directories (e.g., C:\WinDDK\7600.16385.1\lib\Crt\i386;)
10 | 7) Add msvcrt.lib to the linker additional dependencies
11 | 8) Disable _ftol2_sse by adding "/QIfist" to Additional Options under C/C++ Command Line
12 | 9) Disable buffer security check (/GS-)
13 |
14 | Further backwards compatibility:
15 |
16 | 10) Allow Windows 2000 compatibility by adding the following to linker command line:
17 | /SUBSYSTEM:WINDOWS,5.00 /OSVERSION:5.00
18 | 11) To allow Win98 compatibility, edit the binary with PETools or the like and change
19 | optional header "major subsystem version" from 05 to 04. Ick!
--------------------------------------------------------------------------------
/cdecode.c:
--------------------------------------------------------------------------------
1 | /*
2 | cdecoder.c - c source to a base64 decoding algorithm implementation
3 |
4 | This is part of the libb64 project, and has been placed in the public domain.
5 | For details, see http://sourceforge.net/projects/libb64
6 | */
7 |
8 | #include "cdecode.h"
9 |
10 | int base64_decode_value(char value_in)
11 | {
12 | static const char decoding[] = {62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-2,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51};
13 | static const char decoding_size = sizeof(decoding);
14 | value_in -= 43;
15 | if (value_in < 0 || value_in > decoding_size) return -1;
16 | return decoding[(int)value_in];
17 | }
18 |
19 | void base64_init_decodestate(base64_decodestate* state_in)
20 | {
21 | state_in->step = step_a;
22 | state_in->plainchar = 0;
23 | }
24 |
25 | int base64_decode_block(const char* code_in, const int length_in, char* plaintext_out, base64_decodestate* state_in)
26 | {
27 | const char* codechar = code_in;
28 | char* plainchar = plaintext_out;
29 | char fragment;
30 |
31 | *plainchar = state_in->plainchar;
32 |
33 | switch (state_in->step)
34 | {
35 | while (1)
36 | {
37 | case step_a:
38 | do {
39 | if (codechar == code_in+length_in)
40 | {
41 | state_in->step = step_a;
42 | state_in->plainchar = *plainchar;
43 | return plainchar - plaintext_out;
44 | }
45 | fragment = (char)base64_decode_value(*codechar++);
46 | } while (fragment < 0);
47 | *plainchar = (fragment & 0x03f) << 2;
48 | case step_b:
49 | do {
50 | if (codechar == code_in+length_in)
51 | {
52 | state_in->step = step_b;
53 | state_in->plainchar = *plainchar;
54 | return plainchar - plaintext_out;
55 | }
56 | fragment = (char)base64_decode_value(*codechar++);
57 | } while (fragment < 0);
58 | *plainchar++ |= (fragment & 0x030) >> 4;
59 | *plainchar = (fragment & 0x00f) << 4;
60 | case step_c:
61 | do {
62 | if (codechar == code_in+length_in)
63 | {
64 | state_in->step = step_c;
65 | state_in->plainchar = *plainchar;
66 | return plainchar - plaintext_out;
67 | }
68 | fragment = (char)base64_decode_value(*codechar++);
69 | } while (fragment < 0);
70 | *plainchar++ |= (fragment & 0x03c) >> 2;
71 | *plainchar = (fragment & 0x003) << 6;
72 | case step_d:
73 | do {
74 | if (codechar == code_in+length_in)
75 | {
76 | state_in->step = step_d;
77 | state_in->plainchar = *plainchar;
78 | return plainchar - plaintext_out;
79 | }
80 | fragment = (char)base64_decode_value(*codechar++);
81 | } while (fragment < 0);
82 | *plainchar++ |= (fragment & 0x03f);
83 | }
84 | }
85 | /* control should not reach here */
86 | return plainchar - plaintext_out;
87 | }
88 |
89 |
--------------------------------------------------------------------------------
/cdecode.h:
--------------------------------------------------------------------------------
1 | /*
2 | cdecode.h - c header for a base64 decoding algorithm
3 |
4 | This is part of the libb64 project, and has been placed in the public domain.
5 | For details, see http://sourceforge.net/projects/libb64
6 | */
7 |
8 | #ifndef BASE64_CDECODE_H
9 | #define BASE64_CDECODE_H
10 |
11 | typedef enum
12 | {
13 | step_a, step_b, step_c, step_d
14 | } base64_decodestep;
15 |
16 | typedef struct
17 | {
18 | base64_decodestep step;
19 | char plainchar;
20 | } base64_decodestate;
21 |
22 | void base64_init_decodestate(base64_decodestate* state_in);
23 |
24 | int base64_decode_value(char value_in);
25 |
26 | int base64_decode_block(const char* code_in, const int length_in, char* plaintext_out, base64_decodestate* state_in);
27 |
28 | #endif /* BASE64_CDECODE_H */
29 |
--------------------------------------------------------------------------------
/cencode.c:
--------------------------------------------------------------------------------
1 | /*
2 | cencoder.c - c source to a base64 encoding algorithm implementation
3 |
4 | This is part of the libb64 project, and has been placed in the public domain.
5 | For details, see http://sourceforge.net/projects/libb64
6 | */
7 |
8 | #include "cencode.h"
9 |
10 | const int CHARS_PER_LINE = 500;
11 | const char FILLER = '=';
12 |
13 | void base64_init_encodestate(base64_encodestate* state_in)
14 | {
15 | state_in->step = step_A;
16 | state_in->result = 0;
17 | state_in->stepcount = 0;
18 | }
19 |
20 | char base64_encode_value(char value_in)
21 | {
22 | static const char* encoding = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
23 | if (value_in > 63) return FILLER;
24 | return encoding[(int)value_in];
25 | }
26 |
27 | int base64_encode_block(const char* plaintext_in, int length_in, char* code_out, base64_encodestate* state_in)
28 | {
29 | const char* plainchar = plaintext_in;
30 | const char* const plaintextend = plaintext_in + length_in;
31 | char* codechar = code_out;
32 | char result;
33 | char fragment;
34 |
35 | result = state_in->result;
36 |
37 | switch (state_in->step)
38 | {
39 | while (1)
40 | {
41 | case step_A:
42 | if (plainchar == plaintextend)
43 | {
44 | state_in->result = result;
45 | state_in->step = step_A;
46 | return codechar - code_out;
47 | }
48 | fragment = *plainchar++;
49 | result = (fragment & 0x0fc) >> 2;
50 | *codechar++ = base64_encode_value(result);
51 | result = (fragment & 0x003) << 4;
52 | case step_B:
53 | if (plainchar == plaintextend)
54 | {
55 | state_in->result = result;
56 | state_in->step = step_B;
57 | return codechar - code_out;
58 | }
59 | fragment = *plainchar++;
60 | result |= (fragment & 0x0f0) >> 4;
61 | *codechar++ = base64_encode_value(result);
62 | result = (fragment & 0x00f) << 2;
63 | case step_C:
64 | if (plainchar == plaintextend)
65 | {
66 | state_in->result = result;
67 | state_in->step = step_C;
68 | return codechar - code_out;
69 | }
70 | fragment = *plainchar++;
71 | result |= (fragment & 0x0c0) >> 6;
72 | *codechar++ = base64_encode_value(result);
73 | result = (fragment & 0x03f) >> 0;
74 | *codechar++ = base64_encode_value(result);
75 |
76 | ++(state_in->stepcount);
77 | if (state_in->stepcount == CHARS_PER_LINE/4)
78 | {
79 | *codechar++ = '\n';
80 | state_in->stepcount = 0;
81 | }
82 | }
83 | }
84 | /* control should not reach here */
85 | return codechar - code_out;
86 | }
87 |
88 | int base64_encode_blockend(char* code_out, base64_encodestate* state_in)
89 | {
90 | char* codechar = code_out;
91 |
92 | switch (state_in->step)
93 | {
94 | case step_B:
95 | *codechar++ = base64_encode_value(state_in->result);
96 | *codechar++ = FILLER;
97 | *codechar++ = FILLER;
98 | break;
99 | case step_C:
100 | *codechar++ = base64_encode_value(state_in->result);
101 | *codechar++ = FILLER;
102 | break;
103 | case step_A:
104 | break;
105 | }
106 | //*codechar++ = '\n';
107 |
108 | return codechar - code_out;
109 | }
110 |
111 |
--------------------------------------------------------------------------------
/cencode.h:
--------------------------------------------------------------------------------
1 | /*
2 | cencode.h - c header for a base64 encoding algorithm
3 |
4 | This is part of the libb64 project, and has been placed in the public domain.
5 | For details, see http://sourceforge.net/projects/libb64
6 | */
7 |
8 | #ifndef BASE64_CENCODE_H
9 | #define BASE64_CENCODE_H
10 |
11 | typedef enum
12 | {
13 | step_A, step_B, step_C
14 | } base64_encodestep;
15 |
16 | typedef struct
17 | {
18 | base64_encodestep step;
19 | char result;
20 | int stepcount;
21 | } base64_encodestate;
22 |
23 | void base64_init_encodestate(base64_encodestate* state_in);
24 |
25 | char base64_encode_value(char value_in);
26 |
27 | int base64_encode_block(const char* plaintext_in, int length_in, char* code_out, base64_encodestate* state_in);
28 |
29 | int base64_encode_blockend(char* code_out, base64_encodestate* state_in);
30 |
31 | #endif /* BASE64_CENCODE_H */
32 |
--------------------------------------------------------------------------------
/drop_arrow.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alexd/metapad/428e8724d3deafa09a3c03d4596fe498dcb5c504/drop_arrow.bmp
--------------------------------------------------------------------------------
/eye3.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alexd/metapad/428e8724d3deafa09a3c03d4596fe498dcb5c504/eye3.ico
--------------------------------------------------------------------------------
/linkhand.cur:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alexd/metapad/428e8724d3deafa09a3c03d4596fe498dcb5c504/linkhand.cur
--------------------------------------------------------------------------------
/metapad.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alexd/metapad/428e8724d3deafa09a3c03d4596fe498dcb5c504/metapad.c
--------------------------------------------------------------------------------
/metapad.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alexd/metapad/428e8724d3deafa09a3c03d4596fe498dcb5c504/metapad.ico
--------------------------------------------------------------------------------
/metapad.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 | metapad XP
10 |
11 |
12 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/metapad.rc:
--------------------------------------------------------------------------------
1 | //Microsoft Developer Studio generated resource script.
2 | //
3 | #include "resource.h"
4 |
5 | #define APSTUDIO_READONLY_SYMBOLS
6 | /////////////////////////////////////////////////////////////////////////////
7 | //
8 | // Generated from the TEXTINCLUDE 2 resource.
9 | //
10 | //#include "afxres.h"
11 | #include
12 | #define IDC_STATIC (-1)
13 |
14 | /////////////////////////////////////////////////////////////////////////////
15 | #undef APSTUDIO_READONLY_SYMBOLS
16 |
17 | /////////////////////////////////////////////////////////////////////////////
18 | // English (U.S.) resources
19 |
20 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
21 | #ifdef _WIN32
22 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
23 | #pragma code_page(1252)
24 | #endif //_WIN32
25 |
26 | /////////////////////////////////////////////////////////////////////////////
27 | //
28 | // 24
29 | //
30 |
31 | //1 24 MOVEABLE PURE "metapad.manifest"
32 |
33 | /////////////////////////////////////////////////////////////////////////////
34 | //
35 | // Dialog
36 | //
37 |
38 | IDD_ABORT_PRINT DIALOG DISCARDABLE 0, 0, 186, 68
39 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
40 | CAPTION "metapad"
41 | FONT 8, "MS Sans Serif"
42 | BEGIN
43 | PUSHBUTTON "Cancel",IDD_CANCEL,67,47,50,14
44 | CTEXT "Now printing",IDD_TEXT,9,17,170,8
45 | CTEXT "",IDD_FILE,9,28,170,8,SS_NOPREFIX
46 | END
47 |
48 | IDD_GOTO DIALOG DISCARDABLE 0, 0, 129, 45
49 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
50 | CAPTION "Go To Line"
51 | FONT 8, "MS Sans Serif"
52 | BEGIN
53 | LTEXT "&Line #:",IDC_STATIC,7,8,23,8
54 | EDITTEXT IDC_LINE,44,7,32,12,ES_AUTOHSCROLL | ES_NUMBER
55 | LTEXT "&Offset:",IDC_OFFSET_TEXT,7,27,22,8
56 | EDITTEXT IDC_OFFSET,44,26,32,12,ES_AUTOHSCROLL | ES_NUMBER
57 | DEFPUSHBUTTON "OK",IDOK,87,7,35,14
58 | PUSHBUTTON "Cancel",IDCANCEL,87,24,35,14
59 | END
60 |
61 | #if defined(APSTUDIO_INVOKED) || defined(NO_RICH_EDIT)
62 | #if defined(APSTUDIO_INVOKED)
63 | IDD_PROPPAGE_A1_LE$(NO_RICH_EDIT) DIALOGEX 0, 0, 225, 167
64 | #else
65 | IDD_PROPPAGE_A1_LE DIALOGEX 0, 0, 225, 167
66 | #endif
67 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
68 | CAPTION "Advanced"
69 | FONT 8, "MS Sans Serif", 0, 0, 0x1
70 | BEGIN
71 | CONTROL "&Separate recent files menu",IDC_RECENT,"Button",
72 | BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,7,7,107,8
73 | CONTROL "&Enable read only menu item",IDC_READONLY_MENU,"Button",
74 | BS_AUTOCHECKBOX | WS_TABSTOP,7,19,107,8
75 | CONTROL "F&ind/replace use current font",IDC_CURRENT_FIND_FONT,
76 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,32,107,8
77 | CONTROL "&Context menu moves cursor",IDC_CONTEXT_CURSOR,"Button",
78 | BS_AUTOCHECKBOX | WS_TABSTOP,7,45,107,8
79 | CONTROL "Disa&ble favourites menu",IDC_NO_FAVES,"Button",
80 | BS_AUTOCHECKBOX | WS_TABSTOP,7,58,107,8
81 | CONTROL "&Launch viewer for large files",IDC_ALWAYS_LAUNCH,
82 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,71,107,8
83 | CONTROL "Use default &printer font",IDC_DEFAULT_PRINT,"Button",
84 | BS_AUTOCHECKBOX | WS_TABSTOP,7,84,107,8
85 | CONTROL "Use fi&xed window position:",IDC_STICKY_WINDOW,"Button",
86 | BS_AUTOCHECKBOX | BS_NOTIFY | WS_TABSTOP,7,112,99,8
87 | CONTROL "Hide &go to offset",IDC_GOTO_OFFSET,"Button",
88 | BS_AUTOCHECKBOX | WS_TABSTOP,119,7,99,8
89 | CONTROL "Disable smart &home",IDC_SMARTHOME,"Button",
90 | BS_AUTOCHECKBOX | WS_TABSTOP,119,19,99,8
91 | CONTROL "Don't a&uto-save extensions",IDC_NO_SAVE_EXTENSIONS,
92 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,119,32,99,8
93 | CONTROL "Skip load &warning prompts",IDC_PROMPT_BINARY,"Button",
94 | BS_AUTOCHECKBOX | WS_TABSTOP,119,45,99,8
95 | CONTROL "Don't insert &time with date",IDC_INSERT_TIME,"Button",
96 | BS_AUTOCHECKBOX | WS_TABSTOP,119,58,99,8
97 | CONTROL "Pri&nt using secondary font",IDC_SECONDARY_PRINT_FONT,
98 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,119,71,99,8
99 | CONTROL "Don't s&ave find history",IDC_NO_SAVE_HISTORY,"Button",
100 | BS_AUTOCHECKBOX | WS_TABSTOP,119,84,99,8
101 | CONTROL "D&on't auto-select on find",IDC_NO_FIND_SELECT,"Button",
102 | BS_AUTOCHECKBOX | WS_TABSTOP,119,97,99,8
103 | PUSHBUTTON "Sa&ve Window Position",IDC_BUTTON_STICK,119,111,99,13
104 | PUSHBUTTON "Clear &Recent Files...",IDC_BUTTON_CLEAR_RECENT,7,127,
105 | 83,14
106 | PUSHBUTTON "Clear &Find History...",IDC_BUTTON_CLEAR_FIND,7,146,83,
107 | 14
108 | LTEXT "Recent files to re&member:",IDC_STATIC,102,129,82,8
109 | EDITTEXT IDC_EDIT_MAX_MRU,194,127,24,12,ES_CENTER |
110 | ES_AUTOHSCROLL | ES_NUMBER
111 | LTEXT "&Default file format:",IDC_STATIC,102,148,58,8
112 | COMBOBOX IDC_COMBO_FORMAT,163,146,55,63,CBS_DROPDOWNLIST |
113 | WS_VSCROLL | WS_TABSTOP
114 | END
115 | #endif
116 |
117 | IDD_PAGE_SETUP DIALOG DISCARDABLE 32, 32, 190, 124
118 | STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE |
119 | WS_CAPTION | WS_SYSMENU
120 | CAPTION "Page Setup"
121 | FONT 8, "MS Sans Serif"
122 | BEGIN
123 | CONTROL "",1080,"Static",SS_WHITERECT | WS_GROUP,99,10,80,80
124 | CONTROL "",1081,"Static",SS_GRAYRECT | WS_GROUP,179,14,4,80
125 | CONTROL "",1082,"Static",SS_GRAYRECT | WS_GROUP,103,90,80,4
126 | GROUPBOX "Margins",1075,7,7,80,84,WS_GROUP
127 | LTEXT "&Left:",1102,16,21,26,8
128 | EDITTEXT 1155,48,19,30,12,WS_GROUP
129 | LTEXT "&Right:",1103,16,38,26,8
130 | EDITTEXT 1157,48,36,30,12,WS_GROUP
131 | LTEXT "&Top:",1104,16,55,26,8
132 | EDITTEXT 1156,48,53,30,12,WS_GROUP
133 | LTEXT "&Bottom:",1105,16,72,26,8
134 | EDITTEXT 1158,48,70,30,12,WS_GROUP
135 | DEFPUSHBUTTON "OK",IDOK,83,103,48,14,WS_GROUP
136 | PUSHBUTTON "Cancel",IDCANCEL,135,103,48,14
137 | END
138 |
139 | IDD_ABOUT DIALOGEX 0, 0, 151, 78
140 | STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
141 | CAPTION "metapad"
142 | FONT 8, "MS Sans Serif", 0, 0, 0x1
143 | BEGIN
144 | DEFPUSHBUTTON "OK",IDOK,53,56,44,15
145 | EDITTEXT IDC_EDIT_URL,43,17,102,10,ES_CENTER | ES_NOHIDESEL |
146 | ES_READONLY | NOT WS_BORDER,WS_EX_STATICEDGE
147 | RTEXT "metapad X.X",IDC_STATICX,41,7,103,8
148 | ICON IDI_PAD,IDC_DLGICON,7,7,20,20,SS_NOTIFY
149 | CTEXT "Static",IDC_STATIC_COPYRIGHT,7,34,137,8
150 | CTEXT "Static",IDC_STATIC_COPYRIGHT2,7,44,137,8
151 | END
152 |
153 | IDD_FAV_NAME DIALOG DISCARDABLE 0, 0, 228, 46
154 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
155 | CAPTION "Add Favourite"
156 | FONT 8, "MS Sans Serif"
157 | BEGIN
158 | LTEXT "&Favourite name:",IDC_NAME,7,8,114,8
159 | EDITTEXT IDC_DATA,7,21,156,12,ES_AUTOHSCROLL
160 | DEFPUSHBUTTON "OK",IDOK,171,7,50,14
161 | PUSHBUTTON "Cancel",IDCANCEL,171,24,50,14
162 | END
163 |
164 | IDD_REPLACE DIALOG DISCARDABLE 36, 44, 230, 82
165 | STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION |
166 | WS_SYSMENU
167 | CAPTION "Replace"
168 | FONT 8, "MS Shell Dlg"
169 | BEGIN
170 | LTEXT "Fi&nd what:",IDC_STATIC,7,9,45,8
171 | COMBOBOX ID_DROP_FIND,54,7,99,112,CBS_DROPDOWN | CBS_AUTOHSCROLL |
172 | WS_VSCROLL | WS_TABSTOP
173 | LTEXT "Re&place with:",IDC_STATIC,7,26,45,8
174 | COMBOBOX ID_DROP_REPLACE,54,24,99,111,CBS_DROPDOWN |
175 | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
176 | PUSHBUTTON ">",IDC_ESCAPE,156,7,11,12,BS_BITMAP | BS_NOTIFY
177 | PUSHBUTTON ">",IDC_ESCAPE2,156,24,11,12,BS_BITMAP | BS_NOTIFY
178 | CONTROL "Match &whole word only",1040,"Button",BS_AUTOCHECKBOX |
179 | WS_GROUP | WS_TABSTOP,7,43,87,12
180 | CONTROL "Match &case",1041,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
181 | 7,59,59,12
182 | GROUPBOX "Replace all in",IDC_STATIC,102,40,65,36
183 | CONTROL "&Selection",IDC_RADIO_SELECTION,"Button",
184 | BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,111,51,44,9
185 | CONTROL "Wh&ole file",IDC_RADIO_WHOLE,"Button",
186 | BS_AUTORADIOBUTTON,111,62,44,9
187 | DEFPUSHBUTTON "&Find Next",IDOK,173,7,50,14,WS_GROUP
188 | PUSHBUTTON "&Replace",1024,173,25,50,14
189 | PUSHBUTTON "Replace &All",1025,173,43,50,14
190 | PUSHBUTTON "Close",IDCANCEL,173,61,50,14
191 | PUSHBUTTON "&Help",1038,238,52,50,14,NOT WS_VISIBLE
192 | EDITTEXT 1152,247,81,24,12,ES_AUTOHSCROLL | NOT WS_VISIBLE |
193 | WS_GROUP
194 | END
195 |
196 | IDD_FIND DIALOG DISCARDABLE 30, 73, 236, 65
197 | STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION |
198 | WS_SYSMENU
199 | CAPTION "Find"
200 | FONT 8, "MS Shell Dlg"
201 | BEGIN
202 | LTEXT "Fi&nd what:",-1,7,9,37,8
203 | COMBOBOX ID_DROP_FIND,47,7,113,117,CBS_DROPDOWN | CBS_AUTOHSCROLL |
204 | WS_VSCROLL | WS_TABSTOP
205 | PUSHBUTTON ">",IDC_ESCAPE,163,7,11,12,BS_BITMAP | BS_NOTIFY
206 | CONTROL "Match &whole word only",1040,"Button",BS_AUTOCHECKBOX |
207 | WS_GROUP | WS_TABSTOP,7,26,92,8
208 | CONTROL "Match &case",1041,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
209 | 7,38,92,8
210 | CONTROL "C&lose dialog after find",IDC_CLOSE_AFTER_FIND,"Button",
211 | BS_AUTOCHECKBOX | WS_TABSTOP,7,50,92,8
212 | GROUPBOX "Direction",1072,102,24,71,28,WS_GROUP
213 | CONTROL "&Up",1056,"Button",BS_AUTORADIOBUTTON | WS_GROUP,108,35,
214 | 25,12
215 | CONTROL "&Down",1057,"Button",BS_AUTORADIOBUTTON,136,35,35,12
216 | DEFPUSHBUTTON "&Find Next",IDOK,179,7,50,14,WS_GROUP
217 | PUSHBUTTON "Close",IDCANCEL,179,26,50,14
218 | PUSHBUTTON "&Help",1038,179,44,50,14
219 | EDITTEXT 1152,255,32,18,12,ES_AUTOHSCROLL | NOT WS_VISIBLE |
220 | WS_GROUP
221 | END
222 |
223 | IDD_PROPPAGE_GENERAL DIALOG DISCARDABLE 0, 0, 225, 167
224 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
225 | CAPTION "General"
226 | FONT 8, "MS Sans Serif"
227 | BEGIN
228 | CONTROL "Save &window placement",IDC_CHECK_SAVEWINDOWPLACEMENT,
229 | "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,7,7,103,
230 | 8
231 | CONTROL "Save options &menu states",IDC_CHECK_SAVEMENUSETTINGS,
232 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,19,104,8
233 | CONTROL "&Hide directory in caption",IDC_NO_CAPTION_DIR,"Button",
234 | BS_AUTOCHECKBOX | WS_TABSTOP,7,32,104,8
235 | CONTROL "&Enable quick exit (Esc key)",IDC_CHECK_QUICKEXIT,
236 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,45,104,8
237 | CONTROL "Aut&o-search at end of file ",IDC_FIND_AUTO_WRAP,"Button",
238 | BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,7,58,98,8
239 | CONTROL "Remem&ber last folder",IDC_CHECK_SAVEDIRECTORY,"Button",
240 | BS_AUTOCHECKBOX | WS_TABSTOP,119,7,98,8
241 | CONTROL "A&uto-indent text",IDC_AUTO_INDENT,"Button",
242 | BS_AUTOCHECKBOX | WS_TABSTOP,119,19,98,8
243 | CONTROL "&Insert tabs as spaces",IDC_INSERT_SPACES,"Button",
244 | BS_AUTOCHECKBOX | WS_TABSTOP,119,31,98,8
245 | LTEXT "&Tab size:",IDC_STATIC,119,45,33,8
246 | EDITTEXT IDC_TAB_STOP,160,43,18,12,ES_CENTER | ES_AUTOHSCROLL |
247 | ES_NUMBER
248 | LTEXT "&Quote with:",IDC_STATIC,119,58,41,8
249 | EDITTEXT IDC_EDIT_QUOTE,160,57,18,12,ES_AUTOHSCROLL
250 | LTEXT "&Primary external viewer:",IDC_STATIC,7,72,78,8
251 | EDITTEXT IDC_EDIT_BROWSER,7,83,138,12,ES_AUTOHSCROLL
252 | PUSHBUTTON "...",IDC_BUTTON_BROWSE,148,83,14,12
253 | LTEXT "&Args:",IDC_STATIC,168,85,16,8
254 | EDITTEXT IDC_EDIT_ARGS,189,83,29,12,ES_AUTOHSCROLL
255 | LTEXT "&Secondary external viewer:",IDC_STATIC,7,100,95,8
256 | EDITTEXT IDC_EDIT_BROWSER2,7,111,138,12,ES_AUTOHSCROLL
257 | PUSHBUTTON "...",IDC_BUTTON_BROWSE2,148,111,14,12
258 | LTEXT "A&rgs:",IDC_STATIC,168,113,16,8
259 | EDITTEXT IDC_EDIT_ARGS2,189,111,29,12,ES_AUTOHSCROLL
260 | LTEXT "When launching viewers:",IDC_STATIC,7,128,104,9
261 | CONTROL "Prompt to sa&ve",IDC_LAUNCH_SAVE0,"Button",
262 | BS_AUTORADIOBUTTON | WS_GROUP,15,139,61,10
263 | CONTROL "Automatica&lly save",IDC_LAUNCH_SAVE1,"Button",
264 | BS_AUTORADIOBUTTON,83,139,73,10
265 | CONTROL "Do&n't save",IDC_LAUNCH_SAVE2,"Button",
266 | BS_AUTORADIOBUTTON,161,139,51,10
267 | CONTROL "E&xit metapad after viewer is launched",
268 | IDC_CHECK_LAUNCH_CLOSE,"Button",BS_AUTOCHECKBOX |
269 | WS_GROUP | WS_TABSTOP,15,151,138,9
270 | END
271 |
272 | IDD_PROPPAGE_VIEW DIALOGEX 0, 0, 225, 167
273 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
274 | CAPTION "View"
275 | FONT 8, "MS Sans Serif", 0, 0, 0x1
276 | BEGIN
277 | GROUPBOX "Primary font",IDC_STATIC,7,7,101,102,WS_GROUP
278 | CONTROL "S&ystem fixed width",IDC_FONT_PRIMARY,"Button",
279 | BS_AUTORADIOBUTTON | WS_GROUP,16,19,77,10
280 | CONTROL "&Custom:",IDC_FONT_PRIMARY_2,"Button",
281 | BS_AUTORADIOBUTTON,16,30,77,10
282 | PUSHBUTTON "Font &1",IDC_BTN_FONT1,16,42,83,14
283 | CONTROL "&Use system colours",IDC_SYSTEM_COLOURS,"Button",
284 | BS_AUTOCHECKBOX | BS_NOTIFY | WS_TABSTOP,16,62,76,9
285 | LTEXT "Window colour:",IDC_STAT_WIND,16,76,50,9
286 | CONTROL "window",IDC_COLOUR_BACK,"Button",BS_OWNERDRAW,74,75,26,
287 | 11,WS_EX_STATICEDGE
288 | LTEXT "Font colour:",IDC_STAT_FONT,16,92,45,9
289 | CONTROL "font",IDC_COLOUR_FONT,"Button",BS_OWNERDRAW,74,91,26,
290 | 11,WS_EX_STATICEDGE
291 | GROUPBOX "Secondary font",IDC_STATIC,117,7,101,102,WS_GROUP
292 | CONTROL "ANSI fi&xed width",IDC_FONT_SECONDARY,"Button",
293 | BS_AUTORADIOBUTTON | WS_GROUP,126,19,75,10
294 | CONTROL "Cust&om:",IDC_FONT_SECONDARY_2,"Button",
295 | BS_AUTORADIOBUTTON,126,30,75,10
296 | PUSHBUTTON "Font &2",IDC_BTN_FONT2,126,42,83,14
297 | CONTROL "Us&e system colours",IDC_SYSTEM_COLOURS2,"Button",
298 | BS_AUTOCHECKBOX | BS_NOTIFY | WS_TABSTOP,126,62,76,9
299 | LTEXT "Window colour:",IDC_STAT_WIND2,126,76,50,9
300 | CONTROL "window",IDC_COLOUR_BACK2,"Button",BS_OWNERDRAW,183,75,
301 | 26,11,WS_EX_STATICEDGE
302 | LTEXT "Font colour:",IDC_STAT_FONT2,126,92,45,9
303 | CONTROL "font",IDC_COLOUR_FONT2,"Button",BS_OWNERDRAW,183,91,26,
304 | 11,WS_EX_STATICEDGE
305 | GROUPBOX "Window",IDC_STATIC,7,113,211,47
306 | LTEXT "&Selection margin width:",IDC_STATIC,15,128,82,16
307 | EDITTEXT IDC_EDIT_SM_WIDTH,94,127,24,12,ES_CENTER |
308 | ES_AUTOHSCROLL
309 | LTEXT "&Transparency %:",IDC_STAT_TRANS,129,
310 | 128,58,16
311 | EDITTEXT IDC_EDIT_TRANSPARENT,185,127,24,12,ES_CENTER |
312 | ES_AUTOHSCROLL
313 | CONTROL "Use def&ault toolbar style",
314 | IDC_FLAT_TOOLBAR,"Button",BS_AUTOCHECKBOX | BS_MULTILINE |
315 | WS_TABSTOP,16,143,176,9
316 | END
317 |
318 | #if defined(APSTUDIO_INVOKED) || defined(USE_RICH_EDIT)
319 | #if defined(APSTUDIO_INVOKED)
320 | IDD_PROPPAGE_A1$(USE_RICH_EDIT) DIALOGEX 0, 0, 225, 167
321 | #else
322 | IDD_PROPPAGE_A1 DIALOGEX 0, 0, 225, 167
323 | #endif
324 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
325 | CAPTION "Advanced"
326 | FONT 8, "MS Sans Serif", 0, 0, 0x1
327 | BEGIN
328 | CONTROL "&Separate recent files menu",IDC_RECENT,"Button",
329 | BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,7,7,107,8
330 | CONTROL "&Enable read only menu item",IDC_READONLY_MENU,"Button",
331 | BS_AUTOCHECKBOX | WS_TABSTOP,7,19,107,8
332 | CONTROL "F&ind/replace use current font",IDC_CURRENT_FIND_FONT,
333 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,32,107,8
334 | CONTROL "&Context menu moves cursor",IDC_CONTEXT_CURSOR,"Button",
335 | BS_AUTOCHECKBOX | WS_TABSTOP,7,45,107,8
336 | CONTROL "Disa&ble favourites menu",IDC_NO_FAVES,"Button",
337 | BS_AUTOCHECKBOX | WS_TABSTOP,7,58,107,8
338 | CONTROL "H&yperlinks require doubleclick",IDC_LINK_DC,"Button",
339 | BS_AUTOCHECKBOX | WS_TABSTOP,7,71,107,8
340 | CONTROL "Su&ppress undo buffer prompt",IDC_SUPPRESS_UNDO_PROMPT,
341 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,84,107,8
342 | CONTROL "Hide scro&llbars when possible",IDC_HIDE_SCROLLBARS,
343 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,97,107,8
344 | CONTROL "Use fi&xed window position:",IDC_STICKY_WINDOW,"Button",
345 | BS_AUTOCHECKBOX | BS_NOTIFY | WS_TABSTOP,7,112,107,8
346 | CONTROL "Hide &go to offset",IDC_GOTO_OFFSET,"Button",
347 | BS_AUTOCHECKBOX | WS_TABSTOP,119,7,99,8
348 | CONTROL "Disable smart &home",IDC_SMARTHOME,"Button",
349 | BS_AUTOCHECKBOX | WS_TABSTOP,119,19,99,8
350 | CONTROL "Don't a&uto-save extensions",IDC_NO_SAVE_EXTENSIONS,
351 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,119,32,99,8
352 | CONTROL "Skip load &warning prompts",IDC_PROMPT_BINARY,"Button",
353 | BS_AUTOCHECKBOX | WS_TABSTOP,119,45,99,8
354 | CONTROL "Don't insert &time with date",IDC_INSERT_TIME,"Button",
355 | BS_AUTOCHECKBOX | WS_TABSTOP,119,58,99,8
356 | CONTROL "Pri&nt using secondary font",IDC_SECONDARY_PRINT_FONT,
357 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,119,71,99,8
358 | CONTROL "Don't s&ave find history",IDC_NO_SAVE_HISTORY,"Button",
359 | BS_AUTOCHECKBOX | WS_TABSTOP,119,84,99,8
360 | CONTROL "D&on't auto-select on find",IDC_NO_FIND_SELECT,"Button",
361 | BS_AUTOCHECKBOX | WS_TABSTOP,119,97,99,8
362 | PUSHBUTTON "Sa&ve Window Position",IDC_BUTTON_STICK,119,111,99,13
363 | PUSHBUTTON "Clear &Recent Files...",IDC_BUTTON_CLEAR_RECENT,7,127,
364 | 83,14
365 | PUSHBUTTON "Clear &Find History...",IDC_BUTTON_CLEAR_FIND,7,146,83,
366 | 14
367 | LTEXT "Recent files to re&member:",IDC_STATIC,102,129,82,8
368 | EDITTEXT IDC_EDIT_MAX_MRU,194,127,24,12,ES_CENTER |
369 | ES_AUTOHSCROLL | ES_NUMBER
370 | LTEXT "&Default file format:",IDC_STATIC,102,148,58,8
371 | COMBOBOX IDC_COMBO_FORMAT,163,146,55,63,CBS_DROPDOWNLIST |
372 | WS_VSCROLL | WS_TABSTOP
373 | END
374 | #endif
375 |
376 | IDD_PROPPAGE_A2 DIALOG DISCARDABLE 0, 0, 225, 167
377 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
378 | CAPTION "Buffers && Language"
379 | FONT 8, "MS Sans Serif"
380 | BEGIN
381 | GROUPBOX "Quick buffers (select text and set with Alt + Shift + number)",
382 | IDC_STATIC,7,7,211,102
383 | LTEXT "Alt + &1:",IDC_STATIC,17,22,25,8
384 | EDITTEXT IDC_MACRO_1,48,20,59,12,ES_AUTOHSCROLL
385 | LTEXT "Alt + &2:",IDC_STATIC,17,39,25,8
386 | EDITTEXT IDC_MACRO_2,48,37,59,12,ES_AUTOHSCROLL
387 | LTEXT "Alt + &3:",IDC_STATIC,17,56,25,8
388 | EDITTEXT IDC_MACRO_3,48,54,59,12,ES_AUTOHSCROLL
389 | LTEXT "Alt + &4:",IDC_STATIC,17,73,25,8
390 | EDITTEXT IDC_MACRO_4,48,71,59,12,ES_AUTOHSCROLL
391 | LTEXT "Alt + &5:",IDC_STATIC,17,90,25,8
392 | EDITTEXT IDC_MACRO_5,48,88,59,12,ES_AUTOHSCROLL
393 | LTEXT "Alt + &6:",IDC_STATIC,118,22,25,8
394 | EDITTEXT IDC_MACRO_6,150,20,59,12,ES_AUTOHSCROLL
395 | LTEXT "Alt + &7:",IDC_STATIC,118,39,25,8
396 | EDITTEXT IDC_MACRO_7,150,37,59,12,ES_AUTOHSCROLL
397 | LTEXT "Alt + &8:",IDC_STATIC,118,56,25,8
398 | EDITTEXT IDC_MACRO_8,150,54,59,12,ES_AUTOHSCROLL
399 | LTEXT "Alt + &9:",IDC_STATIC,118,73,25,8
400 | EDITTEXT IDC_MACRO_9,150,71,59,12,ES_AUTOHSCROLL
401 | LTEXT "Alt + &0:",IDC_STATIC,118,90,28,8
402 | EDITTEXT IDC_MACRO_10,150,88,59,12,ES_AUTOHSCROLL
403 | GROUPBOX "Language for menus, dialogs and messages",IDC_STATIC,7,113,211,47
404 | CONTROL "&Default (English)",IDC_RADIO_LANG_DEFAULT,"Button",
405 | BS_AUTORADIOBUTTON | BS_NOTIFY | WS_GROUP,17,128,72,10
406 | CONTROL "&Language plugin:",IDC_RADIO_LANG_PLUGIN,"Button",
407 | BS_AUTORADIOBUTTON | BS_NOTIFY,17,142,72,10
408 | EDITTEXT IDC_EDIT_LANG_PLUGIN,95,141,96,12,ES_AUTOHSCROLL |
409 | WS_GROUP
410 | PUSHBUTTON "...",IDC_BUTTON_BROWSE,194,141,14,12
411 | END
412 |
413 | #if defined(APSTUDIO_INVOKED) || defined(DONT_INCLUDE)
414 | #if defined(APSTUDIO_INVOKED)
415 | IDD_ABOUT_PLUGIN$(DONT_INCLUDE) DIALOGEX 0, 0, 189, 97
416 | #else
417 | IDD_ABOUT_PLUGIN DIALOGEX 0, 0, 189, 97
418 | #endif
419 | STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
420 | CAPTION "Language Plugin"
421 | FONT 8, "MS Sans Serif", 0, 0, 0x1
422 | BEGIN
423 | DEFPUSHBUTTON "OK",IDOK,72,75,44,15
424 | LTEXT "Language:",IDC_STATIC,7,7,41,8
425 | EDITTEXT IDC_EDIT_PLUGIN_LANG,52,7,130,9,ES_CENTER | ES_READONLY |
426 | NOT WS_BORDER,WS_EX_STATICEDGE
427 | LTEXT "Release:",IDC_STATIC,7,23,41,8
428 | EDITTEXT IDC_EDIT_PLUGIN_RELEASE,52,23,130,9,ES_CENTER |
429 | ES_READONLY | NOT WS_BORDER,WS_EX_STATICEDGE
430 | LTEXT "Translator:",IDC_STATIC,7,39,41,8
431 | EDITTEXT IDC_EDIT_PLUGIN_TRANSLATOR,52,39,130,9,ES_CENTER |
432 | ES_READONLY | NOT WS_BORDER,WS_EX_STATICEDGE
433 | LTEXT "Contact:",IDC_STATIC,7,55,41,9
434 | EDITTEXT IDC_EDIT_PLUGIN_EMAIL,52,55,130,9,ES_CENTER |
435 | ES_READONLY | NOT WS_BORDER,WS_EX_STATICEDGE
436 | END
437 | #endif
438 |
439 |
440 | /////////////////////////////////////////////////////////////////////////////
441 | //
442 | // DESIGNINFO
443 | //
444 |
445 | #ifdef APSTUDIO_INVOKED
446 | GUIDELINES DESIGNINFO DISCARDABLE
447 | BEGIN
448 | IDD_ABORT_PRINT, DIALOG
449 | BEGIN
450 | LEFTMARGIN, 7
451 | RIGHTMARGIN, 179
452 | TOPMARGIN, 7
453 | BOTTOMMARGIN, 61
454 | END
455 |
456 | IDD_GOTO, DIALOG
457 | BEGIN
458 | LEFTMARGIN, 7
459 | RIGHTMARGIN, 122
460 | TOPMARGIN, 7
461 | BOTTOMMARGIN, 38
462 | END
463 |
464 | "IDD_PROPPAGE_A1_LE$(NO_RICH_EDIT)", DIALOG
465 | BEGIN
466 | LEFTMARGIN, 7
467 | RIGHTMARGIN, 218
468 | VERTGUIDE, 114
469 | VERTGUIDE, 119
470 | TOPMARGIN, 7
471 | BOTTOMMARGIN, 160
472 | HORZGUIDE, 36
473 | HORZGUIDE, 49
474 | HORZGUIDE, 62
475 | HORZGUIDE, 76
476 | HORZGUIDE, 116
477 | END
478 |
479 | IDD_PAGE_SETUP, DIALOG
480 | BEGIN
481 | LEFTMARGIN, 7
482 | RIGHTMARGIN, 183
483 | VERTGUIDE, 16
484 | TOPMARGIN, 7
485 | BOTTOMMARGIN, 117
486 | END
487 |
488 | IDD_ABOUT, DIALOG
489 | BEGIN
490 | LEFTMARGIN, 7
491 | RIGHTMARGIN, 144
492 | VERTGUIDE, 41
493 | TOPMARGIN, 7
494 | BOTTOMMARGIN, 71
495 | HORZGUIDE, 17
496 | HORZGUIDE, 27
497 | END
498 |
499 | IDD_FAV_NAME, DIALOG
500 | BEGIN
501 | LEFTMARGIN, 7
502 | RIGHTMARGIN, 221
503 | TOPMARGIN, 7
504 | BOTTOMMARGIN, 39
505 | END
506 |
507 | IDD_REPLACE, DIALOG
508 | BEGIN
509 | LEFTMARGIN, 7
510 | RIGHTMARGIN, 223
511 | TOPMARGIN, 7
512 | BOTTOMMARGIN, 75
513 | HORZGUIDE, 13
514 | HORZGUIDE, 30
515 | END
516 |
517 | IDD_FIND, DIALOG
518 | BEGIN
519 | LEFTMARGIN, 7
520 | RIGHTMARGIN, 229
521 | TOPMARGIN, 7
522 | BOTTOMMARGIN, 58
523 | END
524 |
525 | IDD_PROPPAGE_GENERAL, DIALOG
526 | BEGIN
527 | LEFTMARGIN, 7
528 | RIGHTMARGIN, 218
529 | VERTGUIDE, 15
530 | VERTGUIDE, 111
531 | VERTGUIDE, 119
532 | TOPMARGIN, 7
533 | BOTTOMMARGIN, 160
534 | HORZGUIDE, 23
535 | HORZGUIDE, 36
536 | HORZGUIDE, 49
537 | HORZGUIDE, 62
538 | HORZGUIDE, 88
539 | HORZGUIDE, 115
540 | END
541 |
542 | IDD_PROPPAGE_VIEW, DIALOG
543 | BEGIN
544 | LEFTMARGIN, 7
545 | RIGHTMARGIN, 218
546 | VERTGUIDE, 16
547 | VERTGUIDE, 126
548 | TOPMARGIN, 7
549 | BOTTOMMARGIN, 160
550 | HORZGUIDE, 24
551 | HORZGUIDE, 35
552 | HORZGUIDE, 49
553 | HORZGUIDE, 80
554 | HORZGUIDE, 96
555 | HORZGUIDE, 149
556 | END
557 |
558 | "IDD_PROPPAGE_A1$(USE_RICH_EDIT)", DIALOG
559 | BEGIN
560 | LEFTMARGIN, 7
561 | RIGHTMARGIN, 218
562 | VERTGUIDE, 114
563 | VERTGUIDE, 119
564 | TOPMARGIN, 7
565 | BOTTOMMARGIN, 160
566 | HORZGUIDE, 36
567 | HORZGUIDE, 49
568 | END
569 |
570 | IDD_PROPPAGE_A2, DIALOG
571 | BEGIN
572 | LEFTMARGIN, 7
573 | RIGHTMARGIN, 218
574 | TOPMARGIN, 7
575 | BOTTOMMARGIN, 160
576 | HORZGUIDE, 24
577 | HORZGUIDE, 41
578 | HORZGUIDE, 58
579 | HORZGUIDE, 75
580 | HORZGUIDE, 92
581 | END
582 |
583 | "IDD_ABOUT_PLUGIN$(DONT_INCLUDE)", DIALOG
584 | BEGIN
585 | LEFTMARGIN, 7
586 | RIGHTMARGIN, 182
587 | TOPMARGIN, 7
588 | BOTTOMMARGIN, 90
589 | END
590 | END
591 | #endif // APSTUDIO_INVOKED
592 |
593 |
594 | #ifdef APSTUDIO_INVOKED
595 | /////////////////////////////////////////////////////////////////////////////
596 | //
597 | // TEXTINCLUDE
598 | //
599 |
600 | 1 TEXTINCLUDE DISCARDABLE
601 | BEGIN
602 | "resource.h\0"
603 | END
604 |
605 | 2 TEXTINCLUDE DISCARDABLE
606 | BEGIN
607 | "#include ""afxres.h""\r\n"
608 | "\0"
609 | END
610 |
611 | 3 TEXTINCLUDE DISCARDABLE
612 | BEGIN
613 | "\r\n"
614 | "\0"
615 | END
616 |
617 | #endif // APSTUDIO_INVOKED
618 |
619 |
620 | /////////////////////////////////////////////////////////////////////////////
621 | //
622 | // Menu
623 | //
624 |
625 | IDR_ESCAPE_SEQUENCES MENU DISCARDABLE
626 | BEGIN
627 | POPUP "Escape"
628 | BEGIN
629 | MENUITEM "Newline", ID_ESCAPE_NEWLINE
630 | MENUITEM "Tab", ID_ESCAPE_TAB
631 | MENUITEM "Backslash", ID_ESCAPE_BACKSLASH
632 | MENUITEM SEPARATOR
633 | MENUITEM "Disabled", ID_ESCAPE_DISABLE
634 | END
635 | END
636 |
637 | IDR_MENU MENU DISCARDABLE
638 | BEGIN
639 | POPUP "&File"
640 | BEGIN
641 | MENUITEM "&New\tCtrl+N", ID_MYFILE_NEW
642 | MENUITEM "&Open... \tCtrl+O", ID_MYFILE_OPEN
643 | MENUITEM "&Save\tCtrl+S", ID_MYFILE_SAVE
644 | MENUITEM "Save &As...\tCtrl+F2", ID_MYFILE_SAVEAS
645 | MENUITEM "R&ead Only\tCtrl+E", ID_READONLY
646 | MENUITEM SEPARATOR
647 | POPUP "&Launch"
648 | BEGIN
649 | MENUITEM "New W&indow\tCtrl+I", ID_NEW_INSTANCE
650 | MENUITEM SEPARATOR
651 | MENUITEM "&Primary Viewer\tCtrl+L", ID_FILE_LAUNCHVIEWER
652 | MENUITEM "&Secondary Viewer\tCtrl+J", ID_LAUNCH_SECONDARY_VIEWER
653 |
654 | MENUITEM "&Default Viewer\tCtrl+D", ID_LAUNCH_ASSOCIATED_VIEWER
655 |
656 | END
657 | MENUITEM SEPARATOR
658 | POPUP "F&ile Format"
659 | BEGIN
660 | MENUITEM "&DOS Text (CR+LF)\tCtrl+1", ID_DOS_FILE, CHECKED
661 | MENUITEM "&UNIX Text (LF)\tCtrl+2", ID_UNIX_FILE
662 | MENUITEM "Un&icode\tCtrl+3", ID_UNICODE_FILE
663 | MENUITEM "Unicode (&Big Endian)\tCtrl+4", ID_UNICODE_BE_FILE
664 | MENUITEM "UTF-&8 w/BOM (CR+LF)\tCtrl+5", ID_UTF_8_FILE
665 | END
666 | MENUITEM "&Refresh/Revert\tF5", ID_RELOAD_CURRENT
667 | MENUITEM "&Calculate Size\tF12", ID_SHOWFILESIZE
668 | MENUITEM SEPARATOR
669 | MENUITEM "Page Se&tup...", ID_PAGESETUP
670 | MENUITEM "&Print...\tCtrl+P", ID_PRINT
671 | MENUITEM SEPARATOR
672 | POPUP "Recent &Files"
673 | BEGIN
674 | MENUITEM "&1", IDD_MRU_1
675 | END
676 | MENUITEM SEPARATOR
677 | MENUITEM "E&xit\tAlt+F4", ID_MYFILE_EXIT
678 | END
679 | POPUP "&Edit"
680 | BEGIN
681 | MENUITEM "&Undo\tCtrl+Z", ID_MYEDIT_UNDO
682 | MENUITEM "&Redo\tCtrl+Y", ID_MYEDIT_REDO
683 | MENUITEM SEPARATOR
684 | MENUITEM "Cu&t\tCtrl+X", ID_MYEDIT_CUT
685 | MENUITEM "&Copy\tCtrl+C", ID_MYEDIT_COPY
686 | MENUITEM "&Paste\tCtrl+V", ID_MYEDIT_PASTE
687 | MENUITEM SEPARATOR
688 | POPUP "&Block"
689 | BEGIN
690 | MENUITEM "&Indent\tTab", ID_INDENT
691 | MENUITEM "&Unindent\tShift+Tab", ID_UNINDENT
692 | MENUITEM "&Quote\tAlt+Q", ID_QUOTE
693 | MENUITEM "S&trip First Character\tAlt+Z", ID_STRIPCHAR
694 | MENUITEM "&Strip Trailing Whitespace\tAlt+W",
695 | ID_STRIP_TRAILING_WS
696 | MENUITEM "Un&wrap Lines\tF9", ID_STRIP_CR
697 | MENUITEM "Unwrap Lines (w/ S&pace)\tAlt+F9", ID_STRIP_CR_SPACE
698 | END
699 | POPUP "C&onvert Selected"
700 | BEGIN
701 | MENUITEM "&Uppercase\tAlt+U", ID_MAKE_UPPER
702 | MENUITEM "&Lowercase\tAlt+L", ID_MAKE_LOWER
703 | MENUITEM "&Inverted Case\tAlt+I", ID_MAKE_INVERSE
704 | MENUITEM "&Title Case\tAlt+T", ID_MAKE_TITLE
705 | MENUITEM "&Sentence Case\tAlt+S", ID_MAKE_SENTENCE
706 | MENUITEM SEPARATOR
707 | MENUITEM "Ta&bified\tF8", ID_TABIFY
708 | MENUITEM "U&ntabified\tCtrl+F8", ID_UNTABIFY
709 | MENUITEM SEPARATOR
710 | MENUITEM "&OEM Format\tF11", ID_MAKE_OEM
711 | MENUITEM "&ANSI Format\tCtrl+F11", ID_MAKE_ANSI
712 | END
713 | POPUP "Insert &Date/Time"
714 | BEGIN
715 | MENUITEM "&Short Format\tF6", ID_DATE_TIME
716 | MENUITEM "&Long Format\tF7", ID_DATE_TIME_LONG
717 | END
718 | MENUITEM "&Insert File...\tAlt+D", ID_INSERT_FILE
719 | MENUITEM "Co&mmit Word Wrap\tCtrl+F9", ID_COMMIT_WORDWRAP
720 | MENUITEM SEPARATOR
721 | MENUITEM "Select &All\tCtrl+A", ID_MYEDIT_SELECTALL
722 | MENUITEM "&Select Word\tCtrl+Space", ID_EDIT_SELECTWORD
723 | MENUITEM "&Go To Line...\tCtrl+G", ID_GOTOLINE
724 | MENUITEM SEPARATOR
725 | MENUITEM "&Find...\tCtrl+F", ID_FIND
726 | MENUITEM "Find Ne&xt\tF3", ID_FIND_NEXT
727 | MENUITEM "Find Next &Word\tCtrl+F3", ID_FIND_NEXT_WORD
728 | MENUITEM "Find Pre&vious\tShift+F3", ID_FIND_PREV
729 | MENUITEM "R&eplace...\tCtrl+H", ID_REPLACE
730 | END
731 | POPUP "F&avourites"
732 | BEGIN
733 | MENUITEM "&Add to Favourites...", ID_FAV_ADD
734 | MENUITEM "&Edit Favourites", ID_FAV_EDIT
735 | MENUITEM "&Reload Favourites", ID_FAV_RELOAD
736 | MENUITEM SEPARATOR
737 | END
738 | POPUP "&Options"
739 | BEGIN
740 | MENUITEM "&Word Wrap\tCtrl+W", ID_EDIT_WORDWRAP
741 | MENUITEM "&Primary Font\tCtrl+R", ID_FONT_PRIMARY, CHECKED
742 | MENUITEM "&Always On Top\tAlt+Home", ID_ALWAYSONTOP
743 | MENUITEM "S&mart Select\tCtrl+M", ID_SMARTSELECT, CHECKED
744 | MENUITEM "T&ransparent Mode\tCtrl+U", ID_TRANSPARENT
745 | MENUITEM SEPARATOR
746 | MENUITEM "Show &Toolbar\tCtrl+T", ID_SHOWTOOLBAR
747 | MENUITEM "Show Status &Bar\tCtrl+B", ID_SHOWSTATUS
748 | MENUITEM "Show Hyperlin&ks\tCtrl+K", ID_SHOWHYPERLINKS, CHECKED
749 | MENUITEM SEPARATOR
750 | MENUITEM "&Settings...\tAlt+Enter", ID_VIEW_OPTIONS
751 | END
752 | POPUP "&Help"
753 | BEGIN
754 | MENUITEM "&About...", ID_HELP_ABOUT
755 | END
756 | END
757 |
758 | IDR_POPUP MENU DISCARDABLE
759 | BEGIN
760 | POPUP "Popup"
761 | BEGIN
762 | MENUITEM "&Undo", ID_MYEDIT_UNDO
763 | MENUITEM "&Redo", ID_MYEDIT_REDO
764 | MENUITEM SEPARATOR
765 | MENUITEM "Cu&t", ID_MYEDIT_CUT
766 | MENUITEM "&Copy", ID_MYEDIT_COPY
767 | MENUITEM "&Paste", ID_MYEDIT_PASTE
768 | MENUITEM "&Delete", ID_MYEDIT_DELETE
769 | MENUITEM SEPARATOR
770 | MENUITEM "Select &All", ID_MYEDIT_SELECTALL
771 | POPUP "&Make"
772 | BEGIN
773 | MENUITEM "&Uppercase", ID_MAKE_UPPER
774 | MENUITEM "&Lowercase", ID_MAKE_LOWER
775 | MENUITEM "&Inverted Case", ID_MAKE_INVERSE
776 | MENUITEM "&Title Case", ID_MAKE_TITLE
777 | MENUITEM "&Sentence Case", ID_MAKE_SENTENCE
778 | MENUITEM SEPARATOR
779 | MENUITEM "Ta&bified", ID_TABIFY
780 | MENUITEM "U&ntabified", ID_UNTABIFY
781 | MENUITEM SEPARATOR
782 | MENUITEM "&OEM Format", ID_MAKE_OEM
783 | MENUITEM "&ANSI Format", ID_MAKE_ANSI
784 | END
785 | POPUP "&Insert Date"
786 | BEGIN
787 | MENUITEM "&Short Format", ID_DATE_TIME
788 | MENUITEM "&Long Format", ID_DATE_TIME_LONG
789 | END
790 | MENUITEM SEPARATOR
791 | MENUITEM "&Find...", ID_FIND
792 | MENUITEM "Find &Word", ID_FIND_NEXT_WORD
793 | MENUITEM "R&eplace...", ID_REPLACE
794 | END
795 | END
796 |
797 |
798 | /////////////////////////////////////////////////////////////////////////////
799 | //
800 | // Icon
801 | //
802 |
803 | // Icon with lowest ID value placed first to ensure application icon
804 | // remains consistent on all systems.
805 | IDI_PAD ICON DISCARDABLE "metapad.ico"
806 | IDI_EYE ICON DISCARDABLE "eye3.ico"
807 |
808 | /////////////////////////////////////////////////////////////////////////////
809 | //
810 | // Bitmap
811 | //
812 |
813 | IDB_TOOLBAR BITMAP DISCARDABLE "toolbar.bmp"
814 | IDB_DROP_ARROW BITMAP DISCARDABLE "drop_arrow.bmp"
815 |
816 | /////////////////////////////////////////////////////////////////////////////
817 | //
818 | // Cursor
819 | //
820 |
821 | #if defined(APSTUDIO_INVOKED) || defined(USE_RICH_EDIT)
822 | #if defined(APSTUDIO_INVOKED)
823 | IDC_MYHAND$(USE_RICH_EDIT) CURSOR DISCARDABLE "linkhand.cur"
824 | #else
825 | IDC_MYHAND CURSOR DISCARDABLE "linkhand.cur"
826 | #endif
827 | #endif
828 |
829 | /////////////////////////////////////////////////////////////////////////////
830 | //
831 | // Accelerator
832 | //
833 |
834 | IDR_ACCELERATOR ACCELERATORS DISCARDABLE
835 | BEGIN
836 | "0", ID_MACRO_10, VIRTKEY, ALT, NOINVERT
837 | "0", ID_SET_MACRO_10, VIRTKEY, SHIFT, ALT, NOINVERT
838 | "1", ID_DOS_FILE, VIRTKEY, CONTROL, NOINVERT
839 | "1", ID_MACRO_1, VIRTKEY, ALT, NOINVERT
840 | "1", ID_SET_MACRO_1, VIRTKEY, SHIFT, ALT, NOINVERT
841 | "2", ID_UNIX_FILE, VIRTKEY, CONTROL, NOINVERT
842 | "2", ID_MACRO_2, VIRTKEY, ALT, NOINVERT
843 | "2", ID_SET_MACRO_2, VIRTKEY, SHIFT, ALT, NOINVERT
844 | "3", ID_UNICODE_FILE, VIRTKEY, CONTROL, NOINVERT
845 | "3", ID_MACRO_3, VIRTKEY, ALT, NOINVERT
846 | "3", ID_SET_MACRO_3, VIRTKEY, SHIFT, ALT, NOINVERT
847 | "4", ID_UNICODE_BE_FILE, VIRTKEY, CONTROL, NOINVERT
848 | "4", ID_MACRO_4, VIRTKEY, ALT, NOINVERT
849 | "4", ID_SET_MACRO_4, VIRTKEY, SHIFT, ALT, NOINVERT
850 | "5", ID_UTF_8_FILE, VIRTKEY, CONTROL, NOINVERT
851 | "5", ID_MACRO_5, VIRTKEY, ALT, NOINVERT
852 | "5", ID_SET_MACRO_5, VIRTKEY, SHIFT, ALT, NOINVERT
853 | "6", ID_MACRO_6, VIRTKEY, ALT, NOINVERT
854 | "6", ID_SET_MACRO_6, VIRTKEY, SHIFT, ALT, NOINVERT
855 | "7", ID_MACRO_7, VIRTKEY, ALT, NOINVERT
856 | "7", ID_SET_MACRO_7, VIRTKEY, SHIFT, ALT, NOINVERT
857 | "8", ID_MACRO_8, VIRTKEY, ALT, NOINVERT
858 | "8", ID_SET_MACRO_8, VIRTKEY, SHIFT, ALT, NOINVERT
859 | "9", ID_MACRO_9, VIRTKEY, ALT, NOINVERT
860 | "9", ID_SET_MACRO_9, VIRTKEY, SHIFT, ALT, NOINVERT
861 | "A", ID_MYEDIT_SELECTALL, VIRTKEY, CONTROL, NOINVERT
862 | "B", ID_SHOWSTATUS, VIRTKEY, CONTROL, NOINVERT
863 | "C", ID_MYEDIT_COPY, VIRTKEY, CONTROL, NOINVERT
864 | "D", ID_LAUNCH_ASSOCIATED_VIEWER, VIRTKEY, CONTROL, NOINVERT
865 | "D", ID_INSERT_FILE, VIRTKEY, ALT, NOINVERT
866 | "E", ID_READONLY, VIRTKEY, CONTROL, NOINVERT
867 | "F", ID_FIND, VIRTKEY, CONTROL, NOINVERT
868 | "G", ID_GOTOLINE, VIRTKEY, CONTROL, NOINVERT
869 | "H", ID_REPLACE, VIRTKEY, CONTROL, NOINVERT
870 | "I", ID_NEW_INSTANCE, VIRTKEY, CONTROL, NOINVERT
871 | "I", ID_MAKE_INVERSE, VIRTKEY, ALT, NOINVERT
872 | "J", ID_LAUNCH_SECONDARY_VIEWER, VIRTKEY, CONTROL, NOINVERT
873 | "K", ID_SHOWHYPERLINKS, VIRTKEY, CONTROL, NOINVERT
874 | "L", ID_FILE_LAUNCHVIEWER, VIRTKEY, CONTROL, NOINVERT
875 | "L", ID_MAKE_LOWER, VIRTKEY, ALT, NOINVERT
876 | "M", ID_SMARTSELECT, VIRTKEY, CONTROL, NOINVERT
877 | "N", ID_MYFILE_NEW, VIRTKEY, CONTROL, NOINVERT
878 | "O", ID_MYFILE_OPEN, VIRTKEY, CONTROL, NOINVERT
879 | "P", ID_PRINT, VIRTKEY, CONTROL, NOINVERT
880 | "Q", ID_QUOTE, VIRTKEY, ALT, NOINVERT
881 | "R", ID_FONT_PRIMARY, VIRTKEY, CONTROL, NOINVERT
882 | "S", ID_MYFILE_SAVE, VIRTKEY, CONTROL, NOINVERT
883 | "S", ID_MAKE_SENTENCE, VIRTKEY, ALT, NOINVERT
884 | "T", ID_SHOWTOOLBAR, VIRTKEY, CONTROL, NOINVERT
885 | "T", ID_MAKE_TITLE, VIRTKEY, ALT, NOINVERT
886 | "U", ID_TRANSPARENT, VIRTKEY, CONTROL, NOINVERT
887 | "U", ID_MAKE_UPPER, VIRTKEY, ALT, NOINVERT
888 | "V", ID_MYEDIT_PASTE, VIRTKEY, CONTROL, NOINVERT
889 | VK_APPS, ID_CONTEXTMENU, VIRTKEY, NOINVERT
890 | VK_DELETE, ID_MYEDIT_CUT, VIRTKEY, SHIFT, NOINVERT
891 | VK_DOWN, ID_SCROLLDOWN, VIRTKEY, CONTROL, NOINVERT
892 | VK_DOWN, ID_SCROLLDOWN, VIRTKEY, ALT, NOINVERT
893 | VK_ESCAPE, ID_MYFILE_QUICK_EXIT, VIRTKEY, NOINVERT
894 | VK_ESCAPE, ID_SAVE_AND_QUIT, VIRTKEY, SHIFT, NOINVERT
895 | VK_F11, ID_MAKE_OEM, VIRTKEY, NOINVERT
896 | VK_F11, ID_MAKE_ANSI, VIRTKEY, CONTROL, NOINVERT
897 | VK_F12, ID_SHOWFILESIZE, VIRTKEY, NOINVERT
898 | VK_F2, ID_MYFILE_SAVEAS, VIRTKEY, CONTROL, NOINVERT
899 | VK_F3, ID_FIND_NEXT, VIRTKEY, NOINVERT
900 | VK_F3, ID_FIND_NEXT_WORD, VIRTKEY, CONTROL, NOINVERT
901 | VK_F3, ID_FIND_PREV, VIRTKEY, SHIFT, NOINVERT
902 | VK_F3, ID_FIND_PREV_WORD, VIRTKEY, SHIFT, CONTROL,
903 | NOINVERT
904 | VK_F5, ID_RELOAD_CURRENT, VIRTKEY, NOINVERT
905 | VK_F6, ID_DATE_TIME, VIRTKEY, NOINVERT
906 | VK_F7, ID_DATE_TIME_LONG, VIRTKEY, NOINVERT
907 | VK_F8, ID_TABIFY, VIRTKEY, NOINVERT
908 | VK_F8, ID_UNTABIFY, VIRTKEY, CONTROL, NOINVERT
909 | VK_F9, ID_STRIP_CR, VIRTKEY, NOINVERT
910 | VK_F9, ID_COMMIT_WORDWRAP, VIRTKEY, CONTROL, NOINVERT
911 | VK_F9, ID_STRIP_CR_SPACE, VIRTKEY, ALT, NOINVERT
912 | VK_HOME, ID_HOME, VIRTKEY, NOINVERT
913 | VK_HOME, ID_ALWAYSONTOP, VIRTKEY, ALT, NOINVERT
914 | VK_INSERT, ID_INSERT_MODE, VIRTKEY, NOINVERT
915 | VK_INSERT, ID_MYEDIT_COPY, VIRTKEY, CONTROL, NOINVERT
916 | VK_INSERT, ID_MYEDIT_PASTE, VIRTKEY, SHIFT, NOINVERT
917 | VK_LEFT, ID_SCROLLLEFT, VIRTKEY, ALT, NOINVERT
918 | VK_MULTIPLY, ID_HACKER, VIRTKEY, CONTROL, NOINVERT
919 | VK_RETURN, ID_VIEW_OPTIONS, VIRTKEY, ALT, NOINVERT
920 | VK_RETURN, ID_SHIFT_ENTER, VIRTKEY, SHIFT, NOINVERT
921 | VK_RETURN, ID_CONTROL_SHIFT_ENTER, VIRTKEY, CONTROL, SHIFT, NOINVERT
922 | VK_RIGHT, ID_SCROLLRIGHT, VIRTKEY, ALT, NOINVERT
923 | VK_SPACE, ID_EDIT_SELECTWORD, VIRTKEY, CONTROL, NOINVERT
924 | VK_TAB, ID_INDENT, VIRTKEY, NOINVERT
925 | VK_TAB, ID_UNINDENT, VIRTKEY, SHIFT, NOINVERT
926 | VK_UP, ID_SCROLLUP, VIRTKEY, CONTROL, NOINVERT
927 | VK_UP, ID_SCROLLUP, VIRTKEY, ALT, NOINVERT
928 | "W", ID_EDIT_WORDWRAP, VIRTKEY, CONTROL, NOINVERT
929 | "W", ID_STRIP_TRAILING_WS, VIRTKEY, ALT, NOINVERT
930 | "X", ID_MYEDIT_CUT, VIRTKEY, CONTROL, NOINVERT
931 | "Z", ID_MYEDIT_UNDO, VIRTKEY, CONTROL, NOINVERT
932 | "Z", ID_STRIPCHAR, VIRTKEY, ALT, NOINVERT
933 | END
934 |
935 |
936 | /////////////////////////////////////////////////////////////////////////////
937 | //
938 | // String Table
939 | //
940 |
941 | STRINGTABLE DISCARDABLE
942 | BEGIN
943 | IDS_VERSION_SYNCH "3.6"
944 | IDS_PLUGIN_LANGUAGE "English (Plugin Template)"
945 | IDS_PLUGIN_RELEASE "1"
946 | IDS_PLUGIN_TRANSLATOR "Alex Davidson"
947 | IDS_PLUGIN_EMAIL "metapad-feedback@liquidninja.com"
948 | IDS_RESERVED2 "-"
949 | IDS_RESERVED3 "-"
950 | IDS_DEFAULT_FILTER "All File Types|*.txt;*.htm;*.html;*.c;*.cpp;*.h;*.java|Text Files (*.txt)|*.txt|HTML (*.html; *.htm)|*.html;*.htm|Source Code (*.c; *.cpp; *.h; *.java)|*.c;*.cpp;*.h;*.java|All Files (*.*)|*.*"
951 | IDS_DIRTYFILE "Save changes to %s?"
952 | IDS_ERROR_LOCKED "Error writing to file - it may be locked or read only."
953 | IDS_ERROR_SEARCH "Search string not found."
954 | IDS_LAUNCH_WARNING "Warning - you have chosen not to save AND to close metapad on external launch.\n\nThis could cause you to lose data!"
955 | IDS_READONLY_INDICATOR "(read only)"
956 | IDS_READONLY_MENU "R&ead Only\tCtrl+E"
957 | IDS_ERROR_FAVOURITES "Error in favourites file. It may have been modified and is not synchronized."
958 | END
959 |
960 | STRINGTABLE DISCARDABLE
961 | BEGIN
962 | IDS_FILE_LOADING "Loading file..."
963 | IDS_READONLY_WARNING "This file is read only. You must save to a different file."
964 | IDS_PRINTER_NOT_FOUND "Printer not found!\n(Perhaps try reinstalling the printer.)"
965 | IDS_PRINT_INIT_ERROR "Error initializing printing. (CommDlgExtendedError: %#04x)"""
966 | IDS_PRINT_ABORT_ERROR "Error aborting printing"
967 | IDS_PRINT_START_ERROR "StartDoc printing error. Printing canceled."
968 | IDS_DRAWTEXT_ERROR "Error calling DrawText."
969 | IDS_PRINT_ERROR "There was an error during printing. Print canceled."
970 | IDS_PRIMARY_VIEWER_ERROR "Error launching primary external viewer"
971 | IDS_SECONDARY_VIEWER_ERROR "Error launching secondary external viewer"
972 | IDS_PRIMARY_VIEWER_MISSING "No primary external viewer configured."
973 | IDS_SECONDARY_VIEWER_MISSING "No secondary external viewer configured."
974 | IDS_NO_DEFAULT_VIEWER "No viewer associated with this file type."
975 | IDS_DEFAULT_VIEWER_ERROR "Unknown error launching default viewer."
976 | IDS_REGISTRY_WINDOW_ERROR
977 | "Missing window placement registry values - using default settings."
978 | IDS_CARRIAGE_RETURN_WARNING
979 | "Some number of solitary carriage returns were detected and removed."
980 | END
981 |
982 | STRINGTABLE DISCARDABLE
983 | BEGIN
984 | IDS_MAC_FILE_WARNING "Lines ending in solitary carriage returns detected. (Possibly a Macintosh text file.) Converting to UNIX format."
985 | IDS_CREATE_FILE_MESSAGE """%s"" not found. Create it?"
986 | IDS_FILE_CREATE_ERROR "File creation error."
987 | IDS_FILE_NOT_FOUND "File not found."
988 | IDS_FILE_LOCKED_ERROR "File is locked by another process."
989 | IDS_UNICODE_CONVERT_ERROR "Error converting from Unicode file"
990 | IDS_UNICODE_CHARS_WARNING
991 | "Detected non-ANSI characters in this Unicode file.\n\nData will be lost if this file is saved!"
992 | IDS_BINARY_FILE_WARNING "This file is not a valid text file. It may be a binary file.\nConvert any NULL terminators to spaces and load anyway?"
993 | IDS_UNICODE_STRING_ERROR "Error converting to Unicode string"
994 | IDS_UNICODE_BOM_ERROR "Error writing BOM"
995 | IDS_FONT_UNDO_WARNING "Applying new font settings. This action will empty the undo buffer."
996 | IDS_TCHAR_WIDTH_ERROR "Couldn't get TCHAR width!"
997 | IDS_PARA_FORMAT_ERROR "Couldn't set para format."
998 | IDS_QUERY_SEARCH_TOP "Reached end of file. Continue searching from the top?"
999 | IDS_QUERY_SEARCH_BOTTOM "Reached beginning of file. Continue searching from the bottom?"
1000 | IDS_RECENT_MENU "&Recent"
1001 | END
1002 |
1003 | STRINGTABLE DISCARDABLE
1004 | BEGIN
1005 | IDS_RECENT_FILES_MENU "Recent &Files"
1006 | IDS_MAX_RECENT_WARNING "Enter a maximum Recent File size between 0 and 16"
1007 | IDS_STICKY_MESSAGE "Main window will now always start up with its current size and position."
1008 | IDS_CLEAR_FIND_WARNING "This action will clear both the find and replace histories."
1009 | IDS_CLEAR_RECENT_WARNING "This action will clear the recent files history"
1010 | IDS_SELECT_PLUGIN_WARNING
1011 | "Select a language plugin or choose Default (English)."
1012 | IDS_MARGIN_WIDTH_WARNING "Enter a margin width between 0 and 300"
1013 | IDS_TRANSPARENCY_WARNING
1014 | "Enter a transparency mode percent between 1 and 99"
1015 | IDS_TAB_SIZE_WARNING "Enter a tab size between 1 and 100"
1016 | IDS_TB_NEWFILE "New File"
1017 | IDS_TB_OPENFILE "Open File"
1018 | IDS_TB_SAVEFILE "Save File"
1019 | IDS_TB_PRINT "Print"
1020 | IDS_TB_FIND "Find"
1021 | END
1022 |
1023 | STRINGTABLE DISCARDABLE
1024 | BEGIN
1025 | IDS_TB_REPLACE "Replace"
1026 | IDS_TB_CUT "Cut"
1027 | IDS_TB_COPY "Copy"
1028 | IDS_TB_PASTE "Paste"
1029 | IDS_TB_UNDO "Undo"
1030 | IDS_TB_REDO "Redo"
1031 | IDS_TB_SETTINGS "Settings"
1032 | IDS_TB_REFRESH "Refresh/Revert"
1033 | IDS_TB_WORDWRAP "Word Wrap"
1034 | IDS_TB_PRIMARYFONT "Primary Font"
1035 | IDS_TB_ONTOP "Always On Top"
1036 | IDS_TB_PRIMARYVIEWER "Launch Primary Viewer"
1037 | IDS_TB_SECONDARYVIEWER "Launch Secondary Viewer"
1038 | IDS_CANT_UNDO_WARNING "Cant undo this action!"
1039 | IDS_MEMORY_LIMIT "Reached memory limit at %d bytes!"
1040 | IDS_QUERY_LAUNCH_VIEWER "This version of Windows does not support loading files this large into an Edit window.\nLaunch in external viewer?"
1041 | END
1042 |
1043 | STRINGTABLE DISCARDABLE
1044 | BEGIN
1045 | IDS_LE_MEMORY_LIMIT "Reached memory limit!\nSave file now and use another editor (metapad full not LE)!"
1046 | IDS_UNDO_HYPERLINKS_WARNING
1047 | "Updating hyperlinks. This action will empty the undo buffer."
1048 | IDS_CHANGE_READONLY_ERROR
1049 | "Unable to change the readonly attribute for this file."
1050 | IDS_SETTINGS_TITLE "Settings"
1051 | IDS_NO_SELECTED_TEXT "No selected text."
1052 | IDS_BYTE_LENGTH "...text is %d bytes long."
1053 | IDS_ITEMS_REPLACED "Replaced %d item(s)."
1054 | IDS_MENU_LANGUAGE_PLUGIN "&Language Plugin..."
1055 | IDS_RICHED_MISSING_ERROR
1056 | "metapad requires RICHED20.DLL to be installed on your system.\n\nSee the FAQ on the website for further information."
1057 | IDS_COMMAND_LINE_OPTIONS
1058 | "Usage: metapad [/i | /m | /v | /s] [/p | /g row:col | /e] [filename]\n\nOption descriptions:\n\n\t/i - force INI mode for settings\n\t/m - migrate all registry settings to INI file\n\t/g row:col - goto position at row and column\n\t/e - goto end of file\n\t/p - print file\n\t/v - disable plugin version checking\n\t/s - skip loading language plugin"
1059 | IDS_GLOBALLOCK_ERROR "GlobalLock failed"
1060 | IDS_CLIPBOARD_UNLOCK_ERROR
1061 | "There was an error unlocking the clipboard memory."
1062 | IDS_FILE_READ_ERROR "Error reading file."
1063 | IDS_RESTART_HIDE_SB "The change in ""Hide scrollbars when possible"" will be reflected upon restarting the program."
1064 | IDS_RESTART_FAVES "The change in ""Disable Favourites"" will be reflected upon restarting the program."
1065 | END
1066 |
1067 | STRINGTABLE DISCARDABLE
1068 | BEGIN
1069 | IDS_RESTART_LANG "Language changes will be reflected upon restarting the program."
1070 | IDS_INVALID_PLUGIN_ERROR
1071 | "Error loading language plugin DLL. It is probably not a valid metapad language plugin."
1072 | IDS_BAD_STRING_PLUGIN_ERROR
1073 | "Error fetching version string resource from plugin DLL. It is probably not a valid metapad language plugin."
1074 | IDS_PLUGIN_MISMATCH_ERROR
1075 | "Your language plugin is for metapad %s, but you are running metapad %s.\n\nSome menu or dialog features may be missing or not work correctly.\n\nRun metapad /v to skip this message."
1076 | IDS_ALLRIGHTS "All Rights Reserved"
1077 | IDS_OK_BUTTON "OK"
1078 | IDS_DEFAULT_FILTER_TEXT "Text (*.*)|*.*"
1079 | IDS_NEW_FILE "new file"
1080 | IDS_MACRO_LENGTH_ERROR "Selection is larger than maximum quick buffer length."
1081 | IDS_NEW_INSTANCE "New Window"
1082 | END
1083 |
1084 | #endif // English (U.S.) resources
1085 | /////////////////////////////////////////////////////////////////////////////
1086 |
1087 |
1088 |
1089 | #ifndef APSTUDIO_INVOKED
1090 | /////////////////////////////////////////////////////////////////////////////
1091 | //
1092 | // Generated from the TEXTINCLUDE 3 resource.
1093 | //
1094 |
1095 |
1096 | /////////////////////////////////////////////////////////////////////////////
1097 | #endif // not APSTUDIO_INVOKED
1098 |
1099 |
--------------------------------------------------------------------------------
/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Developer Studio generated include file.
3 | // Used by metapad.rc
4 | //
5 |
6 | #define IDS_VERSION_SYNCH 1
7 | #define IDS_PLUGIN_LANGUAGE 2
8 | #define IDS_PLUGIN_RELEASE 3
9 | #define IDS_PLUGIN_TRANSLATOR 4
10 | #define IDS_PLUGIN_EMAIL 5
11 | #define IDS_RESERVED2 6
12 | #define IDS_RESERVED3 7
13 | #define IDS_DEFAULT_FILTER 8
14 | #define IDS_DIRTYFILE 9
15 | #define IDS_ERROR_LOCKED 10
16 | #define IDS_ERROR_SEARCH 11
17 | #define IDS_LAUNCH_WARNING 12
18 | #define IDS_READONLY_INDICATOR 13
19 | #define IDS_READONLY_MENU 14
20 | #define IDS_ERROR_FAVOURITES 15
21 | #define IDS_FILE_LOADING 16
22 | #define IDS_READONLY_WARNING 17
23 | #define IDS_PRINTER_NOT_FOUND 18
24 | #define IDS_PRINT_INIT_ERROR 19
25 | #define IDD_FILE 20
26 | #define IDS_PRINT_ABORT_ERROR 20
27 | #define IDS_PRINT_START_ERROR 21
28 | #define IDS_DRAWTEXT_ERROR 22
29 | #define IDS_PRINT_ERROR 23
30 | #define IDS_PRIMARY_VIEWER_ERROR 24
31 | #define IDS_SECONDARY_VIEWER_ERROR 25
32 | #define IDS_PRIMARY_VIEWER_MISSING 26
33 | #define IDS_SECONDARY_VIEWER_MISSING 27
34 | #define IDS_NO_DEFAULT_VIEWER 28
35 | #define IDS_DEFAULT_VIEWER_ERROR 29
36 | #define IDS_REGISTRY_WINDOW_ERROR 30
37 | #define IDS_CARRIAGE_RETURN_WARNING 31
38 | #define IDS_MAC_FILE_WARNING 32
39 | #define IDS_CREATE_FILE_MESSAGE 33
40 | #define IDS_FILE_CREATE_ERROR 34
41 | #define IDS_FILE_NOT_FOUND 35
42 | #define IDS_FILE_LOCKED_ERROR 36
43 | #define IDS_UNICODE_CONVERT_ERROR 37
44 | #define IDS_UNICODE_CHARS_WARNING 38
45 | #define IDS_BINARY_FILE_WARNING 39
46 | #define IDS_UNICODE_STRING_ERROR 40
47 | #define IDS_UNICODE_BOM_ERROR 41
48 | #define IDS_FONT_UNDO_WARNING 42
49 | #define IDS_TCHAR_WIDTH_ERROR 43
50 | #define IDS_PARA_FORMAT_ERROR 44
51 | #define IDS_QUERY_SEARCH_TOP 45
52 | #define IDS_QUERY_SEARCH_BOTTOM 46
53 | #define IDS_RECENT_MENU 47
54 | #define IDS_RECENT_FILES_MENU 48
55 | #define IDS_MAX_RECENT_WARNING 49
56 | #define IDS_STICKY_MESSAGE 50
57 | #define IDS_CLEAR_FIND_WARNING 51
58 | #define IDS_CLEAR_RECENT_WARNING 52
59 | #define IDS_SELECT_PLUGIN_WARNING 53
60 | #define IDS_MARGIN_WIDTH_WARNING 55
61 | #define IDS_TRANSPARENCY_WARNING 56
62 | #define IDS_TAB_SIZE_WARNING 57
63 | #define IDS_TB_NEWFILE 59
64 | #define IDS_TB_OPENFILE 60
65 | #define IDS_TB_SAVEFILE 61
66 | #define IDS_TB_PRINT 62
67 | #define IDS_TB_FIND 63
68 | #define IDS_TB_REPLACE 64
69 | #define IDS_TB_CUT 65
70 | #define IDS_TB_COPY 66
71 | #define IDS_TB_PASTE 67
72 | #define IDS_TB_UNDO 68
73 | #define IDS_TB_REDO 69
74 | #define IDS_TB_SETTINGS 70
75 | #define IDS_TB_REFRESH 71
76 | #define IDS_TB_WORDWRAP 72
77 | #define IDS_TB_PRIMARYFONT 73
78 | #define IDS_TB_ONTOP 74
79 | #define IDS_TB_PRIMARYVIEWER 75
80 | #define IDS_TB_SECONDARYVIEWER 76
81 | #define IDS_CANT_UNDO_WARNING 77
82 | #define IDS_MEMORY_LIMIT 78
83 | #define IDS_QUERY_LAUNCH_VIEWER 79
84 | #define IDS_LE_MEMORY_LIMIT 80
85 | #define IDS_UNDO_HYPERLINKS_WARNING 81
86 | #define IDS_CHANGE_READONLY_ERROR 82
87 | #define IDS_SETTINGS_TITLE 83
88 | #define IDS_NO_SELECTED_TEXT 84
89 | #define IDS_BYTE_LENGTH 85
90 | #define IDS_ITEMS_REPLACED 86
91 | #define IDS_MENU_LANGUAGE_PLUGIN 87
92 | #define IDS_RICHED_MISSING_ERROR 88
93 | #define IDS_COMMAND_LINE_OPTIONS 89
94 | #define IDS_GLOBALLOCK_ERROR 90
95 | #define IDS_CLIPBOARD_UNLOCK_ERROR 91
96 | #define IDS_CLIPBOARD_OPEN_ERROR 92
97 | #define IDS_FILE_READ_ERROR 93
98 | #define IDS_RESTART_HIDE_SB 94
99 | #define IDS_RESTART_FAVES 95
100 | #define IDS_RESTART_LANG 96
101 | #define IDS_INVALID_PLUGIN_ERROR 97
102 | #define IDS_BAD_STRING_PLUGIN_ERROR 98
103 | #define IDS_PLUGIN_MISMATCH_ERROR 99
104 | #define IDS_ALLRIGHTS 100
105 | #define IDD_ABOUT 101
106 | #define IDS_OK_BUTTON 101
107 | #define ID_FIND_PREV_WORD 102
108 | #define IDS_DEFAULT_FILTER_TEXT 102
109 | #define IDS_NEW_FILE 103
110 | #define IDR_ACCELERATOR 104
111 | #define ID_ABOUT_PLUGIN 104
112 | #define IDS_MACRO_LENGTH_ERROR 104
113 | #define IDS_NEW_INSTANCE 105
114 | #define IDI_PAD 109
115 | #define IDI_EYE 110
116 | #define IDD_PROPPAGE_GENERAL 112
117 | #define IDD_ABORT_PRINT 113
118 | #define IDD_GOTO 114
119 | #define IDC_MYHAND 122
120 | #define IDD_PROPPAGE_VIEW 124
121 | #define IDB_TOOLBAR 126
122 | #define IDD_FAV_NAME 128
123 | #define IDR_ESCAPE_SEQUENCES 129
124 | #define IDR_MENU 130
125 | #define IDB_DROP_ARROW 131
126 | #define IDR_POPUP 131
127 | #define IDC_STATICX 1005
128 | #define IDC_EDIT_URL 1007
129 | #define IDC_EDIT_PLUGIN_RELEASE 1008
130 | #define IDC_DLGICON 1009
131 | #define IDC_EDIT_PLUGIN_EMAIL 1009
132 | #define IDC_CHECK_QUICKEXIT 1010
133 | #define IDC_EDIT_PLUGIN_TRANSLATOR 1010
134 | #define IDC_CHECK_SAVEWINDOWPLACEMENT 1011
135 | #define IDC_EDIT_BROWSER 1012
136 | #define IDC_BUTTON_BROWSE 1013
137 | #define IDC_EDIT_BROWSER2 1014
138 | #define IDC_BUTTON_BROWSE2 1015
139 | #define IDC_CHECK_LAUNCH_CLOSE 1016
140 | #define IDC_FONT_PRIMARY 1018
141 | #define IDC_FONT_SECONDARY 1019
142 | #define IDC_FONT_PRIMARY_2 1020
143 | #define IDC_FONT_SECONDARY_2 1021
144 | #define IDC_BTN_FONT1 1023
145 | #define IDC_BTN_FONT2 1024
146 | #define IDC_TAB_STOP 1025
147 | #define IDD_CANCEL 1026
148 | #define IDC_LAUNCH_SAVE0 1030
149 | #define IDC_LAUNCH_SAVE1 1031
150 | #define IDC_LAUNCH_SAVE2 1032
151 | #define IDC_FIND_AUTO_WRAP 1033
152 | #define IDC_AUTO_INDENT 1034
153 | #define IDC_LINE 1035
154 | #define IDC_INSERT_SPACES 1035
155 | #define IDC_NO_CAPTION_DIR 1036
156 | #define IDC_GOTO_OFFSET 1036
157 | #define ID_SMARTSELECT 1037
158 | #define IDC_CHECK_SAVEMENUSETTINGS 1038
159 | #define IDC_EDIT_ARGS 1039
160 | #define IDC_EDIT_ARGS2 1040
161 | #define IDC_CHECK_SAVEDIRECTORY 1041
162 | #define IDC_RECENT 1042
163 | #define IDC_INSERT_TIME 1043
164 | #define IDC_OFFSET_TEXT 1043
165 | #define IDC_PROMPT_BINARY 1044
166 | #define IDC_OFFSET 1044
167 | #define IDC_RADIO_SELECTION 1045
168 | #define IDC_DEFAULT_PRINT 1045
169 | #define IDC_RADIO_WHOLE 1046
170 | #define IDC_CURRENT_FIND_FONT 1046
171 | #define IDC_STICKY_WINDOW 1047
172 | #define IDC_BUTTON_STICK 1048
173 | #define IDC_COLOUR_BACK 1048
174 | #define IDC_COLOUR_FONT 1049
175 | #define IDC_SECONDARY_PRINT_FONT 1049
176 | #define IDC_EDIT_MAX_MRU 1050
177 | #define IDC_SYSTEM_COLOURS 1050
178 | #define IDC_COLOUR_BACK2 1051
179 | #define IDC_COLOUR_FONT2 1052
180 | #define IDC_SYSTEM_COLOURS2 1053
181 | #define IDC_STAT_WIND 1056
182 | #define IDC_STAT_FONT 1057
183 | #define IDC_STAT_WIND2 1058
184 | #define IDC_SMARTHOME 1059
185 | #define IDC_STAT_FONT2 1059
186 | #define IDC_READONLY_MENU 1060
187 | #define IDC_FLAT_TOOLBAR 1066
188 | #define IDC_ALWAYS_LAUNCH 1067
189 | #define IDC_LINK_DC 1068
190 | #define IDC_NO_SAVE_EXTENSIONS 1069
191 | #define IDC_CONTEXT_CURSOR 1070
192 | #define IDC_MACRO_1 1070
193 | #define IDC_EDIT_SM_WIDTH 1071
194 | #define IDC_SUPPRESS_UNDO_PROMPT 1071
195 | #define IDC_MACRO_2 1071
196 | #define IDC_BUTTON_CLEAR_FIND 1072
197 | #define IDC_EDIT_TRANSPARENT 1072
198 | #define IDC_MACRO_3 1072
199 | #define IDC_BUTTON_CLEAR_RECENT 1073
200 | #define IDC_MACRO_4 1073
201 | #define IDC_COMBO_FORMAT 1074
202 | #define IDC_MACRO_5 1074
203 | #define IDC_HIDE_SCROLLBARS 1075
204 | #define IDC_MACRO_6 1075
205 | #define IDC_CLOSE_AFTER_FIND 1076
206 | #define IDC_NO_SAVE_HISTORY 1076
207 | #define IDC_MACRO_7 1076
208 | #define IDC_DATA 1077
209 | #define IDC_NO_FAVES 1077
210 | #define IDC_MACRO_8 1077
211 | #define IDC_NAME 1078
212 | #define IDC_NO_FIND_SELECT 1078
213 | #define IDC_MACRO_9 1078
214 | #define IDC_EDIT_QUOTE 1079
215 | #define IDC_MACRO_10 1079
216 | #define IDC_ESCAPE 1080
217 | #define IDC_RADIO_LANG_DEFAULT 1080
218 | #define IDC_ESCAPE2 1081
219 | #define IDC_STAT_TRANS 1081
220 | #define IDC_RADIO_LANG_PLUGIN 1081
221 | #define IDC_EDIT_LANG_PLUGIN 1082
222 | #define IDC_EDIT_PLUGIN_LANG 1083
223 | #define IDC_STATIC_COPYRIGHT 1084
224 | #define IDC_STATIC_COPYRIGHT2 1085
225 | #define ID_DROP_REPLACE 1153
226 | #define ID_DROP_FIND 1154
227 | #define IDD_FIND 1540
228 | #define IDD_REPLACE 1541
229 | #define IDD_PAGE_SETUP 1546
230 | #define IDD_PROPPAGE_A1 1547
231 | #define IDD_PROPPAGE_A1_LE 1548
232 | #define IDD_PROPPAGE_A2 1549
233 | #define IDD_ABOUT_PLUGIN 1550
234 | #define ID_HELP_ABOUT 40002
235 | #define ID_MYFILE_OPEN 40003
236 | #define ID_MYFILE_EXIT 40004
237 | #define ID_MYFILE_SAVEAS 40009
238 | #define ID_EDIT_WORDWRAP 40011
239 | #define ID_MYFILE_NEW 40012
240 | #define ID_MYFILE_SAVE 40013
241 | #define ID_MYFILE_QUICK_EXIT 40014
242 | #define ID_FILE_LAUNCHVIEWER 40017
243 | #define ID_VIEW_OPTIONS 40020
244 | #define ID_DATE_TIME 40021
245 | #define ID_FONT_PRIMARY 40023
246 | #define ID_FIND 40026
247 | #define ID_REPLACE 40027
248 | #define ID_FIND_NEXT 40028
249 | #define ID_MYEDIT_UNDO 40029
250 | #define ID_MYEDIT_CUT 40030
251 | #define ID_MYEDIT_COPY 40031
252 | #define ID_MYEDIT_PASTE 40032
253 | #define ID_MYEDIT_SELECTALL 40033
254 | #define ID_PRINT 40035
255 | #define ID_EDIT_SELECTWORD 40036
256 | #define ID_GOTOLINE 40037
257 | #define ID_FIND_PREV 40038
258 | #define ID_DOS_FILE 40039
259 | #define ID_UNIX_FILE 40040
260 | #define ID_INDENT 40041
261 | #define ID_UNINDENT 40043
262 | #define ID_RELOAD_CURRENT 40053
263 | #define ID_MYEDIT_REDO 40054
264 | #define ID_READONLY 40055
265 | #define ID_SHOWSTATUS 40057
266 | #define ID_DATE_TIME_LONG 40058
267 | #define ID_FIND_NEXT_WORD 40059
268 | #define ID_INSERT_MODE 40061
269 | #define ID_STRIPCHAR 40062
270 | #define ID_MAKE_OEM 40063
271 | #define ID_MAKE_ANSI 40064
272 | #define ID_COMMIT_WORDWRAP 40065
273 | #define ID_SHOWFILESIZE 40066
274 | #define ID_SHOWHYPERLINKS 40067
275 | #define IDD_MRU_1 40068
276 | #define ID_HOME 40070
277 | #define ID_PAGESETUP 40071
278 | #define ID_MAKE_UPPER 40072
279 | #define ID_MAKE_LOWER 40073
280 | #define ID_STRIP_CR 40074
281 | #define ID_SHOWTOOLBAR 40075
282 | #define ID_TABIFY 40078
283 | #define ID_UNTABIFY 40079
284 | #define ID_HACKER 40080
285 | #define ID_NEW_INSTANCE 40081
286 | #define ID_ALWAYSONTOP 40082
287 | #define ID_CONTEXTMENU 40083
288 | #define ID_STRIP_CR_SPACE 40084
289 | #define ID_SCROLLUP 40085
290 | #define ID_SCROLLDOWN 40086
291 | #define ID_LAUNCH_ASSOCIATED_VIEWER 40087
292 | #define ID_STRIP_TRAILING_WS 40088
293 | #define ID_UNICODE_FILE 40089
294 | #define ID_UNICODE_BE_FILE 40090
295 | #define ID_MYEDIT_DELETE 40091
296 | #define ID_FAV_ADD 40092
297 | #define ID_FAV_EDIT 40093
298 | #define ID_FAV_RELOAD 40094
299 | #define ID_QUOTE 40095
300 | #define ID_MAKE_INVERSE 40096
301 | #define ID_MAKE_SENTENCE 40097
302 | #define ID_MAKE_TITLE 40098
303 | #define ID_ESCAPE_NEWLINE 40099
304 | #define ID_ESCAPE_TAB 40100
305 | #define ID_INSERT_FILE 40100
306 | #define ID_ESCAPE_BACKSLASH 40101
307 | #define ID_ESCAPE_DISABLE 40102
308 | #define ID_SHIFT_ENTER 40104
309 | #define ID_LAUNCH_SECONDARY_VIEWER 40105
310 | #define ID_SCROLLLEFT 40106
311 | #define ID_SCROLLRIGHT 40107
312 | #define ID_SAVE_AND_QUIT 40108
313 | #define ID_UTF_8_FILE 40109
314 | #define ID_CONTROL_SHIFT_ENTER 40110
315 | #define ID_MRU_BASE 44000
316 | #define ID_MRU_1 44001
317 | #define ID_MRU_2 44002
318 | #define ID_MRU_3 44003
319 | #define ID_MRU_4 44004
320 | #define ID_MRU_5 44005
321 | #define ID_MRU_6 44006
322 | #define ID_MRU_7 44007
323 | #define ID_MRU_8 44008
324 | #define ID_MRU_9 44009
325 | #define ID_MRU_10 44010
326 | #define ID_MRU_11 44011
327 | #define ID_MRU_12 44012
328 | #define ID_MRU_13 44013
329 | #define ID_MRU_14 44014
330 | #define ID_MRU_15 44015
331 | #define ID_MRU_16 44016
332 | #define ID_FAV_RANGE_BASE 44100
333 | #define ID_FAV_RANGE_MAX 44199
334 | #define ID_TRANSPARENT 44200
335 | #define ID_MACRO_1 44301
336 | #define ID_MACRO_2 44302
337 | #define ID_MACRO_3 44303
338 | #define ID_MACRO_4 44304
339 | #define ID_MACRO_5 44305
340 | #define ID_MACRO_6 44306
341 | #define ID_MACRO_7 44307
342 | #define ID_MACRO_8 44308
343 | #define ID_MACRO_9 44309
344 | #define ID_MACRO_10 44310
345 | #define ID_SET_MACRO_1 44400
346 | #define ID_SET_MACRO_2 44401
347 | #define ID_SET_MACRO_3 44402
348 | #define ID_SET_MACRO_4 44403
349 | #define ID_SET_MACRO_5 44404
350 | #define ID_SET_MACRO_6 44405
351 | #define ID_SET_MACRO_7 44406
352 | #define ID_SET_MACRO_8 44407
353 | #define ID_SET_MACRO_9 44408
354 | #define ID_SET_MACRO_10 44409
355 | #define IDD_TEXT 65535
356 |
357 | // Next default values for new objects
358 | //
359 | #ifdef APSTUDIO_INVOKED
360 | #ifndef APSTUDIO_READONLY_SYMBOLS
361 | #define _APS_NO_MFC 1
362 | #define _APS_NEXT_RESOURCE_VALUE 135
363 | #define _APS_NEXT_COMMAND_VALUE 40109
364 | #define _APS_NEXT_CONTROL_VALUE 1086
365 | #define _APS_NEXT_SYMED_VALUE 107
366 | #endif
367 | #endif
368 |
--------------------------------------------------------------------------------
/toolbar.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alexd/metapad/428e8724d3deafa09a3c03d4596fe498dcb5c504/toolbar.bmp
--------------------------------------------------------------------------------
/w32crt.h:
--------------------------------------------------------------------------------
1 | void __cdecl WinMainCRTStartup(void)
2 | {
3 | int mainret;
4 | LPSTR lpszCommandLine;
5 | STARTUPINFO StartupInfo;
6 |
7 | lpszCommandLine = (LPSTR)GetCommandLine();
8 |
9 | if (*lpszCommandLine == '"') {
10 | lpszCommandLine++;
11 | while(*lpszCommandLine && (*lpszCommandLine != '"'))
12 | lpszCommandLine++;
13 |
14 | if (*lpszCommandLine == '"')
15 | lpszCommandLine++;
16 | }
17 | else {
18 | while (*lpszCommandLine > ' ')
19 | lpszCommandLine++;
20 | }
21 |
22 | while ( *lpszCommandLine && (*lpszCommandLine <= ' ') )
23 | lpszCommandLine++;
24 |
25 | StartupInfo.dwFlags = 0;
26 | GetStartupInfo(&StartupInfo);
27 |
28 | mainret = WinMain( GetModuleHandle(NULL),
29 | NULL,
30 | lpszCommandLine,
31 | StartupInfo.dwFlags & STARTF_USESHOWWINDOW
32 | ? StartupInfo.wShowWindow : SW_SHOWDEFAULT );
33 |
34 | ExitProcess(mainret);
35 | }
36 | /*
37 | int __cdecl _isctype(int c , int mask)
38 | {
39 | if (((unsigned)(c + 1)) <= 256)
40 | return (_pctype[c] & mask);
41 | else
42 | return 0;
43 | }
44 | */
45 | /*
46 | long __cdecl atol(const char* pstr)
47 | {
48 | int cCurr;
49 | long lTotal;
50 | int iIsNeg;
51 |
52 | while (isspace (*pstr))
53 | ++pstr;
54 |
55 | cCurr = *pstr++;
56 | iIsNeg = cCurr;
57 | if (('-' == cCurr) || ('+' == cCurr))
58 | cCurr = *pstr++;
59 |
60 | lTotal = 0;
61 |
62 | while (isdigit(cCurr)) {
63 | lTotal = 10 * lTotal + (cCurr - '0');
64 | cCurr = *pstr++;
65 | }
66 |
67 | if ('-' == iIsNeg)
68 | return (-lTotal);
69 | else
70 | return (lTotal);
71 | }
72 |
73 | int __cdecl atoi(const char * pstr)
74 | {
75 | return ((int)atol (pstr));
76 | }
77 | */
78 | /*
79 | int __cdecl tolower(int c)
80 | {
81 | if (c - 'A' + 'a' < 0)
82 | return c;
83 | else
84 | return c - 'A' + 'a';
85 | }
86 | */
87 | /*
88 | char* __cdecl strchr(const char* str, int ch)
89 | {
90 | while (*str != '\0') {
91 | if (*str == ch)
92 | return (char*)str;
93 | str++;
94 | }
95 | return NULL;
96 | }
97 |
98 | char* __cdecl strrchr(const char* str, int ch)
99 | {
100 | char* strb = (char*)str;
101 |
102 | while (*str != '\0') {
103 | str++;
104 | }
105 | while (str != strb) {
106 | if (*str == ch)
107 | return (char*)str;
108 | str--;
109 | }
110 | return NULL;
111 | }
112 | */
--------------------------------------------------------------------------------