diff --git a/Project/Src/Actions/MiscActions.cs b/Project/Src/Actions/MiscActions.cs index d839f93..346b5b8 100644 --- a/Project/Src/Actions/MiscActions.cs +++ b/Project/Src/Actions/MiscActions.cs @@ -218,8 +218,7 @@ namespace ICSharpCode.TextEditor.Actions if (textArea.Document.HighlightingStrategy.Properties.ContainsKey("LineComment")) new ToggleLineComment().Execute(textArea); - else if (textArea.Document.HighlightingStrategy.Properties.ContainsKey("BlockCommentBegin") && - textArea.Document.HighlightingStrategy.Properties.ContainsKey("BlockCommentBegin")) + else if (textArea.Document.HighlightingStrategy.Properties.ContainsKey("BlockCommentBegin")) new ToggleBlockComment().Execute(textArea); } }