branch : pmacs2
This commit is contained in:
moculus 2007-10-31 21:40:04 +00:00
parent 6672a4290b
commit b72aa65aa6
1 changed files with 2 additions and 2 deletions

View File

@ -701,7 +701,7 @@ class WrapLine(Method):
w.buffer.delete_line(cursor.y)
w.buffer.insert_lines(Point(0, cursor.y), lines)
w.goto(Point(x, y))
class WrapParagraph(WrapLine):
class WrapParagraph2(WrapLine):
limit = 80
empty_re = regex.whitespace
prefix_re = regex.leading_whitespace
@ -736,7 +736,7 @@ class WrapParagraph(WrapLine):
w.buffer.delete(Point(x1, y1), Point(x2, y2))
w.buffer.insert_lines(Point(0, c.y), lines)
w.goto(Point(x, y))
class WrapParagraph2(Method):
class WrapParagraph(Method):
limit = 80
wrapper = WrapLine
spacer = InsertSpace