Tips and Hints
The following tips and hints are provided for information purposes only and are not intended as a substitute for technical support at Multi-Edit Software, Inc.
MEW and EZRTools;) Tips and Hints
Same code, little difference
Making your own templates up for specialized jobs can save lots of time. You can use text enclosed in back quotes to allow modifications to be made. You can place meta-commands in the text to position the cursor after each expansion. If an item of information needs to be repeated multiple times within the block of code then Prompt and Lastprompt meta-commands can be used. This is a great feature for adding repetitive code that contains slightly altered text. If you copy the template keyword into the paste buffer and cause the template to place the cursor on the line following the expansion, and use the Prompt meta-command adding blocks of code goes like this. Cntl-V space type-the-prompted-for-text enter repeat. If the blocks of code are 10 lines long you could place 100 lines of code down in just a few minutes. Let the bean counters figure that out.
Changing Cntl/Alt Key Combinations
If you would prefer a different key mapping Multi-Edit is happy to oblige. Select in Tools-Customize and press the Keys/Commands button. This gives you a list of every menu item available in Multi-Edit. The Multi-Edit native commands are grouped just the same as the menus are organized. The EZRTools;) stuff is located in the SAS command map, near the end of the list in the user defined operations group. For other file extensions (*.c, *.pas, etc.) change the default command map. If you know where the command is on a menu, if it has a key assignment (Cntl-Alt-F3) you can quickly look it up with the search feature. Just press the search button, select search by Primary key, click on the button next to the key Edit window and then press the desired key combination. This is also a great way to find out what keys are already in use. When you have found the command that you want to change the keycode for, select edit. You will be allowed to put in a new keycode (works the same as search).
Multiple Projects, Customers, or Sites
If you need to report to more than one group or person, you probably already keep the work in separate directory structures. By setting up sessions to point at each directory you can get right to work without having to open and close a bunch of files. First you need to set a few options in Tools-Customize-Sessions. Select the options Encode status files for each directory and Restore screen position on startup.
Now go to File-Session Manager. Select the Create button. You'll get a new entry called "no-name". Give it a name and enter or select (with Browse button) the directory that corresponds to that project, customer or site. Do this for all your projects and you are set.
When you go to work on a particular project just select File-Session Manager and pick the appropriate session. Open all the files you need. When you are finished for now, with that project, don't close any files, just shutdown Multi-Edit or select another session. Next time you select that session all the files you had open appear already open and ready to go. This also preserves any random access marks you may have set in the file.
Speed Up the Cut and Paste operation when duplicating a block of lines
Unlike VI and ISPF Edit you select blocks with the mouse (although you can use key combos) , but you still do a lot of editing activities with them. Probably the editing activity most often done is repeatedly copying a section of code. If you set the following options this operation is much quicker. Go to the menu item Tools-Customize and select the Block tab. Select the options Turn Block Highlight off after Copy, Turn Block Highlight off after Paste, and Leave cursor at end of block after paste. Now when you want to duplicate a chunk of code, select it leaving the cursor at the beginning of the line after the chunk. Press Cntl-C or right-click and select copy. Now just press Cntl-V as many times as you need copies.
If you want to use persistent blocks, it is better to select it off the main menu bar under Blocks. Usually, you only need this option temporarily. Selecting Persistent Blocks from the Blocks menu is quicker than going the Tools-Customize route.
|Home : About Us | Links | Site Map | News Releases | Contact Us|
|Support : Tips and Hints | Downloads and Patches | Manual | FAQs | Newsletters | Bug Reports | Suggestions|
|Products : Overview of Features | Features | Screen Shots | Free Trial | Purchase | Lite Version|
EZRTools created by Clay Martin Works
50 Myrtle Street, Susquehanna, PA 18847 570-396-3121