MCPcopy Index your code
hub / github.com/python/cpython / center_insert_event

Method center_insert_event

Lib/idlelib/editor.py:1041–1043  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

1039 return self.io.filename or ""
1040
1041 def center_insert_event(self, event):
1042 self.center()
1043 return "break"
1044
1045 def center(self, mark="insert"):
1046 text = self.text

Callers

nothing calls this directly

Calls 1

centerMethod · 0.95

Tested by

no test coverage detected