Makes sense! And prettier, too. Thx.

On Jun 20, 1:36 pm, Pierre Thibault <pierre.thibau...@gmail.com>
wrote:
> 2011/6/20 weheh <richard_gor...@verizon.net>
>
> > @Anthony, Unfortunately, this code from the other thread does not work
> > for my Eclipse installation:
>
> > if 0:
> >    from gluon.dal import DAL
> >    from gluon.tools import Auth
> >    db = DAL()
> >    auth = Auth()
>
> > The only thing that has worked so far is Pierre's implementation,
> > which is (no offense) unbelievably ugly (but effective).
>
> To ease things, it is possible to make if fold-able: Window > Preferences >
> Pydev > Editor > Code folding > Fold if statements. Then you click in the
> gutter to reduce in only one line.
>
> --
>
> A+
>
> -------------
> Pierre
> My blog and profile
> (http://pierrethibault.posterous.com)<http://pierrethibault.posterous.com>
> YouTube page 
> (http://www.youtube.com/user/tubetib)<http://www.youtube.com/user/tubetib>
> Twitter (http://twitter.com/pierreth2) <http://twitter.com/pierreth2>

Reply via email to