parent
6672a4290b
commit
b72aa65aa6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue