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 ------------ 旼컴컴컴컴컴컴컴컴컴컴커 쿎ontext 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. 旼컴컴컴컴컴컴컴커 쿌lt 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쿓elp 쿐xecuteCommand 쿝ecordMacro 쿌sciiChart � 2쿕umpNext 쿕umpPrev 쿞aveOptions 쿎alendar � 3쿞aveFile 쿚penWindow 쿚penDosWindow � � 4쿞aveFileAs 쿞tackWin 쿘aximize 쿘inimize � 5쿑indForward 쿏efineFind 쿟oggleCase 쿝egularExp � 6쿑indBackward 쿏efineReplace 쿟oggleWordprocess 쿌llWindows � 7쿞etLineLength 쿑loatBlock 쿞etTabs 쿟oggleAutoTab � 8쿛revMark 쿕umpZoom 쿞etMarks � � 9쿒oTo 쿞howMacros 쿎ompileMacro � � 10쿘atchBrace 쿞etParagraphStyle 쿢ndoPara 쿞tartUp � 11쿚penFile � � � � 12쿐ditFile � � � � 읕컴컴컴컴컴컴컴좔컴컴컴컴컴컴컴컴컨컴컴컴컴컴컴컴컴컴좔컴컴컴컴컴컴켸 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. 旼컴컴컴컴� 쿚therCase� 읕컴컴컴컴� 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. 旼컴컴컴컴컴컴� 쿙ew 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". 旼컴컴컴컴컴컴컴� 쿘acros 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. 旼컴컴컴컴컴컴� 쿎ompile 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. 旼컴컴컴컴컴� 쿌uto 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. 旼컴컴컴컴� 쿔gnoreEOf� 읕컴컴컴컴� 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. 旼컴컴컴컴컴� 쿔gnore 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. 旼컴컴컴컴컴컴컴컴커 쿔gnore 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'. 旼컴컴컴컴컴컴커 쿑ile 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. 旼컴컴컴컴컴커 쿏rive 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. 旼컴컴컴컴� 쿌dd 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 � 훤袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴袴暠