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.
2 parents 7fbd4a1 + d3bea24 commit 34c5a63Copy full SHA for 34c5a63
1 file changed
app/src/processing/app/ui/Editor.java
@@ -2082,11 +2082,7 @@ protected void handleCommentUncomment() {
2082
continue; //ignore blank lines
2083
if (commented) {
2084
// remove a comment
2085
- if (lineText.trim().startsWith(prefix + " ")) {
2086
- textarea.select(location, location + prefixLen + 1);
2087
- } else {
2088
- textarea.select(location, location + prefixLen);
2089
- }
+ textarea.select(location, location + prefixLen);
2090
textarea.setSelectedText("");
2091
} else {
2092
// add a comment
0 commit comments