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.


    Searching within files

    Editorial
    4
    5
    3662
    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.
    • WyldKard
      WyldKard last edited by

      While there are a lot of Dropbox-based writing apps, few (like Notesy) will search within plaintext files. It'd be great if Editorial could do this too, since it's become the primary writing app of a lot of people.

      Update: Oops, just found the Global Search workflow! It's not recursive, but I guess it does content search. Now to find a way to combine it with a filename search...

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

        It's not recursive, but I guess it does content search. Now to find a way to combine it with a filename search...

        It is recursive, starting from the folder of the currently-open document.

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

          Ah, I think the files in my sub-folders didn't have supported extensions, despite being plaintext, so they weren't coming up under the Global Search Results. Works now - thanks!

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

            @WyldKard What extensions DID they have? If the list of extensions were, ahem, extensible :-) , maybe @omz would extend it. But that would depend, at least, on how general they were.

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

              I think you can just go into the python code ("do the search" component in the workflow) and have at it...
              If my memory serves I added the last entry myself, before taking a different approach to tackling TaskPaper functionality.

              Line 18: valid_extensions = set(['.txt', '.md', '.markd', '.text', '.mdown', '.taskpaper'])

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