• Forinfo

    I know it's early days but I have been trying the Swype keyboard on my iPad with iOS 8 and have encountered some strange behaviour with Editorial.

    It works very well for straightforward input. The problems come when I edit my document. Say I have a sentence "The cat sat on the mat" in the middle of a paragraph I want to edit. I want to change "sat" to "sits" so I put the cursor just before the "o" and hit backspace. Instead of just deleting the "t" at the end of "cat" the word changes into "cca" instead. If I keep deleting even weirder stuff happens, and words earlier in the sentence get mashed in too.

    This hasn't happened in any other apps I have played with so far. I love Editorial so I thought I'd point these issues out because I imagine an ios 8 update will be in the works. Of course it could be a problem on the keyboard side instead.

    Cheers

    posted in Editorial read more
  • Forinfo

    I have a script that reassigns stdout to print a file like this:

    sys.stdout = open('output_file', 'w')
    

    Later I want to reset it back to normal and I use this:

    sys.stdout = sys.__stdout__
    

    But it doesn't work. The output doesn't go the file any longer but it also doesn't go to the console. It seems to just disappear. I have to restart the app to get the output working properly again.

    I noticed this previous post where omz mentioned a special StdoutCatcher class needed to allow Pythonista to redirect output to the console. I'm guessing this is involved in why sys.__stdout__ doesn't do what it normally would.

    Is there something I can do in my script to restore stdout to (Pythonista's version of) working properly again? Can StdoutCatcher be used explicitly for this?

    Many thanks!

    posted in Pythonista read more
  • Forinfo

    Too easy! Thanks!

    posted in Pythonista read more
  • Forinfo

    Hi - just wondering if this is possible.

    I am trying to learn some basic sqllite and want to try the full text search extension. I attempted to run the example script from the python docs but it generates an AttributeError: 'sqllite 3 connection object has no attribute enable_load_extension'. The script begins like this:

    import sqlite3
    
    con = sqlite3.connect(":memory:")
    
    # enable extension loading
    con.enable_load_extension(True)
    
    # Load the fulltext search extension
    con.execute("select load_extension('./fts3.so')")
    

    I assume the issue is the one pointed out in the note below. Is it possible to turn this feature on?:

    "The sqlite3 module is not built with loadable extension support by default, because some platforms (notably Mac OS X) have SQLite libraries which are compiled without this feature. To get loadable extension support, you must modify setup.py and remove the line that sets SQLITE_OMIT_LOAD_EXTENSION."

    Thanks again for this amazing app and for any help with this question!

    posted in Pythonista read more
  • Forinfo

    Hi

    I am loving Editorial and can't wait for updates to add functionality. Two features I really feel the lack of are:

    1. Global search that can look for multiple keywords, or ideally a basic Boolean search. For example, at the moment a global search for "todo weekend" (without the quotes) only finds files with that exact phrase and misses "todo on the weekend". That is pretty crippled for such an awesome app as this! Alternatively, could a python guru out there write a modified global search workflow to take care of this?
    2. Document history. Would make life a whole lot easier to be able to hit a button and go back through the list of previously viewed documents. This is an app I will end up living in but it is a bit hard to get around when you have a lot of different notes.

    Editorial seems geared toward writing substantial articles etc but these two enhancements would make it the top of the line all around note machine - the sort of use that Drafts really lends itself to.

    Anyway, none of this is to detract from what is already an amazing app.

    Cheers

    posted in Editorial read more
  • Forinfo

    Thanks, I've found the recent docs list and it's great. Would still love a back button though. In the spirit of the app I guess the question to ask is whether it is possible to access the recent docs list via a workflow?

    posted in Editorial read more
  • Forinfo

    This is really useful.

    posted in Editorial read more
  • Forinfo

    Agree!

    posted in Editorial read more

Internal error.

Oops! Looks like something went wrong!