Home | History | Annotate | Download | only in extensions

Lines Matching full:line

40     """Represents a range of line numbers (1-based)"""
60 """Returns an |EnumRange| object representing the line extent of the
61 HistogramValue enum members in |contents|. The line numbers are 1-based,
62 compatible with line numbers returned by AffectedFile.ChangeContents().
71 line_num = 1 # Line numbers are 1-based
72 for line in contents:
73 if line.startswith(self.ENUM_START_MARKER):
75 elif line.startswith(self.ENUM_END_MARKER):
93 "definition (\"%s\" at line %d) *after* its end "
94 "(\"%s\" at line %d). Something is not quite right."
99 self.LogInfo("Line extent of |HistogramValue| enum definition: "
139 edits changes. The |line_text| part is the text at line |line_start|.
157 self.LogDebug("Line change at line number " + str(line_number) + ": " +
186 """Return a list of of line numbers (1-based) corresponding to lines
189 contain contiguous line number entries. To prevent false positives, we
190 return deleted line numbers *only* from diff chunks which decrease the size
201 for line in affected_file.GenerateScmDiff().splitlines():
205 r'^@@ \-([0-9]+)\,([0-9]+) \+([0-9]+)\,([0-9]+) @@', line)
212 # Return line numbers only from diff chunks decreasing the size of the
216 if not line.startswith('-'):
218 if deleting_lines and line.startswith('-') and not line.startswith('--'):
235 self.EmitWarning("It looks like you are deleting line(s) from the "
263 self.LogDebug("Edit range in new file at starting at line number %d and "
264 "ending at line number %d: valid=%s"
268 self.EmitWarning("The change starting at line %d and ending at line "