Replies: 2 comments 3 replies
-
|
Something like this should jump to the bottom, but there is currently no way to trigger a script when a file is opened. import editor
editor.set_selection(len(editor.get_text())) |
Beta Was this translation helpful? Give feedback.
-
|
You could define automatically at Pythonista start an additional button, for instance ⏬ at left of the "run" button (right arrow triangle) and tapping this button, when you are in edit mode of a file, would execute the two lines script of @omz This code is based on an initial script of @jsbain , obviously one of the Pythonista's gurus create pythonista_startup.py in Python Modules/site-packages (user) with and create My_End_Button_in_TitleBar.py in same directory with |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Is there a method or a setting to always start at the bottom of a file that is opened in the editor? Or, equivalently, remember the cursor position in the editor on a per-file basis? I understand I can long-press the scrollbar on the right and drag to the bottom fairly quickly, but I was wondering if there is anything even quicker. I could use keyboard shortcuts (e.g. ctrl+down) but I’m not using an external keyboard. I looked through the documentation for the
editorpackage to see if there was a “jump_to” method or something similar, but no dice. Thank you!Beta Was this translation helpful? Give feedback.
All reactions