Browse Source

V3001 identical subexpressions

pull/5/head
Gerhard Olsson 7 years ago
parent
commit
3c96901316
  1. 3
      Project/Src/Actions/MiscActions.cs

3
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);
}
}

Loading…
Cancel
Save