Macro to stupefy quotes
See forum topic: http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=19&forum=4&post_id=49
I took this macro and modified it to replace *all* smart quotes, both single and double with their ' and " counterparts. It previously only worked on paired single quotes, which rarely occur in English. Macro follows:
document.selection.Replace("‘","\x27",eeFindNext | eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp);
document.selection.Replace("’","\x27",eeFindNext | eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp);
document.selection.Replace("“","\x22",eeFindNext | eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp);
document.selection.Replace("”","\x22",eeFindNext | eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp);
Your Download will start in 5 seconds...
StupefyQuotes.jsee | |
---|---|
File Size | 246 B |
Date | February 21, 2008 |
Downloads | 1879 |
Author | Emurasoft |
License | Freeware |