omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Display line #s in editorial python editor

    Editorial
    3
    4
    2659
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • robopu
      robopu last edited by

      so it took me awhile to get used to the editor in the editorial python console but i've learned to live with some shortcomings due to the power python scripting gives me on my handheld.

      that said, just thought i'd check if there's some way to get some extra functionality

      1. is there a way to either disply line number or goto a line number in the code?? or even just have the line number at the bottom of the screen like in vim?

      debugging a program is a royal pita b/c though the console will spit out errors with line numbers, b/c there's no way to actually see them in my source , they're often kind of useless. i often have to constantly insert and remove put bogus statments in my code to break the code until i can narrow in on the offending original error line if that makes sense.

      tell me there's a way to do this and i just don't know :)

      1. is there a way to organize python scripts in the console or my local folder, including saving them in type .py with py syntax so that i can easily access and reuse multiple scripts in the console? i don't see any documentation on this?

      as of now, i work in the console editor and periodically have to copy paste back to another document in my local folder and vice versa to back up and get a new script into the console editor? that's very time consuming and prone to error! what's worse is that for some reason even if i open a new .txt file to paste my py scripts into, it wants to treat them as markdown and they're horrible to read and edit in the main editor..?

      maybe there's a way to work with and share the local document files and current (and i think only single) python console editor buffered file that i just don't know about?

      thx

      1 Reply Last reply Reply Quote 0
      • Webmaster4o
        Webmaster4o last edited by

        You should really get Pythonista. It provides this functionality. You can edit entire script files and run them all at once.

        1 Reply Last reply Reply Quote 0
        • ccc
          ccc last edited by ccc

          I agree... Get Pythonista... It is GREAT! It will allow you to hack without worrying about your Editorial files getting messed up.

          1 Reply Last reply Reply Quote 0
          • robopu
            robopu last edited by

            i finally bought it... will get around to putting it through it's paces in due time..thx for the help

            1 Reply Last reply Reply Quote 2
            • First post
              Last post
            Powered by NodeBB Forums | Contributors