LSL-Editor
|
|
Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
|
05-06-2007 04:12
For people new to the project. http://www.lsleditor.org/ LSL-Editor is a standalone Windows LSL script editor (and compiler), featuring: - Code highlighting
- Code auto completion (Like Visual Studio)
- Code editing ( Copy / Cut / Paste / Undo / Clipboard function)
- Tooltip on every keyword (using LSL guide)
- Auto-indent (using tabs)
- F1 , turns up the www.LSLwiki.NET information on a selected keyword
- F5 , experimental compiling and execution (LSLscript -> C#) makes debugging LSL-script a lot easier.
- Printing
- You don't have to install (!) the program, unzip en use it.
Windows XP , Windows 2000 - .NET has to be installed
- Currently LSL-Editor is a .NET 2.x version
|
|
tre Zobel
Registered User
Join date: 21 Jan 2006
Posts: 55
|
05-06-2007 11:00
Personally, I like Scite better, but this is sure a close second!
|
|
CharlyM3 Foden
Registered User
Join date: 17 Mar 2007
Posts: 1
|
05-10-2007 14:25
Dude, you rock, I love this editor I can compile and execute you deserve a big cold keg of beer.
|
|
Speon Beerbaum
Registered User
Join date: 29 Mar 2007
Posts: 11
|
05-11-2007 05:12
pretty cool thing! but's very confusing, that "normal" code has the same color as the comments (orange). hard to read in my oppinion.  I'd prefer black for the normal code.
|
|
Napoleon Aridian
Registered User
Join date: 3 May 2006
Posts: 6
|
05-15-2007 17:18
This prog wouldnt work on either of my computers. One has vista business, the other XP Pro with SP2
Nappy
|
|
Ronin DeVinna
Registered User
Join date: 13 Mar 2007
Posts: 17
|
05-17-2007 03:17
From: Napoleon Aridian This prog wouldnt work on either of my computers. One has vista business, the other XP Pro with SP2
Nappy Must something wrong...i have XP sp2 and works fine. Do you have the FrameWork installed ?
|
|
Napoleon Aridian
Registered User
Join date: 3 May 2006
Posts: 6
|
05-17-2007 03:27
From: Ronin DeVinna Must something wrong...i have XP sp2 and works fine. Do you have the FrameWork installed ? I have every update that microsoft have released to date. Nappy
|
|
Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
|
.NET 2.x framework has to be installed
05-20-2007 14:44
Hello all, For running lsleditor (and a lot of other .NET programs out there) The .NET framework has to be installed. It is not installed using Microsoft regular updates. You have to download and install it yourself. Thanks to google: http://www.google.com/search?q=.net+2+framework&rls=com.microsoft:en-US Have fun. -Alphons.
|
|
Napoleon Aridian
Registered User
Join date: 3 May 2006
Posts: 6
|
05-20-2007 15:40
Sorry but thats crap. I am an IT engineer, and I can catagorically tell you that it is installed through windows updates. most people dont bother looking at what updates are being installed, either because they cant be bothered, or because they have their autoupdates install it all and prompt you to reboot. The .NET Framework version 2 is not even part of windows XP Service pack 2. Windows Vista has it built in. I know for a fact that my XP machine has versions, 1, 2 and 3 installed because I make sure I know every single update installed. Do your homeowrk before telling me you have to install the .NET Framework manually. Nappy
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
05-20-2007 15:48
yea ive done windows update like 5 times in the last 2 days its installed but you have to go tru the custom options where you select all the updates
if you do the crappy express update you will only get a handfull of critical security patches and be sent on your way
i dont know about automatic updates, since i dont use them (it always seems to install the same 3 things and take 45 min on shutdown)
|
|
Napoleon Aridian
Registered User
Join date: 3 May 2006
Posts: 6
|
05-20-2007 16:34
With automatic updates, it will install everythying, not just the critical and security updates. I install about 50 new computers a week and tho I do custom on new ones, with servers, I install updates when it says they are ready for install. And once they are done, I check on custom and make sure there are none left, most of the time they are all installed.
Napy
|
|
Dnali Anabuki
Still Crazy
Join date: 17 Oct 2006
Posts: 1,633
|
05-20-2007 18:14
From: Napoleon Aridian Sorry but thats crap. I am an IT engineer, and I can catagorically tell you that it is installed through windows updates. most people dont bother looking at what updates are being installed, either because they cant be bothered, or because they have their autoupdates install it all and prompt you to reboot. The .NET Framework version 2 is not even part of windows XP Service pack 2. Windows Vista has it built in. I know for a fact that my XP machine has versions, 1, 2 and 3 installed because I make sure I know every single update installed.
Do your homeowrk before telling me you have to install the .NET Framework manually.
Nappy I had to install mine manually (XP SP2). I wished it had been an auto update but it wasn't. I wonder if its different in different locations. I'm on auto update/auto install too.
|
|
Napoleon Aridian
Registered User
Join date: 3 May 2006
Posts: 6
|
05-20-2007 23:11
From: Dnali Anabuki I had to install mine manually (XP SP2). I wished it had been an auto update but it wasn't. I wonder if its different in different locations. I'm on auto update/auto install too. I dont think it matters on location because all the updates are obtained from the same place. Are you running windows XP Home? that is the only thing I and think of. Tho I cant see why microsoft would have made that difference. Mind you, this is microsoft we are talking about. I could be wrong about the auto download/Install doing all the updates. I never use that setting because I like to see what updates are being installed. So when I get notified of updates, I click on custom on the dialog box to look at them. At that point, I get to choose which ones dont get installed. The only one I didnt install for a while was IE7 and RDP version 6 Nappy
|
|
Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
|
05-21-2007 07:06
Hey Nappy, stay cool. I was trying to help  . Thats the purpose of this forum, isn't it? I know Microsoft has two major ways to get updated. By the simple "Windows Update" function. This installs more or less only the critical security updates on the OS. Not optional components like media-player and stuff. The other way is via "Microsoft Update". There are many ways to get the framework. If you ever installed .NET 1.x it always will do ask/install updates. The security updates are always installed by automatic update. Even on a illegal Win installation Microsoft installs "critical updates". I have tested lsleditor myself on Win-XP MCE, Win-XP prof, Win-2k, Win2k3. (All legal win installs) A lot of other people don't have problems so that gives me confidence there is something small i did wrong...... Back to your problem: I have no clue why the program will not start on your two (or more) computers. Does it crash on startup? Are there any error messages at all? If the framework is installed, maybe you can try to download "filemon" from sysinternals, as an IT enigneer, i think you know the program. Maybe some security issues on files. The latest version, does not use the registry anymore, maybe some rights-protection issue, it could solve the problem, try it. If we work together, we can tame the beast  thanx for your effort. -Alphons.
|
|
Napoleon Aridian
Registered User
Join date: 3 May 2006
Posts: 6
|
05-21-2007 08:38
Sorry about that fella.
I am still getting used to vista so im not so fussed about that part. As for Win XP Pro with SP2 and soon, SP3 I dont get it.
I dont know how many people install the microsoft update Active X control, but I always. Maybe this is why when I install PC's I get any and all updates on automatic updates. Microsoft Update is not the same as Windows Update.
Both computers crash upon opening with the error, This program has caused a problem and needs to close. The typical error you see when a program decides it dont wonna work now more.
I have looked and at permissions, and as I am an administrator, I dont get it. I also have my own small business server 2003 of which I am a member of the Domain Admins group.
Oh well, it dont matter too much. Maybe the file downloaded in a corrupt state. I will try and download it again.
Thanks for helping and once again, sorry for snapping.
Nappy
|
|
Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
|
05-22-2007 12:58
No problem As a bonus i have improved code-completion a lot.... just get the latest version at http://www.lsleditor.org have fun. -A.
|
|
Azadine Umarov
Registered User
Join date: 7 Apr 2007
Posts: 31
|
05-22-2007 15:36
From: Napoleon Aridian Sorry but thats crap. I am an IT engineer, and I can catagorically tell you that it is installed through windows updates. most people dont bother looking at what updates are being installed, either because they cant be bothered, or because they have their autoupdates install it all and prompt you to reboot. The .NET Framework version 2 is not even part of windows XP Service pack 2. Windows Vista has it built in. I know for a fact that my XP machine has versions, 1, 2 and 3 installed because I make sure I know every single update installed.
Do your homeowrk before telling me you have to install the .NET Framework manually.
Nappy It's the joy of Windows. For a long time I intentionally blocked .NET updates (no, I finally enabled them a year or two ago) but when it first tried to install I could see little use for .NET on a standalone machine. XP ran slow enough as it was, to my tastes, so I was fairly selective about adding bloatware when it came along, and generally refused to enable the auto-updates for similar reasons. Also, I wondered if it wasn't a perfect entry point for multiple virus exploits. So there are cases where someone may very well need to install the .NET Framework more or less "manually." Granted, I don't actually take my hands and plug the framework into the OS with them. if that's what you meant. Those so affected are probably far from a majority, or even a significant minority, but it does happen. But thanks for drawing attention to the fact that MOST installations will already have .NET installed, IF they allow Microsoft to blindly update their systems. Meanwhile, right now, I need to do something to fix a corrupted installation of MS's SQL Server. Probably not entirely unrelated... who knows?
|
|
Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
|
Release 2.2
05-26-2007 10:49
Just released LSL-Editor 2.2 Al lot of bugs fixed, and improved userinterface. http://www.lsleditor.org/ best regards. -Alphons.
|
|
DylanCharles Babenco
Registered User
Join date: 25 Feb 2007
Posts: 6
|
Fantastic Little Tool
05-30-2007 08:57
Ive been playing around with this little tool for a couple of days now, and decided to view the forum entries for this script editor.
Im sorry, but why are most of the posts about .NET and how windows updates work. Should there not be some feedback about the actual application itself.
Regards
Dylan
|
|
Lyn Mimistrobell
(waiting)
Join date: 11 Jan 2007
Posts: 179
|
05-30-2007 12:46
I agree - so here goes  Actually I think the editor is pretty cool and the debugging rocks! Ofcourse, in an effort to participate, I have a few comments: Bugs: * Even with the "use 4 spaces for indenting" checked, it indents in steps of 6 spaces. * llStopAnimation will accept a key, the debug tells me I have an error. * On this line of code, I get an error "Newline in constant" from the debugger (and it stops debugging), it points to the "//"... if (queryData != "" && llSubStringIndex(queryData, "//"  == -1) * If you select text at the start of a line and copy & paste, it adds a newline after the pasted text. * These errors are incorrect, the operator IS allowed: Operator '-' cannot be applied to operands of type 'rotation' and 'rotation' Operator '/' cannot be applied to operands of type 'rotation' and 'rotation' * This error occurs when I have vector * vector: Cannot implicitly convert type 'double' to 'vector' Wishlist: * Add the current line/column somewhere and add a ruler to the top or bottom? In debugging it'll tell me what column the error is but I have to count manually. * Add a "goto line/column" command (popup a inputbox and enter a line and/or column, then jump) to help debugging. * Add Ctrl+F4 to close the current document or browser window. * Add an option to open the wiki in a separate browser instead of a tab or window inside the editor. Don't let this fool you - I really do like the editor and I'm gonna use it instead of the editor I was previously using. Lyn
|
|
Dopel Dollinger
Registered User
Join date: 25 May 2007
Posts: 14
|
05-31-2007 06:44
LSLEditor is a very nice tool! Thank you for build it. There are two minor things I have noticed:
param = llGetPos(); param = param + <0,-.5,0>; llSetPos(param); llSleep(1);
1. Sleep command is ignored by debugger. Was it dont on purpose? This could be a good thing.
2. The above code runs successfully in the debugger, but when actually run from SL, It does not run correctly. I am doing this in an attach() event. I am new to lsl, so it is probably my ignorance causeing the problem.
|
|
Alphons Jano
Dancer
Join date: 27 Sep 2006
Posts: 121
|
05-31-2007 14:59
Hello all, Thanks for the remarks. I'm working on the editor daily so hit the update button a lot. Sometimes a bug is fixed before it was noticed. The indenting bug was fixed today. As a bonus, i added: - llSleep - Editor Goto Line (Ctrl-G) - Ctrl-F4 closes active window/tab - Editor option Wiki-pages in Seperate browser. llStopAnimation eats a string, however SL keys are strings they tell me. So you are absolutely right, it is a bug in the editor. At this moment i can only offer an explicit cast. For example: llStopAnimation((string)somekey); The parser has a problem when // characters are between quotes. This is a bug. The select/copy/paste thing don't know if there is a problem, to me, it acts like notepad. Be carefull selecting the last character. There is the newline character. Operators (on roations and vectors for example, but also others) are not all implemented. I have to get my old mathematical school books for them. Those books are hidden in a very dark, dusty place....  lol. At the moment piece by piece code is implemented. Some things have higher prio than others. In the beginning there was nothing. Now we have something to work on. Have fun. -Alphons.
|
|
Lyn Mimistrobell
(waiting)
Join date: 11 Jan 2007
Posts: 179
|
06-01-2007 05:54
Alphons, thanks for the quick update. I think you should run LL  I'm not on my normal computer so can't test the update but looking forward to the fix and new features. Re the select/copy/paste: it's not a newline thing... Suppose you have this in the editor: integer something = 5; Select "integer" and press Ctrl+C and Ctrl+V. It'll add a newline after the r, placing " something = 5;" on the next line. I came across it when I typed "1234567890" then selected/copied/pasted (to create a ruler line). True it's not a major bug but I thought I'd mention and (in this case) explain it... Either way... tyvm for the new features, it's very much appreciated. Lyn
|
|
Dopel Dollinger
Registered User
Join date: 25 May 2007
Posts: 14
|
06-01-2007 06:05
Lyn, this might be a local issue for you. I tried to reproduce this and it pastes as I would expect.
|
|
Geoff Gavaskar
who, me?
Join date: 29 Dec 2005
Posts: 21
|
06-01-2007 12:48
Soweet! Ok, this needs a little fix... 1. Press CTRL-G and enter the line number you want...but the [ENTER] key doesn't submit the form 2. the at_target event isn't supported yet... 3. vectors with floats defined like this aren't supported: < 0., 0., 0. > Keep up the great work!
_____________________
"what a waste it is to lose one's mind or not to have a mind is being very wasteful. How true that is." -Dan Quayle
|