[plt-scheme] MrEd - Read Only Editor?
The documentation uses the word "blocked". Maybe it would have been
better to use that here, too.
In any case, that's the intended behavior and it is relied on all over
the place in our code base.
hth,
Robby
On Tue, Mar 11, 2008 at 10:34 PM, Ben Simon <benjisimon at gmail.com> wrote:
>
>
> On Tue, Mar 11, 2008 at 11:31 PM, Robby Findler <robby at cs.uchicago.edu>
> wrote:
>
> >
> > On Tue, Mar 11, 2008 at 10:26 PM, Ben Simon <benjisimon at gmail.com> wrote:
> > >
> > > On Tue, Mar 11, 2008 at 11:21 PM, Ryan Culpepper <ryanc at ccs.neu.edu>
> wrote:
> > >
> > > >
> > > >
> > > > Ben Simon wrote:
> > > > > Hey All,
> > > > >
> > > > > Any suggestions how I can create a read only editor? That is, an
> editor
> > > that
> > > > > my code can append/insert into, but that users can't?
> > > > >
> > > >
> > > > > Thoughts? Or do I need to be creating a big 'ol multi line
> message%?
> > > >
> > > > When the editor is locked (see the 'lock' method), all modifications
> > > > silently fail. So users can type in the editor and nothing happens.
> > >
> > >
> > > Interesting. Is it considered acceptable style leverage this fact and
> write
> > > code that depends on this?
> >
> > Yes. Why wouldn't it be?
> >
>
>
>
> When I heard "silently fail" I wasn't sure if that would always be the case.
> What if the next version of the code base decides that it shouldn't silently
> fail. The silently fail part seemed like it could be anun-expected feature.
>
> Though, I was probably reading too much into this.
>
> -Ben
>
>
>
> --
> I'm so done with my commute. See what I'm up to now:
> www.ideas2executables.com
> The Blog: benjisimon.blogspot.com
>