• sol144

    This code below works great using editorial. It will select text on given positions and scroll the page to the selected text.

    import editor
    # assuming the text >= 910
    editor.set_selection(900,910)
    

    However, if I run that code using pythonista the page only stay still and not scrolling automatically

    Is there any other way to scroll the page automatically to cursor position or selected text in pythonista?

    posted in Pythonista read more
  • sol144

    @JonB, wow thank you so much, case solved 😇

    import editor
    # assuming the text >= 910
    editor.replace_text(900,900,'')
    editor.set_selection(900,910)
    

    Thank you so much for providing answer and bonus information.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!