Hi Mark, thanx for the detailed reply. no, I hadn't read your article yet, although I had it already bookmarked, and now I realize that it deals exactly with this issue. My favorite editor that I use whenever possible is UltraEdit (don't know if you know it, a good windows ASCII/Unicode/Hex editor, a bit like BBEdit for PC), and I think I will check out how good it "gets along" with DMX 2004 and how much of your article can be transfered to it. But I will give Dreamweaver a fair chance, too ;-)
thanx again, valentin ----- Original Message ----- From: "Mark R. Jonkman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 13, 2004 12:35 AM Subject: RE: <lingo-l> Merits of JS in Director > Hi Valentin > > The script formatting for JS Syntax is a bit more rudimentary then that of > Lingo. But it does remember tab depth level for opening and closing the > curly braces and does color the lingo keywords. You are right though, if you > want more coloring and formatting control then you might wish to look at an > external editor. I've written an article that provides some information on > this exact issue. There were a variety of reasons that Macromedia didn't or > couldn't put a lot of effort into this area. But there are still some uses > for the internal editor and that is to set breakpoints etc for debugging. > > Not sure if you have read it or not: > > http://www.macromedia.com/devnet/mx/director/articles/js_syntax.html > > might provide a bit of information on using an external editor. It has a > little utility that you can download as well as Rob Walch's Dreamweaver > extension for using a non-standard JSL extension. It colors both JS and > Lingo extensions of the JS Syntax language. It also offers autocomplete and > code hinting for both JS Syntax and standard Lingo (LS files). > > The utility is specifically for JS syntax scripts but can easily be modified > to use the LS extension. Maybe a half dozen small code changes and your > there. My current preference is to use JSL extensions and Dreamweaver plus > Rob Walch's Dreaweaver extension for editing JS Syntax files. > > Sincerely > Mark R. Jonkman > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Valentin > > Schmidt > > Sent: Thursday, February 12, 2004 4:29 PM > > To: [EMAIL PROTECTED] > > Subject: Re: <lingo-l> Merits of JS in Director > > > > > > I've got the impression that syntax coloring and auto indent for JS code > > are still very rudimentary (no coloring of important key words like > > "function", "for",..., no auto indenting for opened and closed curly > > brackets etc - maybe someone could confirm this?). Guess this might be > > an obstacle for switching to JS (or a reason to check out using an > > external editor). > > > > valentin > > > > > > ----- Original Message ----- > > From: "Colin Holgate" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, February 12, 2004 11:10 PM > > Subject: RE: <lingo-l> Merits of JS in Director > > > > > > > >I've been meaning to run some tests "when I get time." For now, I > > choose > > > >to believe that there is no significant speed difference. > > > > > > > > > It isn't significant, but it is easy to show: > > > > > > on timeit > > > t = "one two three" > > > m = the milliseconds > > > repeat with a = 1 to 100000 > > > c = char 2 of word 2 of t > > > end repeat > > > m1 = the milliseconds - m > > > m = the milliseconds > > > repeat with a = 1 to 100000 > > > c = t.word[2].char[2] > > > end repeat > > > m2 = the milliseconds - m > > > put m1 && m2 > > > end > > > > > > timeit > > > -- "824 1028" > > > > > > [To remove yourself from this list, or to change to digest mode, go to > > http://www.penworks.com/lingo-l.cgi To post messages to the list, email > > [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). > > Lingo-L is for learning and helping with programming Lingo. Thanks!] > > > > [To remove yourself from this list, or to change to digest mode, > > go to http://www.penworks.com/lingo-l.cgi To post messages to > > the list, email [EMAIL PROTECTED] (Problems, email > > [EMAIL PROTECTED]). Lingo-L is for learning and helping > > with programming Lingo. Thanks!] > > > > > [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
