home *** CD-ROM | disk | FTP | other *** search
- { MS.PAS
- MS 4.0
- Copyright (c) 1985, 87 by Borland International, Inc. }
-
- program MS;
- {-Full blown editor using the Turbo Editor Toolbox}
-
- {$I msdirect.inc} {Directives shared by all units}
- {$L-} {Conserve memory during linking}
- {$M 8192, 16384, 655360}
-
- uses
- Crt, {Basic video operations - standard unit}
- Dos, {DOS interface - standard unit}
- Errors, {Runtime error handler}
- MsVars, {Global types and declarations}
- MsScrn1, {Fast screen writing routines}
- MsString, {String primitives}
- MsPtrOp, {Pointer primitives}
- EscSeq, {Returns text string for extended scan codes}
- MsCmds, {Maps keystrokes to commands}
- Int24, {DOS critical error handler}
- Message, {Message system}
- MsUser, {User keyboard input, line edit, error report, help}
- MsMemOp, {Text buffer allocation and deallocation}
- MsBack, {Background processes}
- MsScrn2, {Editor screen updating}
- MsMenu, {Pulldown and custom menu system}
- MsDir, {Popup directory picker}
- MsEdit, {Basic editing commands}
- MsText, {Text processing commands}
- MsTabs, {Tab commands}
- MsBlok, {Block move, copy, delete}
- MsFind, {Find, replace routines}
- MsFile, {File I/O routines}
- MsMacro, {Macro editing and processing}
- MsSet, {Setup and installation}
- MsPrtM, {Print job setup}
- MsSpell, {Spelling checker}
- Invoke, {General purpose DOS shell}
- MsInvoke, {DOS shell for MicroStar}
- MsMain; {Command dispatcher and top level commands}
-
- begin {MicroStar}
-
- {Initialize toolbox data structures}
- EdInitialize;
-
- {Set up for the first file}
- EdMainMenu;
-
- {Start the keyboard polling loop}
- EdSchedule;
-
- {Restore the screen}
- EdRestoreScreenMode;
-
- end. {MicroStar}