- Posted by
- Ok, but I think I have to write a macro for adding a block comment; I write this: InsertMode ColumnModeOff HexOff PerlReOn Copy "/*" Paste "*/" But I would rather prefer to avoid to copy the selected text in the clipboard. Is there any other way to do that? I would also uncomment the text if no text...Posted in Macros
-   Topics
-   Views
- mathmax
Jun 13, 2007
- Hi, thank you very much for the macro. It works fine. However, I still have a little problem. The macro doesn't work with instructions such as "do while" which are composed of several words. Is it possible to modify the macro so that it works with such instructions too ? Thank you for you helpPosted in Macros
-   Topics
-   Views
- mathmax
May 28, 2007
- Hello, I've made a macro that enclose the instructions if, for, while,... For each of them, I've created a template. Then, I created a macro : HexOff Key LEFT ARROW SelectWord Find "if" Replace All SelectText "if" IfFound Template 0 Else Find "case" Replace All SelectText "case" IfFound Template 1 E...Posted in Macros
-   Topics
-   Views
- mathmax
May 25, 2007