Lines Matching defs:line

31      * Preprocesses the list of diffs so that new line characters appear only at the end of
36 * LinkedList of diffs where new line character appears only on the end of
69 String line = "";
79 line = processDiff(diff, lineNums, lines, line, i, delSpan, isLastDiff);
80 if (line.equals("")) {
86 // If the line is currently empty and this insertion is the entire line, the
87 // expected line is absent, so it has no line number.
89 lineNums.add(line.equals("") ? DONT_PRINT_LINE_NUMBER : i++);
90 lines.add(line);
91 line = "";
96 line = processDiff(diff, lineNums, lines, line, i, eqlSpan, isLastDiff);
97 if (line.equals("")) {
110 String line = "";
120 line = processDiff(diff, lineNums, lines, line, i, insSpan, isLastDiff);
121 if (line.equals("")) {
127 // If the line is currently empty and deletion is the entire line, the
128 // actual line is absent, so it has no line number.
130 lineNums.add(line.equals("") ? DONT_PRINT_LINE_NUMBER : i++);
131 lines.add(line);
132 line = "";
137 line = processDiff(diff, lineNums, lines, line, i, eqlSpan, isLastDiff);
138 if (line.equals("")) {
147 * Generate or append a line for a given diff and add it to given collections if necessary.
153 * @param line
156 * @param forceOutputLine Force the current line to be output
160 LinkedList<String> lines, String line, int i, String begSpan, boolean forceOutputLine) {
167 line += begSpan + diff.text.replace(" ", "&nbsp;&nbsp;")
169 lines.add(line);
170 line = "";
172 line += begSpan + diff.text.replace(" ", "&nbsp;&nbsp;") + endSpan;
175 return line;
193 html.append(" <td class=\"line\">");
206 html.append(" <td class=\"line\">");