{
selection = selection.growToIncludeLines("^\\s*" + commentPrefix + ".*$");
}
else
{
selection = selection.shrinkToNonEmptyLines();
selection = selection.extendToLineStart();
selection = selection.extendToLineEnd();
}
if (selection.isEmpty())
return;