mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 00:45:28 +02:00
Comment adjustment.
This commit is contained in:
parent
c54d121030
commit
165279718e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue