Slight performance improvement
This commit is contained in:
parent
806525c3da
commit
621e4e9e4d
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ function toggleCommentSelection(bp, startLine, endLine, commentRegex)
|
||||||
for line = startLine, endLine do
|
for line = startLine, endLine do
|
||||||
if not isCommented(bp, line, commentRegex) then
|
if not isCommented(bp, line, commentRegex) then
|
||||||
allComments = false
|
allComments = false
|
||||||
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue