Annotation of sbbs/sbbs3/ctrl/textfileeditunit.h, revision 1.1.1.1

1.1       root        1: /* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */
                      2: 
                      3: /* $Id: TextFileEditUnit.h,v 1.1.1.1 2000/10/10 11:26:52 rswindell Exp $ */
                      4: 
                      5: /****************************************************************************
                      6:  * @format.tab-size 4          (Plain Text/Source Code File Header)                    *
                      7:  * @format.use-tabs true       (see http://www.synchro.net/ptsc_hdr.html)              *
                      8:  *                                                                                                                                                     *
                      9:  * Copyright 2000 Rob Swindell - http://www.synchro.net/copyright.html         *
                     10:  *                                                                                                                                                     *
                     11:  * This program is free software; you can redistribute it and/or                       *
                     12:  * modify it under the terms of the GNU General Public License                         *
                     13:  * as published by the Free Software Foundation; either version 2                      *
                     14:  * of the License, or (at your option) any later version.                                      *
                     15:  * See the GNU General Public License for more details: gpl.txt or                     *
                     16:  * http://www.fsf.org/copyleft/gpl.html                                                                                *
                     17:  *                                                                                                                                                     *
                     18:  * Anonymous FTP access to the most recent released source is available at     *
                     19:  * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net     *
                     20:  *                                                                                                                                                     *
                     21:  * Anonymous CVS access to the development source and modification history     *
                     22:  * is available at cvs.synchro.net:/cvsroot/sbbs, example:                                     *
                     23:  * cvs -d :pserver:[email protected]:/cvsroot/sbbs login                       *
                     24:  *     (just hit return, no password is necessary)                                                     *
                     25:  * cvs -d :pserver:[email protected]:/cvsroot/sbbs checkout src                *
                     26:  *                                                                                                                                                     *
                     27:  * For Synchronet coding style and modification guidelines, see                                *
                     28:  * http://www.synchro.net/source.html                                                                          *
                     29:  *                                                                                                                                                     *
                     30:  * You are encouraged to submit any modifications (preferably in Unix diff     *
                     31:  * format) via e-mail to [email protected]                                                                      *
                     32:  *                                                                                                                                                     *
                     33:  * Note: If this box doesn't appear square, then you need to fix your tabs.    *
                     34:  ****************************************************************************/
                     35: 
                     36: //---------------------------------------------------------------------------
                     37: #ifndef TextFileEditUnitH
                     38: #define TextFileEditUnitH
                     39: //---------------------------------------------------------------------------
                     40: #include <Classes.hpp>
                     41: #include <Controls.hpp>
                     42: #include <StdCtrls.hpp>
                     43: #include <Forms.hpp>
                     44: #include <ExtCtrls.hpp>
                     45: #include <Buttons.hpp>
                     46: #include <ComCtrls.hpp>
                     47: #include <Dialogs.hpp>
                     48: #include <Menus.hpp>
                     49: #include <ActnList.hpp>
                     50: //---------------------------------------------------------------------------
                     51: class TTextFileEditForm : public TForm
                     52: {
                     53: __published:   // IDE-managed Components
                     54:        TPanel *Panel;
                     55:     TBitBtn *OkButton;
                     56:     TBitBtn *CancelButton;
                     57:     TRichEdit *Memo;
                     58:     TFindDialog *FindDialog;
                     59:     TReplaceDialog *ReplaceDialog;
                     60:     TMainMenu *Menu;
                     61:     TMenuItem *EditMenuItem;
                     62:     TMenuItem *EditFindMenuItem;
                     63:     TMenuItem *EditReplaceMenuItem;
                     64:     TMenuItem *FileMenuItem;
                     65:     TMenuItem *FileSaveMenuItem;
                     66:     TMenuItem *FileExitMenuItem;
                     67:     TPopupMenu *PopupMenu;
                     68:     TMenuItem *SelectAllPopupMenuItem;
                     69:     TMenuItem *FindPopupMenuItem;
                     70:     TMenuItem *ReplacePopupMenuItem;
                     71:     TMenuItem *N1;
                     72:     TMenuItem *N2;
                     73:     TMenuItem *CtrlAPopupMenuItem;
                     74:     TMenuItem *N3;
                     75:     TMenuItem *EditInsertCtrlA;
                     76:     TMenuItem *N4;
                     77:     TMenuItem *EditSelectAllMenuItem;
                     78:     TActionList *ActionList;
                     79:     TAction *InsertCtrlA;
                     80:     TAction *Find;
                     81:     TAction *Replace;
                     82:     TAction *SelectAll;
                     83:     TAction *Save;
                     84:     TMenuItem *EditUndoMenuItem;
                     85:     TMenuItem *N5;
                     86:     TMenuItem *EditCutMenuItem;
                     87:     TMenuItem *EditCopyMenuItem;
                     88:     TMenuItem *EditPasteMenuItem;
                     89:     TAction *Cut;
                     90:     TAction *Copy;
                     91:     TAction *Paste;
                     92:     TAction *Undo;
                     93:     TMenuItem *CutPopupMenuItem;
                     94:     TMenuItem *CopyPopupMenuItem;
                     95:     TMenuItem *PastePopupMenuItem;
                     96:        void __fastcall FormShow(TObject *Sender);
                     97:     void __fastcall FontButtonClick(TObject *Sender);
                     98:     void __fastcall FindDialogFind(TObject *Sender);
                     99:     void __fastcall ReplaceDialogReplace(TObject *Sender);
                    100:     void __fastcall InsertCtrlAExecute(TObject *Sender);
                    101:     void __fastcall FindExecute(TObject *Sender);
                    102:     void __fastcall ReplaceExecute(TObject *Sender);
                    103:     void __fastcall SelectAllExecute(TObject *Sender);
                    104:     void __fastcall FileExitMenuItemClick(TObject *Sender);
                    105:     void __fastcall SaveExecute(TObject *Sender);
                    106:     void __fastcall CutExecute(TObject *Sender);
                    107:     void __fastcall CopyExecute(TObject *Sender);
                    108:     void __fastcall PasteExecute(TObject *Sender);
                    109:     void __fastcall UndoExecute(TObject *Sender);
                    110: private:       // User declarations
                    111: public:                // User declarations
                    112:        __fastcall TTextFileEditForm(TComponent* Owner);
                    113:     AnsiString Filename;
                    114: };
                    115: //---------------------------------------------------------------------------
                    116: extern PACKAGE TTextFileEditForm *TextFileEditForm;
                    117: //---------------------------------------------------------------------------
                    118: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.