Lines Matching refs:data
58 data = text.get(first, last)
59 comment_header = get_comment_header(data)
61 first, last, comment_header, data = \
64 newdata = reformat_comment(data, limit, comment_header)
66 newdata = reformat_paragraph(data, limit)
69 if newdata != data:
120 def reformat_paragraph(data, limit):
121 """Return data reformatted to specified width (limit)."""
122 lines = data.split("\n")
128 return data
156 def reformat_comment(data, limit, comment_header):
157 """Return data reformatted to specified width with comment header."""
161 data = "\n".join(line[lc:] for line in data.split("\n"))
165 newdata = reformat_paragraph(data, format_width)