Skip to content

Commit

Permalink
Reset the AI completions when the cursor position changes
Browse files Browse the repository at this point in the history
Also reset the other stuff because I think that's correct.
  • Loading branch information
asmeurer committed Sep 8, 2024
1 parent c41feca commit 1f2dbce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mypython/mypython.py
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,7 @@ def is_buffer_multiline():
# is fixed.
complete_while_typing=False,
on_text_changed=on_text_changed,
on_cursor_position_changed=on_text_changed,
tempfile_suffix='.py',
accept_handler=accept,
session=self,
Expand Down

0 comments on commit 1f2dbce

Please sign in to comment.