Given the commented code
#if ($foo) {
# bar;
#}
If you select these 4 lines, and Toggle Comment (Ctrl+/), they get commented again, i.e.,
##if ($foo) {
## bar;
#
##}
instead of getting uncommented, i.e,.
if ($foo) {
bar;
}
The comment lexer should ignore whitespace-only lines.
Logged In: YES
user_id=661682
Originator: YES
Another bug is that if a comment character has whitespace to its left, the toggle will comment the same line again.