Home | History | Annotate | Download | only in src

Lines Matching refs:lines

856   // Default is ten lines starting five lines before the current location.
859 // line. Set it to start from 5 lines before the current location.
862 // source start line. Set it to start from 1 lines before the current
868 var lines = 10;
874 from = Debug.State.displaySourceStartLine - lines;
877 lines = parseInt(args[1]) - from + 1; // inclusive of the ending line.
882 Debug.State.displaySourceEndLine = from + lines - 1;
883 var sourceArgs = '' + from + ' ' + lines;
893 // Default is ten lines starting five lines before the current location.
895 var lines = 10;
901 lines = parseInt(args[1]);
907 if (lines < 0) lines = 10;
912 request.arguments.toLine = from + lines;
1563 print('source [from line [num lines]]');
2164 var lines = source.split('\n');
2165 var maxdigits = 1 + Math.floor(log10(from_line + lines.length));
2170 for (var num = 0; num < lines.length; num++) {
2172 if (num == (lines.length - 1) && lines[num].length == 0) {
2189 result += lines[num];
2223 result += ' (lines: ';