'------------------------------------------------------------------------------ 'FILE DESCRIPTION: New Macro File '------------------------------------------------------------------------------ Sub DoxyComment() 'DESCRIPTION: adds a three-slash doxygen-style comment (Recommended shortcut: Ctrl-#) 'Begin Recording ActiveDocument.Selection = "/// " 'End Recording End Sub Sub DoxyCommentPrev() 'DESCRIPTION: Adds a Doxygen-style comment for an inline documentation ofter the member (Recommended shortcut: Ctrl-Shift-#) 'Begin Recording ActiveDocument.Selection = "///< " 'End Recording End Sub Sub DoxyCommentNL() 'DESCRIPTION: Adds a newline and a doxygen-style comment. great for block comments when assigned to Ctrl-Return 'Begin Recording ActiveDocument.Selection.NewLine ActiveDocument.Selection = "/// " 'End Recording End Sub Sub DoxyDocFunction() 'DESCRIPTION: provide a header for documenting a function. Assign to: Ctrl-Shift-F 'Begin Recording ActiveDocument.Selection = "// ==========================================================" ActiveDocument.Selection.NewLine ActiveDocument.Selection = "// " ActiveDocument.Selection.NewLine ActiveDocument.Selection = "///" ActiveDocument.Selection.NewLine ActiveDocument.Selection = "/// Description" ActiveDocument.Selection.WordLeft dsExtend ActiveDocument.Selection = "brief description. description" ActiveDocument.Selection.NewLine ActiveDocument.Selection = "/// " ActiveDocument.Selection.NewLine ActiveDocument.Selection = "/// \param name1 descr" ActiveDocument.Selection.NewLine ActiveDocument.Selection = "/// \param name2 descr" ActiveDocument.Selection.NewLine ActiveDocument.Selection = "///" ActiveDocument.Selection.NewLine ActiveDocument.Selection.LineUp dsMove, 5 ActiveDocument.Selection.WordRight ActiveDocument.Selection.EndOfLine dsExtend 'End Recording End Sub