We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 344dcb3 commit d3bea24Copy full SHA for d3bea24
1 file changed
app/src/processing/app/ui/Editor.java
@@ -2052,11 +2052,7 @@ protected void handleCommentUncomment() {
2052
continue; //ignore blank lines
2053
if (commented) {
2054
// remove a comment
2055
- if (lineText.trim().startsWith(prefix + " ")) {
2056
- textarea.select(location, location + prefixLen + 1);
2057
- } else {
2058
- textarea.select(location, location + prefixLen);
2059
- }
+ textarea.select(location, location + prefixLen);
2060
textarea.setSelectedText("");
2061
} else {
2062
// add a comment
0 commit comments