Javascript debugger

Koos Vriezen koos.vriezen at xs4all.nl
Sun Feb 16 15:20:08 GMT 2003


On Mon, 17 Feb 2003, Peter Kelly wrote:

> On Sun, 16 Feb 2003, Koos Vriezen wrote:
> >
> > That's really great! If you don't mind, I would like to finish the
> > evaluation sheet I've added. Now it evaluates from the beginning to the
> > cursor and it should be the whole line. Maybe add evalute selected text
> > also when pressing Enter.
>
> Sounds good. In some ways I like the current mechanism where it just
> evaluates the one line, because it can be used in a similar manner to the
> command-line or python. But it is awkward for running larger amounts of
> code e.g. defining new functions. So I'm still a little unsure about the
> best way to handle this - I'll be interested to see your version.

I think you misunderstood, it stays that way (eval one line). But it was
unfinished, eg a line 'thi|s' where | is the cursor evaluated 'thi' and
moving s to the next line.

I don't think we should bother about multiline edit before evaluation
(other than highlighting multible lines and pressing enter). Authors
should use ; and not \n.

Koos





More information about the kfm-devel mailing list