MCPcopy Create free account
hub / github.com/ipython/ipython / cursor_in_leading_ws

Function cursor_in_leading_ws

IPython/terminal/shortcuts.py:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24@undoc
25@Condition
26def cursor_in_leading_ws():
27 before = get_app().current_buffer.document.current_line_before_cursor
28 return (not before) or before.isspace()
29
30
31def create_ipython_shortcuts(shell):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected