1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 00:45:28 +02:00

Comment adjustment.

This commit is contained in:
Sergey Prigogin 2010-04-18 03:30:28 +00:00
parent c54d121030
commit 165279718e

View file

@ -127,8 +127,8 @@ public final class ToggleCommentAction extends TextEditorAction {
int lineCount= 0;
int[] lines= new int[regions.length * 2]; // [startline, endline, startline, endline, ...]
// For each partition in the text selection, figure out what are the startlines and endlines for
// each partition. Count the number of lines that are selected.
// For each partition in the text selection, figure out the startline and endline.
// Count the number of lines that are selected.
for (int i = 0, j = 0; i < regions.length; i++, j+= 2) {
// start line of region
lines[j]= getFirstCompleteLineOfRegion(regions[i], document);