MCPcopy
hub / github.com/mitmproxy/mitmproxy / start_edit

Method start_edit

mitmproxy/tools/console/grideditor/base.py:189–195  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

187 return self._insert(min(self.focus + 1, len(self.lst)))
188
189 def start_edit(self):
190 col = self.editor.columns[self.focus_col]
191 if self.lst and not col.subeditor:
192 self.edit_row = GridRow(
193 self.focus_col, True, self.editor, self.lst[self.focus]
194 )
195 self._modified()
196
197 def stop_edit(self):
198 if self.edit_row and self.edit_row.edit_col:

Callers 3

_insertMethod · 0.95
keypressMethod · 0.80
keypressMethod · 0.80

Calls 2

_modifiedMethod · 0.95
GridRowClass · 0.85

Tested by

no test coverage detected