MCPcopy Create free account
hub / github.com/JacquesLucke/code_autocomplete / get_wrapped_lines

Method get_wrapped_lines

graphics.py:141–151  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

139 return draw_lines
140
141 def get_wrapped_lines(self):
142 lines = []
143 text = self.text
144 while text != "":
145 next_line = self.get_text_to_line_end(text)
146 lines.append(next_line)
147 text = text[len(next_line):]
148
149 for i in range(1, len(lines)):
150 lines[i] = lines[i].strip()
151 return lines
152
153 def get_text_to_line_end(self, text):
154 index = 1

Callers 1

get_draw_linesMethod · 0.95

Calls 1

get_text_to_line_endMethod · 0.95

Tested by

no test coverage detected