Lines Matching refs:editwin
31 def __init__(self, editwin): argument
32 self.editwin = editwin
40 self.editwin = None
55 text = self.editwin.text
56 first, last = self.editwin.get_selection_indices()
215 def __init__(self, editwin): argument
216 self.editwin = editwin
228 text = self.editwin.text
229 first, last = self.editwin.get_selection_indices()
251 text = self.editwin.text
270 raw, effective = get_line_indent(line, self.editwin.tabwidth)
271 effective = effective + self.editwin.indentwidth
272 lines[pos] = self.editwin._make_blanks(effective) + line[raw:]
282 raw, effective = get_line_indent(line, self.editwin.tabwidth)
283 effective = max(effective - self.editwin.indentwidth, 0)
284 lines[pos] = self.editwin._make_blanks(effective) + line[raw:]
350 parent=self.editwin.text,
351 initialvalue=self.editwin.indentwidth,
359 def __init__(self, editwin): argument
360 self.editwin = editwin
363 editwin = self.editwin
364 usetabs = editwin.usetabs
371 parent=editwin.text):
372 editwin.usetabs = not usetabs
375 editwin.indentwidth = 8
379 editwin = self.editwin
383 parent=editwin.text,
384 initialvalue=editwin.indentwidth,
387 if new and new != editwin.indentwidth and not editwin.usetabs:
388 editwin.indentwidth = new
393 def __init__(self, editwin): argument
394 self.editwin = editwin
397 text = self.editwin.text
398 undo = self.editwin.undo
412 and not hasattr(self.editwin, 'interp')): # & is not Shell.