Regexware.com

Setting up EmEditor

 
                     

Setting up EmEditor - Page 3. Setting up plug-ins

a.) Install Auto-Complete. Then select from the menu: Tools » Properties for ALL Configurations, Keyboard. In the Category list choose Plug-ins. In the Commands list choose Auto Complete. Click in the Press New Shortcut Key field and press the Ctrl+F5 keys, click Add, OK.

b.) Install the Insert Line Comments and Delete Line Comments plug-ins. For these plug-ins to work you need to define what a single line comment is for each type of file you want to use it with. For example, you should setup the HTML configuration to use ' as the single line comment because when you open an ASP file it opens using the HTML configuration, even though stuff between <% and %> tags gets treated as VBScript.

Choose from the menu: Tools » Select Configuration » VBScript. Then select Tools » Properties for CURRENT Configuration, Highlight (2) tab, and type a ' character in the Line Comment field. (The Begin and End fields are for multiple line comments such as <!-- --> in HTML, but this plug-in only works with single line comments.)

Now setup keyboard shortcuts for the two plug-ins. Select from the menu: Tools » Properties for ALL Configurations, Keyboard. In the Category list choose Plug-ins. In the Commands list choose Insert Line Comments. Click in the Press New Shortcut Key field and press the Ctrl+F9 keys, click Add, OK. In the Commands list choose Delete Line Comments. Click in the Press New Shortcut Key field and press the Shift+F9 keys, click Add, OK.

To insert line comments, select the lines you want commented out and press Ctrl+F9. You need to be careful if some of the lines were already commented, because when you use Delete Line Comments it will remove those ones as well. If you want to stop them being removed, put a space before the comment before using the Insert Line Comments. For example:
normal code
' commented line
normal code


becomes:
'normal code
' commented line
'normal code

and when deleted, becomes:
normal code
 commented line
normal code

So the line is no longer commented. So edit the text first to be like this, with one or more spaces before the "real" comment:
normal code
 ' commented line
normal code

c.) Install Insert Sequence Numbers. Some of the plug-ins have dodgy installers, so copy this onto the clipboard to save time while installing:
"C:\Program Files\EmEditor3\PlugIns"
Past it into the Install Directory field, press OK, and it is installed.

d.) Install some other useful plug-ins such as: Preview IE, Preview Netscape, Quick Macro Utility, Sum and some spell checkers. Quick Macro Utility lets you save and read macros into the current macro. (The basic macro function only has one macro, which is overwritten when you record a new one or when you read a macro using the Quick Macro Utility.)

Setup any other shortcuts you want, such as Ctrl+Shift+b for preview IE (which is the FrontPage shortcut for preview in browser). Don't forget to click the Add button after entering your shortcut.

Now all your plug-ins are available on the menu: Tools » Plug-ins.

Page 4 >>

Page 2. Setup previous search colors
Page 3. Setting up plug-ins
Page 4. Setting up shortcuts in External Tools menu
Page 5. Using regular expressions in EmEditor Find dialog


 



REGEXWARE HOME