On Tue, 03 Sep 2013 11:45:23 -0400
Jacob Peck <[email protected]> wrote:

> On 9/3/2013 11:21 AM, Terry Brown wrote:
> > On Tue, 03 Sep 2013 09:23:08 -0400
> > Jacob Peck <[email protected]> wrote:
> >
> >> Just a curious question.  I could always rely on the filesystem to mark
> >> a file read-only, but I'm just wondering if there's a mechanism within
> >> Leo to mark a file as read-only?
> > Remove the @edit or @file or whatever?  So you can change it in Leo,
> > but the changes won't be written to the file system.
> >
> > Cheers -Terry
> >
> Err, sorry - I meant to make a .leo outline as read-only.
> 
> I blame the weak coffee this morning :p

:-)

c.mFileName = "/nope"

or some other unwritable path - very kludgy, but does stop you writing
the file :-)

Cheers -Terry

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