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.


    Super minor editor bug (in both 3.3 and 3.4)

    Pythonista
    1
    1
    92
    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.
    • B
      bensaccount last edited by

      [Sorry if there's a minor bug thread somewhere- I didn't see one. I would have put this in the 3.4 thread, but it's not specific to 3.4]

      Using (or abusing, as some may argue) triple quotes as an f-string messes up the formatting in the editor. It treats the closing quotes like they're starting quotes.

      f"""
      multi
      line
      string
      """
      (code here will look like a comment now)
      

      Not a bit deal, but Python allows this for strings in general, not just for comments.

      Just checked this on an old iPad with 3.3 still installed- same behavior there.

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