Lines Matching refs:self
15 def apply(self, event=None):
16 head, tail, chars, lines = self.formatter.get_region()
19 lines[pos] = format_line(self, line)
20 self.formatter.set_region(head, tail, chars, lines)
37 def __init__(self, editwin):
39 self.editwin = editwin
40 self.text = editwin.text
41 self.formatter = editwin.fregion
49 def z_in_event(self, line):
55 return f'{self.ztext}{line}'
58 def z_out_event(self, line):
64 zlength = 0 if not line.startswith(self.ztext) else len(self.ztext)