diff --git a/method.py b/method.py index eae956e..b3f2a14 100644 --- a/method.py +++ b/method.py @@ -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