On Mon, Feb 3, 2014 at 5:50 AM, Jacob Peck <[email protected]> wrote:

> g.app.db['LEO_EDITOR'] = 'C:\\Program Files\\path\\to\\NoteTab.exe'
>
> (Notice the use of \\ instead of \... Python can be picky about Windows
> paths sometimes -- \\ prevents \ from escaping characters, which causes
> some issues.)
>

Simpler to use `r` for raw, or forward slashes.

g.app.db['LEO_EDITOR'] = 'C:/Program Files/path/to/NoteTab.exe'

g.app.db['LEO_EDITOR'] = r'C:\Program Files\path\to\NoteTab.exe'

g.app.db is good for testing, it's probably more {insert word I'm searching
for} to use @settings in myLeoSettings.leo:

@string external_editor = r'C:\Program Files\path\to\NoteTab.exe'

@string external_editor = 'notetab'  # or if it's in system PATH


-matt

-- 
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