From 165279718ed501598a2651d91c5f69e9679b3532 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sun, 18 Apr 2010 03:30:28 +0000 Subject: [PATCH] Comment adjustment. --- .../eclipse/cdt/internal/ui/editor/ToggleCommentAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/ToggleCommentAction.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/ToggleCommentAction.java index e5816aad5d1..a57717c8a1c 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/ToggleCommentAction.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/ToggleCommentAction.java @@ -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);