Skip to content

Commit d3bea24

Browse files
committed
Uncomment identation fix
1 parent 344dcb3 commit d3bea24

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

app/src/processing/app/ui/Editor.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2052,11 +2052,7 @@ protected void handleCommentUncomment() {
20522052
continue; //ignore blank lines
20532053
if (commented) {
20542054
// 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-
}
2055+
textarea.select(location, location + prefixLen);
20602056
textarea.setSelectedText("");
20612057
} else {
20622058
// add a comment

0 commit comments

Comments
 (0)