-- compatible with WinEdt version(s) 7, 6 --
This macro "block un/comments" lines containing the selected text. It acts like many other code editors, commenting out uncommented lines and uncommenting commented lines in designated files (e.g., TeX, EDT). It is a no-op in designated other files (e.g., HTML).
To install this macro, copy this file to %b\Macros\text and assign it a shortcut of your choice (e.g., Ctrl+Q in keeping with many other code editors).
The comment string can be customized per mode. Please refer to the macro file for details.
Macro contributed by Geoffrey Jones <geofj22gmail.com>