On 9/2/2013 4:51 PM, Fidel N wrote:
Yes, I did also that search from what I could pickup searching here in the google groups, and that got me into:

    def guessExternalEditor(c=None): in leopyref.leo

But I dont quite understand what should I touch there, since what I would expect would be a path.. I can guess I have to change something there:

    if platform.startswith('win'):
            return "notepad"


Wow, that's just kind of... really bad. That should be fixed, or at least configurable with a @string node in myLeoSettings...
But, a path will do? Instead of the name of the previous app? I just tried to change that for "notepad++" and it wont work...

That's due to the way Windows handles paths - notepad.exe is within the %system% folder (usually "system32") so it works just fine. I suspect that a full path to notepad++.exe (or whatever the executable is called) would work just fine.
So as a result I still dont understand very well what to change in that code or why it is in leopyref instead of leosettings =\

Yeah... me neither. It really should be configurable with an @string node. Bug report?

-->Jake

--
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to