Gfa_CommentBlock
Gfa_UnCommentBlock
Gfa_CommentBlock comments of a block of selected lines with the ° comment mark to differentiate the comments from a normal commented line. After commenting the line indention is removed.
Gfa_UnCommentBlock removes °comments of a block of selected lines. Only lines starting with °comments are affected, other lines are not processed. The IDE does not define keyboard shortcuts.
// Define keyboard shortcuts for block commenting
Sub Gfa_Ex_C // Shift+Ctrl+C - CommentBlock
If GfaLine <> Gfa_SelLine
Gfa_CommentBlock
EndIf
EndSub
Sub Gfa_Ex_U // Shift+Ctrl+U - UnCommentBlock
Gfa_UncommentBlock
EndSub
{Created by Sjouke Hamstra; Last updated: 07/10/2014 by James Gaite}