On Fri, Feb 20, 2004 at 05:59:09PM +0000, John Levon wrote:
> On Fri, Feb 20, 2004 at 06:27:38PM +0100, Andre Poenitz wrote:
> 
> > > Hmm, a concrete case though: if a document is readonly, the checkboxen
> > > (?) should be present but disabled.
> > 
> > Which ones?
> > 
> > [Nevertheless, any place that has the power to modify a document (say
> > an LFUN_SELFINSERT handler also has the power to lookup the document's
> > readonly flag. So the corresponding getStatus (which has the same
> > information available as the lfun handler itself) function has this
> > knowledge, too. I don't think this is one of the corner cases...]
> o
> I did a lot of work to centralise the handling of readonly lfuns vs.
> mutating ones. It simplified a lot and fixed a lot of bugs.
> 
> Please only introduce read-only tests in other places if you *have* to

I wasn't even thinking about this, but Jean-Marc came up with this
example. As far as I can tell the read-only tests do fine right noiw.

Andre'
-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)

Reply via email to