pE - The "perfect" Editor(tm) Copyright (c) 1990-1993 by Just Excellent Software, Inc. These notes are addendum to the printed pE manual. Release 4.03 - Dec 12, 1993 ------------ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Context Sensitive Help³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ F1 is now officially the "HELP" key. Most of the time, it will a help screen that is very close to what you are currently doing. Sometimes it will provide the last screen called. And finally, sometimes it will miss the mark, but leave you in the help system. Note that F4 in the help system will take you to any page, Home will take you to the index. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Alt Key for Menu³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Alt Key alone now accesses Menu. Pressing the Alt key AND releasing it, will now access the Menu. Pressing Alt + F, E, S, W, O and H will access that particular Menu Item. This has necessitated redefining the function previously assigned to those keys. If you're a long time pE user, you will find it a little hard to get used to at first, but well worth it to be standard with most of the rest of the world. To define a find string, the quick key is #F5, right above FindForward (F5). Replace is #F6, right above FindBackward (F6). F3 and F4 have always been redundant with ^Y and ^U. (Delete and un Delete lines). So we made F3 SaveFile and F4 SaveFileAs. Of course you can also type Alt F +S for SaveFile and Alt F +A for SaveFileAs. Commands now execute by typing the highlighted letter from the menu. (you don't have to type Enter). Please refer to KEY.TXT for a complete key mapping. ÚÄÄÄÄ Fn Key ÄÄÄÂÄÄÄ Fn + Shift ÄÄÄÂÄÄÄ Fn + Cntrl ÄÄÄÂÄÄ Fn + Alt Ä¿ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ 1³Help ³ExecuteCommand ³RecordMacro ³AsciiChart ³ 2³JumpNext ³JumpPrev ³SaveOptions ³Calendar ³ 3³SaveFile ³OpenWindow ³OpenDosWindow ³ ³ 4³SaveFileAs ³StackWin ³Maximize ³Minimize ³ 5³FindForward ³DefineFind ³ToggleCase ³RegularExp ³ 6³FindBackward ³DefineReplace ³ToggleWordprocess ³AllWindows ³ 7³SetLineLength ³FloatBlock ³SetTabs ³ToggleAutoTab ³ 8³PrevMark ³JumpZoom ³SetMarks ³ ³ 9³GoTo ³ShowMacros ³CompileMacro ³ ³ 10³MatchBrace ³SetParagraphStyle ³UndoPara ³StartUp ³ 11³OpenFile ³ ³ ³ ³ 12³EditFile ³ ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Of course, you don't have to live with my key choices. See KEY.TXT for how to change the keyboard any which way you'ld like. ÚÄÄÄÄÄÄÄÄÄ¿ ³OtherCase³ ÀÄÄÄÄÄÄÄÄÄÙ pE has always had the ability to switch to either all upper case or all lower case. You had to define a block, then issue the command assigned to ^Kl for lower and ^Ku for upper. We have now added ^O, for 'other', that is, change to the other case. We also have relaxed the constraint that a block must be marked. If no block is marked these functions act on the character at the current cursor position. Further, the cursor is moved one character to the right if no block is marked. This allows repeated issuance of the command to change a series of characters without having to press the right cursor key. Since having to press 2 keys (^K and O) would be inconvenient for a single character, we assigned CaseOther to ^O. Of course, you can redefine the keyboard as you wish, or assign these commands via macros to any key you wish. Thanks for the tip from Trym Andreassen. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³New Help Text³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÙ pE's help system has been completely redone. It can pe executed either from within pE through the Help menu, or independently by typing "pehelp". ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Macros Enhanced³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ þ Macros can now be edited. þ Macros can be "compiled" from ASCII text. þ Macros can be recorded as you execute the actual command. If you reassign a key using PK.EXE that previously had been assigned to a macro, pE will reassign that macro to an arbitrary function. In order to use that function you will need to follow this procedure: 1. Show Macros to see what macros you have and what keys they are assigned. 2. 'UnAssign' (^_) any macros that are not assigned to keys you want them assigned to. 3. Change the text assignment of the macro to whatever key you want. 4. Compile the macro. (^F9). 5. Save Options (^F2). Please see separate help under macros and macro rules. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Compile Macro³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Compile Macro expects that the current active window contains at least one macro. A macro is defined as text between the symbols {BeginMacro} and {EndMacro}. For all the rules please see 'Macro Rules' under Help. Compiled macros can be saved with ^F2, Save Options. ÚÄÄÄÄÄÄÄÄÄÄÄ¿ ³Auto Indent³ ÀÄÄÄÄÄÄÄÄÄÄÄÙ pE's default (and only choice) has been to operate in a mode whereby the cursor follows the margin established by the line above when the next line is blank, or to jump to an indented margin when the next line contains text. This mode is commonly referred to as auto-indent. As of this release, the user has the ability to turn this 'mode' ON/OFF and to save the setting with 'Save Options'. Turning auto_indent to OFF may make it easier to execute certain kinds of macros. Please note that existing ENV.PED's will have this option turned OFF, so you should execute the 'Options Set' menu and toggle auto_indent to ON for pE to operate as it did in the past. Then save your options to make the change permanent. ÚÄÄÄÄÄÄÄÄÄ¿ ³IgnoreEOf³ ÀÄÄÄÄÄÄÄÄÄÙ Normally, Macro's stop when they hit the End of File, when the Escape key is pressed while the macro is executing, or when the last keystroke in the macro executes. To allow a macro to insert blank lines past the end of file by positioning {down}, put {IgnoreEOf} (or {ieo}) as the first command after the {BeginMacro}. When the macro ends, the switch resets, automatically, so you only need it once. This command is useless outside of a macro and does nothing if invoked from the command menu. ÚÄÄÄÄÄÄÄÄÄÄÄ¿ ³Ignore Zero³ ÀÄÄÄÄÄÄÄÄÄÄÄÙ Added the Ignore Zero switch to the options menu so you can set or reset the switch (and save the setting) from within the editor. Release 4.02 - Oct 1, 1993 ------------ pE word wrap now works a little differently in Word Mode vs Text Mode. In word mode it works as it has always, ie, no change has been made. As you type, automatic reformatting occurs according to the preset margins set in paragraph under options. In TEXT mode, word wrap will occur at the setting of line length as before, but now a new line will be appended after the current line with any word to be 'wrapped' moved down onto it, and automatic reformatting will NOT occur. This is a decided improvement and prevents inadvertant paragraph realignment. If you would like to flow text together, then position the cursor to the left column of the beginning of the paragraph and press Alt-A (for align). While not a brand new feature, please note that ^F10 will undo the last paragraph alignment. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Ignore Zero switch³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Normally, the way pE tells if a file is ASCII or not is to look for a binary zero (hex 00). When found, pE presumes the file is not ASCII and puts out the message 'UNKOWN Format', and offers to convert to a HEX display. If you start pE with /I for ignore zeros, pE will change all such zeros to blank characters and read the file as though it were ASCII. DO NOT EDIT AND THEN SAVE SUCH A FILE. Odds are you will wind up with complete garbage. In fact, best to open a file in view only mode after you set the /I. Alt-V calls the file chooser for view-only opening of a file. Any zeroes found past the character hex 1A (decimal 26, ^Z) are converted to space characters and the file is decoded as though it were ASCII. This is to accomodate ASCII files created by strange programs that pad out to block boundaries with zeroes after inserting a ^Z at 'end of file'. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³File Selection³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ The file chooser now allows selection of multiple files. The space bar will toggle selection on/off. Alt (or Ctrl) T, U, and I will also T(ag) all, U(ntag) all, or I(nvert) tags. Once one or more files are tagged, pressing Enter will load them all. Pressing F4 (delete), will make pE offer to delete one at a time or all. Please be careful. Answering 'A' for All will delete all the marked files, without further questions. A count of tagged items is displayed in the upper right border of the chooser window. ÚÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Drive Select³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÙ The file chooser now displays disk drive letters for your selection by mouse or keyboard. To rapidly get to the drive letter 'A' simply type '['. The highlight will immediately advance to '[A:]'. If you press '[' again, you will cycle through all of the drive letters on your computer. The auxiliary window will show what the current directory is for each of the various drives. pE will position to that directory if the drive highlighted is selected. Note that pressing a single '.' will always get to '..\' which is the symbol for the directory one level up from your current directory. ÚÄÄÄÄÄÄÄÄÄ¿ ³Add Block³ ÀÄÄÄÄÄÄÄÄÄÙ pE will add a column of numbers for you! Just mark using Alt-B (rectangular block) and press ^a_b (add block). The numbers do not have to be aligned and decimals are OK. The only restriction is that a number cannot have more than 6 digits past the decimal point. Decimal points do not have to be aligned, there can be blank lines in the block as well as spaces before or after the number, but not between characters of the number. --------- |123 | | 456 | adds up to 1368 | 789| --------- just as --- |123| |456| adds up to 1368 |789| --- ----------- |1.234 | | 23| adds up to 35.3907 |2.4567 | |8.7 | ----------- just as ------- | 1.234 | |23 | adds up to 35.3907 | 2.4567| | 8.7 | ------- The total is inserted at the current cursor position when the command is executed, so mark the block, end the mark, and position where you want the total printed before pressing ^a_b. ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» º History prior to this point may be requested from author º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ