<div class="gmail_quote">On Tue, Mar 11, 2008 at 11:31 PM, Robby Findler <<a href="mailto:robby@cs.uchicago.edu">robby@cs.uchicago.edu</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">On Tue, Mar 11, 2008 at 10:26 PM, Ben Simon <<a href="mailto:benjisimon@gmail.com">benjisimon@gmail.com</a>> wrote:<br>><br>> On Tue, Mar 11, 2008 at 11:21 PM, Ryan Culpepper <<a href="mailto:ryanc@ccs.neu.edu">ryanc@ccs.neu.edu</a>> wrote:<br>
><br>> ><br>> ><br>> > Ben Simon wrote:<br>> > > Hey All,<br>> > ><br>> > > Any suggestions how I can create a read only editor? That is, an editor<br>> that<br>> > > my code can append/insert into, but that users can't?<br>
> > ><br>> ><br>> > > Thoughts? Or do I need to be creating a big 'ol multi line message%?<br>> ><br>> > When the editor is locked (see the 'lock' method), all modifications<br>
> > silently fail. So users can type in the editor and nothing happens.<br>><br>><br>> Interesting. Is it considered acceptable style leverage this fact and write<br>> code that depends on this?<br><br></div>
Yes. Why wouldn't it be?<br><font color="#888888"></font></blockquote>
<div> </div>
<div> </div>
<div>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 <em>silently fail</em> part seemed like it could be anun-expected feature.</div>
<div> </div>
<div>Though, I was probably reading too much into this.</div>
<div> </div>
<div>-Ben</div></div><br clear="all"><br>-- <br>I'm so done with my commute. See what I'm up to now: <a href="http://www.ideas2executables.com">www.ideas2executables.com</a><br>The Blog: <a href="http://benjisimon.blogspot.com">benjisimon.blogspot.com</a><br>