Lines Matching refs:space
170 # Find the rightmost space that would obey our width constraint and
171 # that's not an escaped space.
173 space = available_space
175 space = text.rfind(' ', 0, space)
176 if (space < 0 or
177 self._count_dollars_before_index(text, space) % 2 == 0):
180 if space < 0:
181 # No such space; just use the first unescaped space we can find.
182 space = available_space - 1
184 space = text.find(' ', space + 1)
185 if (space < 0 or
186 self._count_dollars_before_index(text, space) % 2 == 0):
188 if space < 0:
192 self.output.write(leading_space + text[0:space] + ' $\n')
193 text = text[space+1:]