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.


    Syntax mode for Python?

    Editorial
    3
    5
    3111
    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.
    • simonh
      simonh last edited by

      So Editorial has a syntax mode for HTML, CSS and JavaScript, but not Python? JSON would be useful too.

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

        This has to do with App Store policies (at some point, I wasn't allowed to open Python files anymore, in order to pass review). The policies may have changed, so I might bring back the ability to edit Python files in Editorial in the future.

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

          To be more specific, the old App Store rules did not allow running code from external sources. Since Editorial supports Dropbox sync natively, it would have been against the rules to let users open and run Python scripts (because they could have come from Dropbox). For the same reason, Pythonista (which can edit and run Python scripts directly) does not have any built-in sync mechanism and can only import non-Python files.

          With the recent changes to the App Store guidelines, the rules on "no importing code" have been relaxed a bit. They still contain a few restrictions that I'm not sure Editorial and Pythonista comply with, so the app review team might still reject an Editorial/Pythonista update that allows code editing/importing.

          1 Reply Last reply Reply Quote 1
          • simonh
            simonh last edited by

            I don't see what syntax highlighting has to do with running documents as scripts. Surely they are two separate issues?

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

              @simonh Good luck explaining that to Apple's app review department... :/

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