A comment handler to toggle line comments, this means that if a comment already exists on a line then toggling it will remove the comment, if the line in question is not already commented then it will not be commented. If multiple lines are selected each will be commented separately. The handler first attempts to find a {@link LineCommentingStrategy} for a line, if it cannot find one then it will try and find a {@link BlockCommentingStrategy} towrap just that line in.
If a great number of lines are being toggled then a progress dialog will be displayed because this can be a timely process
|
|
|
|