EmEditor Macros

Invisible Blocks

Here's where I keep my EmEditor macros.  I'm posting them here in case you find them interesting.  You're free to use them, but I'm not responsible if they do something nasty to you, and all that.


This one's handy for cleaning out Smart Quotes, ©, and other fancy characters. It's most useful when you're copying code snips from somewhere, and somewhere along the way, MS Office has "smartened" all the single- and double-quotes.


This one's a bit general, a bit powerful, and a bit dangerous.  It prompts you to type in some JavaScript code, and then sends each line of the buffer to your script, replacing each line with whatever your script returns.

For example, if you type in line.toUpperCase(), each line will be converted to all caps.

Invisible Blocks files

Invisible Blocks blog